WebMapViewer.MapType
From Xojo Documentation
Property (As Integer )
aWebMapViewer.MapType = newIntegerValue
or
IntegerValue = aWebMapViewer.MapType
New in 2011r2
Supported for all project types and targets.
or
IntegerValue = aWebMapViewer.MapType
New in 2011r2
Supported for all project types and targets.
Sets or gets the type of map being displayed.
Notes
See the Type constants below for possible values.
Class Constant |
---|
TypeRoadmap As Integer = 0 |
TypeSatellite As Integer = 1 |
TypeHybrid As Integer = 2 |
TypeTerrain As Integer = 3 |
When the app is running, a widget appears in the top-right corner of the map that enables the user to change the setting to any of the four values.
Example
Change the map type to a road map:
Me.MapType = WebMapViewer.TypeRoadmap