Press on the image to return to the main documentation page.
GoogleMapsExtras
Written by Martin Pearman
GoogleMapsExtras is an ongoing project to implement more of the Google Maps Android v2 classes in Basic4Android.
List of types:
BitmapDescriptor
BitmapDescriptorFactory
CameraUpdate
CameraUpdateFactory
CancelableCallback
Circle
CircleOptions
CustomLocationSource
CustomTileProvider
CustomUrlTileProvider
GoogleMapsExtras
GroundOverlay
GroundOverlayOptions
InfoWindowAdapter
LatLngBounds
LatLngBoundsBuilder
MarkerExtras
MarkerOptions
OnInfoWindowClickListener
OnLocationChangedListener
OnMapLoadedCallback
OnMarkerDragListener
OnMyLocationButtonClickListener
OnMyLocationChangeListener
Point
Polygon
PolygonOptions
PolylineOptions
Projection
StreetViewPanorama
StreetViewPanoramaCamera
StreetViewPanoramaCameraBuilder
StreetViewPanoramaLink
StreetViewPanoramaLocation
StreetViewPanoramaOptions
StreetViewPanoramaOrientation
StreetViewPanoramaOrientationBuilder
StreetViewPanoramaView
StreetViewPanoramaViewActivity
Tile
TileOverlay
TileOverlayOptions
UrlTileProvider
VisibleRegion
BitmapDescriptor
Events:
None
Members:
IsInitialized
As
Boolean
Members description:
IsInitialized
As
Boolean
BitmapDescriptorFactory
Events:
None
Members:
DefaultMarker
As
BitmapDescriptor
DefaultMarker2
(
Hue
As
Float
)
As
BitmapDescriptor
FromAsset
(
AssetName
As
String
)
As
BitmapDescriptor
FromBitmap
(
Bitmap1
As
android
.
graphics
.
Bitmap
)
As
BitmapDescriptor
FromFile
(
Filename
As
String
)
As
BitmapDescriptor
FromPath
(
AbsolutePath
As
String
)
As
BitmapDescriptor
FromResource
(
ResourceId
As
Int
)
As
BitmapDescriptor
HUE_AZURE
As
Float
HUE_BLUE
As
Float
HUE_CYAN
As
Float
HUE_GREEN
As
Float
HUE_MAGENTA
As
Float
HUE_ORANGE
As
Float
HUE_RED
As
Float
HUE_ROSE
As
Float
HUE_VIOLET
As
Float
HUE_YELLOW
As
Float
Members description:
DefaultMarker
As
BitmapDescriptor
Creates a BitmapDescriptor that refers to the default marker image.
DefaultMarker2
(
Hue
As
Float
)
As
BitmapDescriptor
Creates a BitmapDescriptor that refers to a colorization of the default marker image.
FromAsset
(
AssetName
As
String
)
As
BitmapDescriptor
Creates a BitmapDescriptor using the name of an image in the assets directory.
FromBitmap
(
Bitmap1
As
android
.
graphics
.
Bitmap
)
As
BitmapDescriptor
Creates a BitmapDescriptor from a given Bitmap.
FromFile
(
Filename
As
String
)
As
BitmapDescriptor
Creates a BitmapDescriptor using the name of an image file located in the internal storage.
FromPath
(
AbsolutePath
As
String
)
As
BitmapDescriptor
Creates a BitmapDescriptor from an absolute file path.
FromResource
(
ResourceId
As
Int
)
As
BitmapDescriptor
Creates a BitmapDescriptor using the resource id of an image.
HUE_AZURE
As
Float
HUE_BLUE
As
Float
HUE_CYAN
As
Float
HUE_GREEN
As
Float
HUE_MAGENTA
As
Float
HUE_ORANGE
As
Float
HUE_RED
As
Float
HUE_ROSE
As
Float
HUE_VIOLET
As
Float
HUE_YELLOW
As
Float
CameraUpdate
Events:
None
Members:
IsInitialized
As
Boolean
Members description:
IsInitialized
As
Boolean
CameraUpdateFactory
Events:
None
Members:
NewCameraPosition
(
CameraPosition1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
CameraPosition
)
As
CameraUpdate
NewLatLng
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
CameraUpdate
NewLatLngBounds
(
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
,
Padding
As
Int
)
As
CameraUpdate
NewLatLngBounds2
(
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
,
Width
As
Int
,
Height
As
Int
,
Padding
As
Int
)
As
CameraUpdate
NewLatLngZoom
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Zoom
As
Float
)
As
CameraUpdate
ScrollBy
(
XPixel
As
Float
,
YPixel
As
Float
)
As
CameraUpdate
ZoomBy
(
Amount
As
Float
,
Point1
As
android
.
graphics
.
Point
)
As
CameraUpdate
ZoomBy2
(
Amount
As
Float
)
As
CameraUpdate
ZoomIn
As
CameraUpdate
ZoomOut
As
CameraUpdate
ZoomTo
(
ZoomLevel
As
Float
)
As
CameraUpdate
Members description:
NewCameraPosition
(
CameraPosition1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
CameraPosition
)
As
CameraUpdate
NewLatLng
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
CameraUpdate
NewLatLngBounds
(
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
,
Padding
As
Int
)
As
CameraUpdate
NewLatLngBounds2
(
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
,
Width
As
Int
,
Height
As
Int
,
Padding
As
Int
)
As
CameraUpdate
NewLatLngZoom
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Zoom
As
Float
)
As
CameraUpdate
ScrollBy
(
XPixel
As
Float
,
YPixel
As
Float
)
As
CameraUpdate
ZoomBy
(
Amount
As
Float
,
Point1
As
android
.
graphics
.
Point
)
As
CameraUpdate
ZoomBy2
(
Amount
As
Float
)
As
CameraUpdate
ZoomIn
As
CameraUpdate
ZoomOut
As
CameraUpdate
ZoomTo
(
ZoomLevel
As
Float
)
As
CameraUpdate
CancelableCallback
Events:
Cancel
Finish
Members:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Members description:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Circle
Events:
None
Members:
Center
As
LatLngWrapper
FillColor
As
Int
Id
As
String
[read
only]
IsInitialized
As
Boolean
Radius
As
Double
Remove
StrokeColor
As
Int
StrokeWidth
As
Float
Visible
As
Boolean
ZIndex
As
Float
Members description:
Center
As
LatLngWrapper
Get or Set the Circle center.
FillColor
As
Int
Get or Set the Circle fill color.
Id
As
String
[read
only]
Get the Circle Id.
IsInitialized
As
Boolean
Radius
As
Double
Get or Set the Circle radius in meters.
Remove
Remove the Circle from the map.
StrokeColor
As
Int
Get or Set the Circle stroke color.
StrokeWidth
As
Float
Get or Set the Circle stroke width.
Visible
As
Boolean
ZIndex
As
Float
Get or Set the Circle ZIndex.
CircleOptions
Events:
None
Members:
Center
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
CircleOptions
Center2
(
Latitude
As
Double
,
Longitude
As
Double
)
As
CircleOptions
FillColor
(
FillColor
As
Int
)
As
CircleOptions
GetCenter
As
LatLngWrapper
GetFillColor
As
Int
GetRadius
As
Double
GetStrokeColor
As
Int
GetStrokeWidth
As
Float
GetZIndex
As
Float
Initialize
IsInitialized
As
Boolean
IsVisible
As
Boolean
Radius
(
Radius
As
Double
)
As
CircleOptions
StrokeColor
(
StrokeColor
As
Int
)
As
CircleOptions
StrokeWidth
(
StrokeWidth
As
Float
)
As
CircleOptions
Visible
(
Visible
As
Boolean
)
As
CircleOptions
ZIndex
(
ZIndex
As
Float
)
As
CircleOptions
Members description:
Center
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
CircleOptions
Sets the center using a LatLng.
Center2
(
Latitude
As
Double
,
Longitude
As
Double
)
As
CircleOptions
Sets the center using latitude and longitude.
FillColor
(
FillColor
As
Int
)
As
CircleOptions
Sets the fill color.
GetCenter
As
LatLngWrapper
Gets the center as a LatLng.
GetFillColor
As
Int
Gets the fill color.
GetRadius
As
Double
Gets the radius in meters.
GetStrokeColor
As
Int
Gets the stroke color.
GetStrokeWidth
As
Float
Gets the stroke width.
GetZIndex
As
Float
Gets the ZIndex.
Initialize
Creates a new CircleOptions.
IsInitialized
As
Boolean
IsVisible
As
Boolean
Gets the visibility of this circle.
Radius
(
Radius
As
Double
)
As
CircleOptions
Sets the radius in meters.
StrokeColor
(
StrokeColor
As
Int
)
As
CircleOptions
Sets the stroke color.
StrokeWidth
(
StrokeWidth
As
Float
)
As
CircleOptions
Sets the stroke width.
Visible
(
Visible
As
Boolean
)
As
CircleOptions
Sets the visibility.
ZIndex
(
ZIndex
As
Float
)
As
CircleOptions
Sets the ZIndex.
CustomLocationSource
Events:
Activate(OnLocationChangedListener1 As OnLocationChangedListener)
Deactivate
Members:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Members description:
Initialize
(
EventName
As
String
)
Initialize the CustomLocationSource.
Raises the events:
Activate(OnLocationChangedListener1 As OnLocationChangedListener)
The CustomLocationSource has been activated.
OnLocationChangedListener1's OnLocationChanged(Location1 As Location) method should be called each time a new Location is available.
Deactivate
The CustomLocationSource has been deactivated.
No further calls to OnLocationChangedListener1's OnLocationChanged(Location1 As Location) method should be made.
IsInitialized
As
Boolean
CustomTileProvider
Events:
None
Members:
Initialize
(
ClassInstance
As
Object
,
SubName
As
String
)
IsInitialized
As
Boolean
NO_TILE
As
Tile
Members description:
Initialize
(
ClassInstance
As
Object
,
SubName
As
String
)
Initialize the CustomTileProvider.
When the CustomTileProvider requires a Tile it uses Reflection to call a b4a Sub, the b4a Sub must return a Tile object.
ClassInstance - The module that contains the Sub that will return a Tile object.
SubName - The name of the Sub that will return a Tile object.
IsInitialized
As
Boolean
NO_TILE
As
Tile
CustomUrlTileProvider
Events:
GetTileUrl(TileX As Int, TileY As Int, Zoom As Int) As String
Members:
Initialize
(
EventName
As
String
,
Width
As
Int
,
Height
As
Int
)
IsInitialized
As
Boolean
Members description:
Initialize
(
EventName
As
String
,
Width
As
Int
,
Height
As
Int
)
Initialize the CustomUrlTileProvider.
Width - width of the images used for tiles.
Height - height of the images used for tiles.
The CustomUrlTileProvider raises the event:
GetTileUrl(TileX As Int, TileY As Int, Zoom As Int) As String
IsInitialized
As
Boolean
GoogleMapsExtras
Events:
SnapshotReady(Bitmap1 As Bitmap)
Members:
AddCircle
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CircleOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
CircleOptions
)
As
Circle
AddGroundOverlay
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
GroundOverlayOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
GroundOverlayOptions
)
As
GroundOverlay
AddMarker
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
MarkerOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
MarkerOptions
)
As
MarkerWrapper
AddPolygon
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
PolygonOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
PolygonOptions
)
As
Polygon
AddPolyline
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
PolylineOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
PolylineOptions
)
As
PolylineWrapper
AddTileOverlay
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
TileOverlayOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
TileOverlayOptions
)
As
TileOverlay
AnimateCamera
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CameraUpdate1
As
com
.
google
.
android
.
gms
.
maps
.
CameraUpdate
)
AnimateCamera2
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CameraUpdate1
As
com
.
google
.
android
.
gms
.
maps
.
CameraUpdate
,
CancelableCallback1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
CancelableCallback
)
AnimateCamera3
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CameraUpdate1
As
com
.
google
.
android
.
gms
.
maps
.
CameraUpdate
,
DurationMs
As
Int
,
CancelableCallback1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
CancelableCallback
)
AnimateToBounds
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
,
Padding
As
Int
)
AnimateToBounds2
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
,
Width
As
Int
,
Height
As
Int
,
Padding
As
Int
)
GetMaxZoomLevel
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Float
GetMinZoomLevel
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Float
GetProjection
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Projection
IsIndoorEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Boolean
IsTrafficEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Boolean
MoveCamera
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CameraUpdate1
As
com
.
google
.
android
.
gms
.
maps
.
CameraUpdate
)
SetBuildingsEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
Enabled
As
Boolean
)
SetIndoorEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
Enabled
As
Boolean
)
As
Boolean
SetInfoWindowAdapter
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
InfoWindowAdapter1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
InfoWindowAdapter
)
SetLocationSource
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
LocationSource1
As
com
.
google
.
android
.
gms
.
maps
.
LocationSource
)
SetOnInfoWindowClickListener
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnInfoWindowClickListener1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnInfoWindowClickListener
)
SetOnMapLoadedCallback
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnMapLoadedCallback1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnMapLoadedCallback
)
SetOnMarkerDragListener
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnMarkerDragListener1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnMarkerDragListener
)
SetOnMyLocationButtonClickListener
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnMyLocationButtonClickListener
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnMyLocationButtonClickListener
)
SetOnMyLocationChangeListener
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnMyLocationChangeListener1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnMyLocationChangeListener
)
SetPadding
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
Left
As
Int
,
Top
As
Int
,
Right
As
Int
,
Bottom
As
Int
)
SetTrafficEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
Enabled
As
Boolean
)
Snapshot
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
EventName
As
String
)
StopAnimation
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
Members description:
AddCircle
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CircleOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
CircleOptions
)
As
Circle
Adds a circle to the map.
AddGroundOverlay
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
GroundOverlayOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
GroundOverlayOptions
)
As
GroundOverlay
AddMarker
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
MarkerOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
MarkerOptions
)
As
MarkerWrapper
Adds a Marker to the map.
This method uses a MarkerOptions object to create a Marker.
AddPolygon
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
PolygonOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
PolygonOptions
)
As
Polygon
Adds a polygon to the map.
AddPolyline
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
PolylineOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
PolylineOptions
)
As
PolylineWrapper
Adds a polyline to the map.
This method uses a PolylineOptions object to create a Polyline.
AddTileOverlay
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
TileOverlayOptions1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
TileOverlayOptions
)
As
TileOverlay
Adds a tile overlay to the map.
AnimateCamera
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CameraUpdate1
As
com
.
google
.
android
.
gms
.
maps
.
CameraUpdate
)
Animates the movement of the camera from the current position to the position defined in the CameraUpdate1.
AnimateCamera2
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CameraUpdate1
As
com
.
google
.
android
.
gms
.
maps
.
CameraUpdate
,
CancelableCallback1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
CancelableCallback
)
Animates the movement of the camera from the current position to the position defined in the CameraUpdate1.
Raising the CancelableCallback Cancel or Finish event on termination or completion.
Pass Null as the CancelableCallback if not required.
AnimateCamera3
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CameraUpdate1
As
com
.
google
.
android
.
gms
.
maps
.
CameraUpdate
,
DurationMs
As
Int
,
CancelableCallback1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
CancelableCallback
)
Animates the movement of the camera from the current position to the position defined in the CameraUpdate1 over the specified duration.
Raising the CancelableCallback Cancel or Finish event on termination or completion.
Pass Null as the CancelableCallback if not required.
AnimateToBounds
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
,
Padding
As
Int
)
Adjust and animate the map center and zoom level so that it fully contains the LatLngBounds.
Padding is defined in units of pixels.
This method is deprecated, instead use the CameraUpdateFactory and CameraUpdate objects and the AnimateCamera method.
AnimateToBounds2
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
,
Width
As
Int
,
Height
As
Int
,
Padding
As
Int
)
Adjust and animate the map center and zoom level so that it fully contains the LatLngBounds.
Padding is defined in units of pixels.
Width and Height should define the dimensions of the GoogleMap.
This method is deprecated, instead use the CameraUpdateFactory and CameraUpdate objects and the AnimateCamera method.
GetMaxZoomLevel
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Float
Returns the maximum zoom level for the current camera position.
This takes into account what map type is currently being used, e.g., satellite or terrain may have a lower max zoom level than the base map tiles.
GetMinZoomLevel
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Float
Returns the minimum zoom level.
This is the same for every location (unlike the maximum zoom level) but may vary between devices and map sizes.
GetProjection
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Projection
Returns a Projection object that you can use to convert between screen coordinates and latitude/longitude coordinates.
IsIndoorEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Boolean
Returns whether indoor maps are currently enabled.
IsTrafficEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
As
Boolean
Returns whether the map is drawing traffic data.
MoveCamera
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
CameraUpdate1
As
com
.
google
.
android
.
gms
.
maps
.
CameraUpdate
)
Moves the camera from the current position to the position defined in the CameraUpdate1.
SetBuildingsEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
Enabled
As
Boolean
)
Turns the 3D buildings layer on or off.
SetIndoorEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
Enabled
As
Boolean
)
As
Boolean
Sets whether indoor maps should be enabled.
SetInfoWindowAdapter
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
InfoWindowAdapter1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
InfoWindowAdapter
)
Sets a custom renderer for the contents of infowindows.
To unset the custom renderer use Null.
SetLocationSource
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
LocationSource1
As
com
.
google
.
android
.
gms
.
maps
.
LocationSource
)
Replaces the default location source of the MyLocation layer.
Pass Null to restore the default location source.
SetOnInfoWindowClickListener
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnInfoWindowClickListener1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnInfoWindowClickListener
)
Sets a callback that's invoked when an infowindow is clicked.
To unset the callback use Null.
SetOnMapLoadedCallback
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnMapLoadedCallback1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnMapLoadedCallback
)
Sets a callback that's invoked when the map has finished rendering.
SetOnMarkerDragListener
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnMarkerDragListener1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnMarkerDragListener
)
Sets a callback that's invoked when a marker is dragged.
To unset the callback use Null.
SetOnMyLocationButtonClickListener
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnMyLocationButtonClickListener
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnMyLocationButtonClickListener
)
Sets a callback that's invoked when the my location button is clicked.
If the listener returns true, the event is consumed and the default behavior will not occur.
If it returns false, the default behavior will occur (i.e. The camera moves such that it is centered on the user location).
SetOnMyLocationChangeListener
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
OnMyLocationChangeListener1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
.
OnMyLocationChangeListener
)
Sets a callback that's invoked when the my location dot changes location.
To unset the callback use Null.
SetPadding
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
Left
As
Int
,
Top
As
Int
,
Right
As
Int
,
Bottom
As
Int
)
Sets padding on the map.
This method allows you to define a visible region on the map, to signal to the map that portions of the map around the edges may be obscured, by setting padding on each of the four edges of the map.
Map functions will be adapted to the padding.
For example, the zoom controls, compass, copyright notices and Google logo will be moved to fit inside the defined region, camera movements will be relative to the center of the visible region, etc.
SetTrafficEnabled
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
Enabled
As
Boolean
)
Toggles the traffic layer on or off.
Snapshot
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
,
EventName
As
String
)
Takes a snapshot of the map.
On completion raises the event SnapshotReady(Bitmap1 As Bitmap).
StopAnimation
(
GoogleMap1
As
com
.
google
.
android
.
gms
.
maps
.
GoogleMap
)
Stops the camera animation if there is one in progress.
When the method is called, the camera stops moving immediately and remains in that position.
GroundOverlay
Events:
None
Members:
Bearing
As
Float
Bounds
As
LatLngBounds
[read
only]
Height
As
Float
[read
only]
Id
As
String
[read
only]
Image
As
android
.
graphics
.
Bitmap
[write
only]
Image2
As
com
.
google
.
android
.
gms
.
maps
.
model
.
BitmapDescriptor
[write
only]
IsInitialized
As
Boolean
IsVisible
As
Boolean
Position
As
LatLngWrapper
PositionFromBounds
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
[write
only]
Remove
SetDimensions
(
Width
As
Float
)
SetDimensions2
(
Width
As
Float
,
Height
As
Float
)
Transparency
As
Float
Visible
As
Boolean
[write
only]
Width
As
Float
[read
only]
ZIndex
As
Float
Members description:
Bearing
As
Float
Bounds
As
LatLngBounds
[read
only]
Height
As
Float
[read
only]
Id
As
String
[read
only]
Image
As
android
.
graphics
.
Bitmap
[write
only]
Sets the image for the Ground Overlay using a Bitmap.
The new image will occupy the same bounds as the old image.
Image2
As
com
.
google
.
android
.
gms
.
maps
.
model
.
BitmapDescriptor
[write
only]
Sets the image for the Ground Overlay using a BitmapDescriptor.
The new image will occupy the same bounds as the old image.
IsInitialized
As
Boolean
IsVisible
As
Boolean
Position
As
LatLngWrapper
PositionFromBounds
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
[write
only]
Remove
SetDimensions
(
Width
As
Float
)
SetDimensions2
(
Width
As
Float
,
Height
As
Float
)
Transparency
As
Float
Visible
As
Boolean
[write
only]
Width
As
Float
[read
only]
ZIndex
As
Float
GroundOverlayOptions
Events:
None
Members:
Anchor
(
U
As
Float
,
V
As
Float
)
As
GroundOverlayOptions
AnchorU
As
Float
[read
only]
AnchorV
As
Float
[read
only]
Bounds
As
LatLngBounds
[read
only]
GetBearing
As
Float
GetTransparency
As
Float
GetZIndex
As
Float
Height
As
Float
[read
only]
Image
(
Bitmap1
As
android
.
graphics
.
Bitmap
)
As
GroundOverlayOptions
Image2
(
BitmapDescriptor1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
BitmapDescriptor
)
As
GroundOverlayOptions
Initialize
IsInitialized
As
Boolean
IsVisible
As
Boolean
Location
As
LatLngWrapper
[read
only]
Position
(
Position
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Width
As
Float
,
Height
As
Float
)
As
GroundOverlayOptions
Position2
(
Position
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Width
As
Float
)
As
GroundOverlayOptions
PositionFromBounds
(
Bounds
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
)
As
GroundOverlayOptions
SetBearing
(
Bearing
As
Float
)
As
GroundOverlayOptions
SetTransparency
(
Transparency
As
Float
)
As
GroundOverlayOptions
SetZIndex
(
ZIndex
As
Float
)
As
GroundOverlayOptions
Visible
(
Visible
As
Boolean
)
As
GroundOverlayOptions
Width
As
Float
[read
only]
Members description:
Anchor
(
U
As
Float
,
V
As
Float
)
As
GroundOverlayOptions
Specifies the anchor to be at a particular point in the image.
AnchorU
As
Float
[read
only]
Returns horizontal distance, normalized to [0, 1], of the anchor from the left edge.
AnchorV
As
Float
[read
only]
Returns vertical distance, normalized to [0, 1], of the anchor from the top edge.
Bounds
As
LatLngBounds
[read
only]
GetBearing
As
Float
GetTransparency
As
Float
GetZIndex
As
Float
Height
As
Float
[read
only]
Image
(
Bitmap1
As
android
.
graphics
.
Bitmap
)
As
GroundOverlayOptions
Specifies the image for this ground overlay using a Bitmap.
Image2
(
BitmapDescriptor1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
BitmapDescriptor
)
As
GroundOverlayOptions
Specifies the image for this ground overlay using a BitmapDescriptor.
Initialize
IsInitialized
As
Boolean
IsVisible
As
Boolean
Location
As
LatLngWrapper
[read
only]
Position
(
Position
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Width
As
Float
,
Height
As
Float
)
As
GroundOverlayOptions
Specifies the position for this ground overlay using an anchor point (a LatLng), width and height (both in meters).
Position2
(
Position
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Width
As
Float
)
As
GroundOverlayOptions
Specifies the position for this ground overlay using an anchor point (a LatLng) and the width (in meters).
PositionFromBounds
(
Bounds
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
)
As
GroundOverlayOptions
Specifies the position for this ground overlay.
SetBearing
(
Bearing
As
Float
)
As
GroundOverlayOptions
Specifies the bearing of the ground overlay in degrees clockwise from north.
SetTransparency
(
Transparency
As
Float
)
As
GroundOverlayOptions
Specifies the transparency of the ground overlay.
SetZIndex
(
ZIndex
As
Float
)
As
GroundOverlayOptions
Specifies the ground overlay's zIndex, i.e., the order in which it will be drawn.
Visible
(
Visible
As
Boolean
)
As
GroundOverlayOptions
Specifies the visibility for the ground overlay.
Width
As
Float
[read
only]
InfoWindowAdapter
Events:
GetInfoContents(Marker1 As Marker) As View
GetInfoWindow(Marker1 As Marker) As View
Members:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Members description:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
LatLngBounds
Events:
None
Members:
Center
As
LatLngWrapper
[read
only]
Contains
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
Boolean
Including
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
LatLngBounds
Initialize
(
SouthWest
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
NorthEast
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
IsInitialized
As
Boolean
NorthEast
As
LatLngWrapper
[read
only]
SouthWest
As
LatLngWrapper
[read
only]
Members description:
Center
As
LatLngWrapper
[read
only]
Returns the center of this LatLngBounds.
The center is simply the average of the coordinates (taking into account if it crosses the antimeridian).
This is approximately the geographical center (it would be exact if the Earth were a perfect sphere).
It will not necessarily be the center of the rectangle as drawn on the map due to the Mercator projection.
Contains
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
Boolean
Returns whether this LatLngBounds contains LatLng1.
Including
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
LatLngBounds
Returns a new LatLngBounds that extends this LatLngBounds to include the given LatLng.
Initialize
(
SouthWest
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
NorthEast
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
Initialize the LatLngBounds.
IsInitialized
As
Boolean
NorthEast
As
LatLngWrapper
[read
only]
Returns north-east corner of this LatLngBounds as a LatLng.
SouthWest
As
LatLngWrapper
[read
only]
Returns south-west corner of this LatLngBounds as a LatLng.
LatLngBoundsBuilder
Events:
None
Members:
Build
As
LatLngBounds
Include
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
LatLngBoundsBuilder
Initialize
IsInitialized
As
Boolean
Members description:
Build
As
LatLngBounds
Creates and returns the LatLngBounds.
Include
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
LatLngBoundsBuilder
Includes this point for building of the bounds.
The bounds will be extended in a minimum way to include this point.
https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/model/LatLngBounds.Builder
Initialize
IsInitialized
As
Boolean
MarkerExtras
Events:
None
Members:
GetAlpha
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
)
As
Float
GetId
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
)
As
String
GetRotation
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
)
As
Float
IsFlat
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
)
As
Boolean
SetAlpha
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
Alpha
As
Float
)
SetAnchor
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
U
As
Float
,
V
As
Float
)
SetFlat
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
Flat
As
Boolean
)
SetInfoWindowAnchor
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
U
As
Float
,
V
As
Float
)
SetRotation
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
Rotation
As
Float
)
Members description:
GetAlpha
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
)
As
Float
Gets the alpha of the marker.
GetId
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
)
As
String
Gets Marker1's Id.
GetRotation
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
)
As
Float
Gets the rotation of the Marker in degrees clockwise about the Marker's anchor point.
IsFlat
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
)
As
Boolean
Gets the flat setting for this Marker.
SetAlpha
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
Alpha
As
Float
)
Sets the alpha (opacity) of Marker1.
This is a value from 0 to 1, where 0 means the marker is completely transparent and 1 means the marker is completely opaque.
SetAnchor
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
U
As
Float
,
V
As
Float
)
Specifies the anchor to be at a particular point in the marker image.
SetFlat
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
Flat
As
Boolean
)
Sets whether this Marker should be flat against the map (True) or a billboard facing the camera (False).
SetInfoWindowAnchor
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
U
As
Float
,
V
As
Float
)
Specifies the point in the marker image at which to anchor the info window when it is displayed.
SetRotation
(
Marker1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
Marker
,
Rotation
As
Float
)
Sets the rotation of the marker in degrees clockwise about the marker's anchor point.
The axis of rotation is perpendicular to the marker.
A rotation of 0 corresponds to the default position of the marker.
MarkerOptions
Events:
None
Members:
Alpha
(
Alpha
As
Float
)
As
MarkerOptions
Anchor
(
U
As
Float
,
V
As
Float
)
As
MarkerOptions
Draggable
(
Draggable
As
Boolean
)
As
MarkerOptions
Flat
(
Flat
As
Boolean
)
As
MarkerOptions
GetAlpha
As
Float
GetAnchorU
As
Float
GetAnchorV
As
Float
GetIcon
As
BitmapDescriptor
GetInfoWindowAnchorU
As
Float
GetInfoWindowAnchorV
As
Float
GetPosition
As
LatLngWrapper
GetRotation
As
Float
GetSnippet
As
String
GetTitle
As
String
Icon
(
BitmapDescriptor1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
BitmapDescriptor
)
As
MarkerOptions
InfoWindowAnchor
(
U
As
Float
,
V
As
Float
)
As
MarkerOptions
Initialize
IsDraggable
As
Boolean
IsFlat
As
Boolean
IsInitialized
As
Boolean
IsVisible
As
Boolean
Position
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
MarkerOptions
Position2
(
Latitude
As
Double
,
Longitude
As
Double
)
As
MarkerOptions
Rotate
(
Rotation
As
Float
)
As
MarkerOptions
Snippet
(
Snippet
As
String
)
As
MarkerOptions
Title
(
Title
As
String
)
As
MarkerOptions
Visible
(
Visible
As
Boolean
)
As
MarkerOptions
Members description:
Alpha
(
Alpha
As
Float
)
As
MarkerOptions
Sets the alpha (opacity) of the marker.
This is a value from 0 to 1, where 0 means the marker is completely transparent and 1 means the marker is completely opaque.
Anchor
(
U
As
Float
,
V
As
Float
)
As
MarkerOptions
Specifies the anchor to be at a particular point in the marker image.
Draggable
(
Draggable
As
Boolean
)
As
MarkerOptions
Sets the draggability for the marker.
Flat
(
Flat
As
Boolean
)
As
MarkerOptions
Sets whether this Marker should be flat against the map (True) or a billboard facing the camera (False).
GetAlpha
As
Float
Gets the alpha that has been set for this MarkerOptions object.
GetAnchorU
As
Float
Horizontal distance, normalized to [0, 1], of the anchor from the left edge.
GetAnchorV
As
Float
Vertical distance, normalized to [0, 1], of the anchor from the top edge.
GetIcon
As
BitmapDescriptor
Gets the custom icon set for this MarkerOptions object.
GetInfoWindowAnchorU
As
Float
GetInfoWindowAnchorV
As
Float
GetPosition
As
LatLngWrapper
Returns the position set for this MarkerOptions object.
GetRotation
As
Float
Gets the rotation set for this MarkerOptions.
GetSnippet
As
String
Gets the snippet set for this MarkerOptions object.
GetTitle
As
String
Gets the title set for this MarkerOptions object.
Icon
(
BitmapDescriptor1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
BitmapDescriptor
)
As
MarkerOptions
Sets the icon for the marker.
InfoWindowAnchor
(
U
As
Float
,
V
As
Float
)
As
MarkerOptions
Specifies the anchor point of the info window on the marker image.
The default is the top middle of the image.
U - coordinate of the info window anchor, as a ratio of the image width (in the range [0, 1]).
V - coordinate of the info window anchor, as a ratio of the image height (in the range [0, 1]).
Initialize
Creates a new set of MarkerOptions.
IsDraggable
As
Boolean
Gets the draggability setting for this MarkerOptions object.
IsFlat
As
Boolean
Gets the flat setting for this MarkerOptions object.
IsInitialized
As
Boolean
IsVisible
As
Boolean
Gets the visibility setting for this MarkerOptions object.
Position
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
MarkerOptions
Sets the location for the marker using a LatLng.
Position2
(
Latitude
As
Double
,
Longitude
As
Double
)
As
MarkerOptions
Sets the location for the marker using latitude and longitude values.
Rotate
(
Rotation
As
Float
)
As
MarkerOptions
Snippet
(
Snippet
As
String
)
As
MarkerOptions
Sets the snippet for the marker.
Title
(
Title
As
String
)
As
MarkerOptions
Sets the title for the marker.
Visible
(
Visible
As
Boolean
)
As
MarkerOptions
Sets the visibility for the marker.
OnInfoWindowClickListener
This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Events:
Click(Marker1 As Marker)
Members:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Members description:
Initialize
(
EventName
As
String
)
Initialize the OnInfoWindowClickListener.
IsInitialized
As
Boolean
OnLocationChangedListener
Events:
None
Members:
IsInitialized
As
Boolean
OnLocationChanged
(
Location1
As
android
.
location
.
Location
)
Members description:
IsInitialized
As
Boolean
OnLocationChanged
(
Location1
As
android
.
location
.
Location
)
Passes a Location to the CustomLocationSource.
The Location must be initialized and not null.
OnMapLoadedCallback
Events:
MapLoaded
Members:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Members description:
Initialize
(
EventName
As
String
)
Initialize the OnMapLoadedCallback object.
The MapLoaded event will be raised when the map has finished rendering.
This occurs after all tiles required to render the map have been fetched, and all labelling is complete.
This event will not be raised if the map never loads due to connectivity issues,
or if the map is continuously changing and never completes loading due to the user constantly interacting with the map.
This event will only be raised once. You must request another callback if you want to be notified again.
IsInitialized
As
Boolean
OnMarkerDragListener
This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Events:
Drag(Marker1 As Marker)
DragEnd(Marker1 As Marker)
DragStart(Marker1 As Marker)
Members:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Members description:
Initialize
(
EventName
As
String
)
Initialize the OnMarkerDragListener.
IsInitialized
As
Boolean
OnMyLocationButtonClickListener
Events:
MyLocationButtonClick As Boolean
Members:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Members description:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
OnMyLocationChangeListener
Events:
MyLocationChange(Location1 As Location)
Members:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Members description:
Initialize
(
EventName
As
String
)
IsInitialized
As
Boolean
Point
Events:
None
Members:
Initialize
(
X
As
Int
,
Y
As
Int
)
IsInitialized
As
Boolean
Negate
Offset
(
Dx
As
Int
,
Dy
As
Int
)
Set
(
X
As
Int
,
Y
As
Int
)
X
As
Int
[read
only]
Y
As
Int
[read
only]
Members description:
Initialize
(
X
As
Int
,
Y
As
Int
)
IsInitialized
As
Boolean
Negate
Negate the point's coordinates.
Offset
(
Dx
As
Int
,
Dy
As
Int
)
Offset the point's coordinates by Dx, Dy.
Set
(
X
As
Int
,
Y
As
Int
)
Set the point's X and Y coordinates .
X
As
Int
[read
only]
Y
As
Int
[read
only]
Polygon
Events:
None
Members:
FillColor
As
Int
Geodesic
As
Boolean
Holes
As
List
IsInitialized
As
Boolean
Points
As
List
Remove
StrokeColor
As
Int
StrokeWidth
As
Float
Visible
As
Boolean
ZIndex
As
Float
Members description:
FillColor
As
Int
Get or Set the fill color of this polygon.
Geodesic
As
Boolean
Get or Set whether the line segments are geodesic lines (shortest path on the earth surface) or straight lines.
The default value is False.
Holes
As
List
Get or Set the holes of this polygon.
Setting this property will take a copy of the holes, so further mutations to holes will have no effect on this polygon.
Holes should be set using a List that contains a List of LatLng objects for each hole.
IsInitialized
As
Boolean
Points
As
List
Get or Set the list of points that build the polyline.
To Add vertices to the outline of the polygon being built, the vertices must be added in counterclockwise order.
The list should hold objects of type LatLng.
Remove
Remove this polygon from the map.
StrokeColor
As
Int
Get or Set the stroke color of this polygon.
StrokeWidth
As
Float
Get or Set the stroke width of this polygon.
Visible
As
Boolean
Get or Set the visibility of this polygon.
ZIndex
As
Float
Get or Set the ZIndex of this polygon.
PolygonOptions
Events:
None
Members:
AddHole
(
Hole
As
List
)
AddPoint
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
AddPoints
(
LatLngs
As
List
)
FillColor
As
Int
Geodesic
As
Boolean
Holes
As
List
[read
only]
Initialize
IsInitialized
As
Boolean
Points
As
List
[read
only]
StrokeColor
As
Int
StrokeWidth
As
Float
Visible
As
Boolean
ZIndex
As
Float
Members description:
AddHole
(
Hole
As
List
)
Adds a hole to the polygon being built.
The vertices of the hole must be in counterclockwise order.
Hole should be a List of LatLng objects.
AddPoint
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
Adds a vertex to the outline of the polygon being built.
AddPoints
(
LatLngs
As
List
)
Adds vertices to the outline of the polygon being built. The vertices must be added in counterclockwise order.
The List should hold objects of type LatLng.
FillColor
As
Int
Geodesic
As
Boolean
Holes
As
List
[read
only]
Get the holes of this polygon.
Returns a List that contains a List of LatLng objects for each hole.
Initialize
IsInitialized
As
Boolean
Points
As
List
[read
only]
StrokeColor
As
Int
StrokeWidth
As
Float
Visible
As
Boolean
ZIndex
As
Float
PolylineOptions
Events:
None
Members:
Add
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
PolylineOptions
AddPoints
(
LatLngs
As
List
)
As
PolylineOptions
Color
As
Int
Geodesic
As
Boolean
Initialize
IsInitialized
As
Boolean
Points
As
List
[read
only]
Visible
As
Boolean
Width
As
Float
ZIndex
As
Float
Members description:
Add
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
PolylineOptions
Adds a vertex to the end of the polyline being built.
AddPoints
(
LatLngs
As
List
)
As
PolylineOptions
Adds vertices to the end of the polyline being built.
The List should hold objects of type LatLng.
Color
As
Int
Get or Set the color set for this polyline.
Geodesic
As
Boolean
Get or Set whether to draw each segment of this polyline as a geodesic.
Initialize
IsInitialized
As
Boolean
Points
As
List
[read
only]
Get a list of LatLngs that make up the path of this polyline.
Visible
As
Boolean
Get or Set the visibility of this polyline.
Width
As
Float
Get or Set the width of this polyline.
ZIndex
As
Float
Get or Set the zIndex of this polyline.
The zIndex determines the order of drawing on the map.
Projection
Events:
None
Members:
FromScreenLocation
(
Point1
As
android
.
graphics
.
Point
)
As
LatLngWrapper
GetVisibleRegion
As
VisibleRegion
IsInitialized
As
Boolean
ToScreenLocation
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
Point
Members description:
FromScreenLocation
(
Point1
As
android
.
graphics
.
Point
)
As
LatLngWrapper
Returns the geographic location that corresponds to a screen location.
GetVisibleRegion
As
VisibleRegion
Gets a projection of the viewing frustum for converting between screen coordinates and geo-latitude/longitude coordinates.
IsInitialized
As
Boolean
ToScreenLocation
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
Point
Returns a screen location that corresponds to a geographical coordinate.
StreetViewPanorama
Events:
PanoramaCameraChange(StreetViewPanoramaCamera1 As StreetViewPanoramaCamera)
PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation)
PanoramaClick(StreetViewPanoramaOrientation1 As StreetViewPanoramaOrientation)
Members:
AnimateTo
(
StreetViewPanorama1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaCamera
,
Duration
As
Long
)
GetLocation
As
StreetViewPanoramaLocation
GetPanoramaCamera
As
StreetViewPanoramaCamera
IsInitialized
As
Boolean
IsPanningGesturesEnabled
As
Boolean
IsStreetNamesEnabled
As
Boolean
IsUserNavigationEnabled
As
Boolean
IsZoomGesturesEnabled
As
Boolean
OrientationToPoint
(
StreetViewPanoramaOrientation1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaOrientation
)
As
Point
PointToOrientation
(
Point1
As
android
.
graphics
.
Point
)
As
StreetViewPanoramaOrientation
SetPanningGesturesEnabled
(
Enabled
As
Boolean
)
SetPanoramaCameraChangeListener
(
EventName
As
String
)
SetPanoramaChangeListener
(
EventName
As
String
)
SetPanoramaClickListener
(
EventName
As
String
)
SetPosition
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
SetPosition2
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Radius
As
Int
)
SetPosition3
(
PanoId
As
String
)
SetStreetNamesEnabled
(
Enabled
As
Boolean
)
SetUserNavigationEnabled
(
Enabled
As
Boolean
)
SetZoomGesturesEnabled
(
Enabled
As
Boolean
)
Members description:
AnimateTo
(
StreetViewPanorama1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaCamera
,
Duration
As
Long
)
Changes the current camera position, orientation and zoom, to a given position over a specified duration.
GetLocation
As
StreetViewPanoramaLocation
Returns the current location of the user and information regarding the current panorama's adjacent panoramas.
GetPanoramaCamera
As
StreetViewPanoramaCamera
Returns the current orientation and zoom.
IsInitialized
As
Boolean
IsPanningGesturesEnabled
As
Boolean
Returns whether or not the panning gestures are enabled for the user.
IsStreetNamesEnabled
As
Boolean
Returns whether or not the street names appear on the panorama.
IsUserNavigationEnabled
As
Boolean
Returns whether or not the navigation is enabled for the user.
IsZoomGesturesEnabled
As
Boolean
Returns whether or not the zoom gestures are enabled for the user.
OrientationToPoint
(
StreetViewPanoramaOrientation1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaOrientation
)
As
Point
Returns a screen location that corresponds to an orientation (StreetViewPanoramaOrientation).
PointToOrientation
(
Point1
As
android
.
graphics
.
Point
)
As
StreetViewPanoramaOrientation
Returns the orientation that corresponds to a screen location.
SetPanningGesturesEnabled
(
Enabled
As
Boolean
)
Sets whether the user is able to use panning gestures.
SetPanoramaCameraChangeListener
(
EventName
As
String
)
Set a PanoramaCameraChangeListener.
Raises the event: PanoramaCameraChange(StreetViewPanoramaCamera1 As StreetViewPanoramaCamera).
Raised when the user makes changes to the camera on the panorama or if the camera is changed programmatically.
Pass empty string as EventName to clear any existing listener.
SetPanoramaChangeListener
(
EventName
As
String
)
Set a PanoramaChangeListener.
Raises the event: PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation).
Pass empty string as EventName to clear any existing listener.
SetPanoramaClickListener
(
EventName
As
String
)
Set a PanoramaClickListener.
Raises the event: PanoramaClick(StreetViewPanoramaOrientation1 As StreetViewPanoramaOrientation).
Raised when the user makes a tap gesture on the panorama, but only if none of the overlays of the map handled the gesture.
Pass empty string as EventName to clear any existing listener.
SetPosition
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
Sets the StreetViewPanorama to a given location.
SetPosition2
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Radius
As
Int
)
Sets the StreetViewPanorama to a given location.
Radius - Defines the area (specified in meters) in which to search for a panorama, centered on the given latitude and longitude.
SetPosition3
(
PanoId
As
String
)
Sets the StreetViewPanorama to a given location.
PanoId - Panorama id of the desired location.
SetStreetNamesEnabled
(
Enabled
As
Boolean
)
Sets whether the user is able to see street names on panoramas.
SetUserNavigationEnabled
(
Enabled
As
Boolean
)
Sets whether the user is able to move to another panorama.
SetZoomGesturesEnabled
(
Enabled
As
Boolean
)
Sets whether the user is able to use zoom gestures.
StreetViewPanoramaCamera
Events:
None
Members:
Builder
As
StreetViewPanoramaCameraBuilder
Builder2
(
StreetViewPanoramaCamera1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaCamera
)
As
StreetViewPanoramaCameraBuilder
GetOrientation
As
StreetViewPanoramaOrientation
Initialize
(
Zoom
As
Float
,
Tilt
As
Float
,
Bearing
As
Float
)
IsInitialized
As
Boolean
Members description:
Builder
As
StreetViewPanoramaCameraBuilder
Creates a builder for a Street View panorama camera.
Builder2
(
StreetViewPanoramaCamera1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaCamera
)
As
StreetViewPanoramaCameraBuilder
Creates a builder for a Street View panorama camera.
GetOrientation
As
StreetViewPanoramaOrientation
Returns the particular camera's tilt and bearing as an orientation.
Initialize
(
Zoom
As
Float
,
Tilt
As
Float
,
Bearing
As
Float
)
Constructs a StreetViewPanoramaCamera.
IsInitialized
As
Boolean
StreetViewPanoramaCameraBuilder
Events:
None
Members:
Bearing
(
Bearing
As
Float
)
As
StreetViewPanoramaCameraBuilder
Build
As
StreetViewPanoramaCamera
IsInitialized
As
Boolean
Orientation
(
StreetViewPanoramaOrientation1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaOrientation
)
As
StreetViewPanoramaCameraBuilder
Tilt
(
Tilt
As
Float
)
As
StreetViewPanoramaCameraBuilder
Zoom
(
Zoom
As
Float
)
As
StreetViewPanoramaCameraBuilder
Members description:
Bearing
(
Bearing
As
Float
)
As
StreetViewPanoramaCameraBuilder
Sets the direction that the camera is pointing in, in degrees clockwise from north.
Build
As
StreetViewPanoramaCamera
Builds a StreetViewPanoramaCamera.
IsInitialized
As
Boolean
Orientation
(
StreetViewPanoramaOrientation1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaOrientation
)
As
StreetViewPanoramaCameraBuilder
Sets the camera tilt and bearing based upon the given orientation's tilt and bearing.
Tilt
(
Tilt
As
Float
)
As
StreetViewPanoramaCameraBuilder
Sets the angle, in degrees, of the camera from the horizon of the panorama.
Zoom
(
Zoom
As
Float
)
As
StreetViewPanoramaCameraBuilder
Sets the zoom level of the camera.
StreetViewPanoramaLink
Events:
None
Members:
Bearing
As
Float
[read
only]
IsInitialized
As
Boolean
PanoId
As
String
[read
only]
Members description:
Bearing
As
Float
[read
only]
The direction of the linked Street View panorama, in degrees clockwise from north
IsInitialized
As
Boolean
PanoId
As
String
[read
only]
Panorama ID of the linked Street View panorama.
StreetViewPanoramaLocation
Events:
None
Members:
IsInitialized
As
Boolean
Links
()
As
StreetViewPanoramaLink
[read
only]
PanoId
As
String
[read
only]
Position
As
LatLngWrapper
[read
only]
Members description:
IsInitialized
As
Boolean
Links
()
As
StreetViewPanoramaLink
[read
only]
Array of StreetViewPanoramaLink able to be reached from the current position.
PanoId
As
String
[read
only]
The panorama ID of the current Street View panorama.
Position
As
LatLngWrapper
[read
only]
The location of the current Street View panorama.
StreetViewPanoramaOptions
Events:
None
Members:
Initialize
IsInitialized
As
Boolean
PanningGesturesEnabled
As
Boolean
[read
only]
PanoramaId
As
String
[read
only]
Position
As
LatLngWrapper
[read
only]
Radius
As
Int
[read
only]
SetPanningGesturesEnabled
(
Enabled
As
Boolean
)
As
StreetViewPanoramaOptions
SetPanoramaCamera
(
StreetViewPanoramaCamera1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaCamera
)
As
StreetViewPanoramaOptions
SetPanoramaId
(
PanoramaId
As
String
)
As
StreetViewPanoramaOptions
SetPosition
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
StreetViewPanoramaOptions
SetPosition2
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Radius
As
Integer
)
As
StreetViewPanoramaOptions
SetStreetNamesEnabled
(
Enabled
As
Boolean
)
As
StreetViewPanoramaOptions
SetUserNavigationEnabled
(
Enabled
As
Boolean
)
As
StreetViewPanoramaOptions
SetZoomGesturesEnabled
(
Enabled
As
Boolean
)
As
StreetViewPanoramaOptions
StreetNamesEnabled
As
Boolean
[read
only]
StreetViewPanoramaCamera
As
StreetViewPanoramaCamera
[read
only]
UserNavigationEnabled
As
Boolean
[read
only]
ZoomGesturesEnabled
As
Boolean
[read
only]
Members description:
Initialize
IsInitialized
As
Boolean
PanningGesturesEnabled
As
Boolean
[read
only]
PanoramaId
As
String
[read
only]
Position
As
LatLngWrapper
[read
only]
Radius
As
Int
[read
only]
SetPanningGesturesEnabled
(
Enabled
As
Boolean
)
As
StreetViewPanoramaOptions
Toggles the ability for users to use pan around on panoramas using gestures.
SetPanoramaCamera
(
StreetViewPanoramaCamera1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaCamera
)
As
StreetViewPanoramaOptions
Specifies the initial camera for the Street View panorama.
SetPanoramaId
(
PanoramaId
As
String
)
As
StreetViewPanoramaOptions
Specifies the initial position for the Street View panorama based on a panorama id.
SetPosition
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
)
As
StreetViewPanoramaOptions
Specifies the initial position for the Street View panorama based upon location.
SetPosition2
(
LatLng1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
Radius
As
Integer
)
As
StreetViewPanoramaOptions
Specifies the initial position for the Street View panorama based upon location and radius.
SetStreetNamesEnabled
(
Enabled
As
Boolean
)
As
StreetViewPanoramaOptions
Toggles the ability for users to see street names on panoramas.
SetUserNavigationEnabled
(
Enabled
As
Boolean
)
As
StreetViewPanoramaOptions
Toggles the ability for users to move between panoramas.
SetZoomGesturesEnabled
(
Enabled
As
Boolean
)
As
StreetViewPanoramaOptions
Toggles the ability for users to zoom on panoramas using gestures.
StreetNamesEnabled
As
Boolean
[read
only]
StreetViewPanoramaCamera
As
StreetViewPanoramaCamera
[read
only]
UserNavigationEnabled
As
Boolean
[read
only]
ZoomGesturesEnabled
As
Boolean
[read
only]
StreetViewPanoramaOrientation
Events:
None
Members:
Bearing
As
Float
[read
only]
Builder
As
StreetViewPanoramaOrientationBuilder
Builder2
(
StreetViewPanoramaOrientation1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaOrientation
)
As
StreetViewPanoramaOrientationBuilder
Initialize
(
Tilt
As
Float
,
Bearing
As
Float
)
IsInitialized
As
Boolean
Tilt
As
Float
[read
only]
Members description:
Bearing
As
Float
[read
only]
Direction of the orientation, in degrees clockwise from north.
Builder
As
StreetViewPanoramaOrientationBuilder
Creates a builder for a Street View panorama orientation.
Builder2
(
StreetViewPanoramaOrientation1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
StreetViewPanoramaOrientation
)
As
StreetViewPanoramaOrientationBuilder
Creates a builder for a Street View panorama orientation.
Initialize
(
Tilt
As
Float
,
Bearing
As
Float
)
IsInitialized
As
Boolean
Tilt
As
Float
[read
only]
The angle, in degrees, of the orientation.
StreetViewPanoramaOrientationBuilder
Events:
None
Members:
Bearing
As
Float
[read
only]
Build
As
StreetViewPanoramaOrientation
IsInitialized
As
Boolean
SetBearing
(
Bearing
As
Float
)
As
StreetViewPanoramaOrientationBuilder
SetTilt
(
Tilt
As
Float
)
As
StreetViewPanoramaOrientationBuilder
Tilt
As
Float
[read
only]
Members description:
Bearing
As
Float
[read
only]
Direction of the orientation, in degrees clockwise from north.
Build
As
StreetViewPanoramaOrientation
Builds a StreetViewPanoramaOrientation.
IsInitialized
As
Boolean
SetBearing
(
Bearing
As
Float
)
As
StreetViewPanoramaOrientationBuilder
Sets the direction of the orientation, in degrees clockwise from north.
SetTilt
(
Tilt
As
Float
)
As
StreetViewPanoramaOrientationBuilder
Sets the angle, in degrees, of the orientation This value is restricted to being between -90 (directly down) and 90 (directly up).
Tilt
As
Float
[read
only]
The angle, in degrees, of the orientation.
StreetViewPanoramaView
This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Events:
None
Members:
Background
As
android
.
graphics
.
drawable
.
Drawable
BringToFront
Color
As
Int
[write
only]
Enabled
As
Boolean
GetStreetViewPanorama
As
StreetViewPanorama
Height
As
Int
Initialize
Initialize2
(
StreetViewPanoramaOptions1
As
com
.
google
.
android
.
gms
.
maps
.
StreetViewPanoramaOptions
)
Invalidate
Invalidate2
(
arg0
As
android
.
graphics
.
Rect
)
Invalidate3
(
arg0
As
Int
,
arg1
As
Int
,
arg2
As
Int
,
arg3
As
Int
)
IsInitialized
As
Boolean
Left
As
Int
OnCreate
(
Bundle1
As
android
.
os
.
Bundle
)
OnDestroy
OnLowMemory
OnPause
OnResume
OnSaveInstanceState
(
Bundle1
As
android
.
os
.
Bundle
)
RemoveView
RequestFocus
As
Boolean
SendToBack
SetBackgroundImage
(
arg0
As
android
.
graphics
.
Bitmap
)
SetColorAnimated
(
arg0
As
Int
,
arg1
As
Int
,
arg2
As
Int
)
SetLayout
(
arg0
As
Int
,
arg1
As
Int
,
arg2
As
Int
,
arg3
As
Int
)
SetLayoutAnimated
(
arg0
As
Int
,
arg1
As
Int
,
arg2
As
Int
,
arg3
As
Int
,
arg4
As
Int
)
SetVisibleAnimated
(
arg0
As
Int
,
arg1
As
Boolean
)
Tag
As
Object
Top
As
Int
Visible
As
Boolean
Width
As
Int
Members description:
Background
As
android
.
graphics
.
drawable
.
Drawable
BringToFront
Color
As
Int
[write
only]
Enabled
As
Boolean
GetStreetViewPanorama
As
StreetViewPanorama
Gets the underlying StreetViewPanorama that is tied to this view.
Height
As
Int
Initialize
Initialize2
(
StreetViewPanoramaOptions1
As
com
.
google
.
android
.
gms
.
maps
.
StreetViewPanoramaOptions
)
Invalidate
Invalidate2
(
arg0
As
android
.
graphics
.
Rect
)
Invalidate3
(
arg0
As
Int
,
arg1
As
Int
,
arg2
As
Int
,
arg3
As
Int
)
IsInitialized
As
Boolean
Left
As
Int
OnCreate
(
Bundle1
As
android
.
os
.
Bundle
)
OnDestroy
OnLowMemory
OnPause
OnResume
OnSaveInstanceState
(
Bundle1
As
android
.
os
.
Bundle
)
RemoveView
RequestFocus
As
Boolean
SendToBack
SetBackgroundImage
(
arg0
As
android
.
graphics
.
Bitmap
)
SetColorAnimated
(
arg0
As
Int
,
arg1
As
Int
,
arg2
As
Int
)
SetLayout
(
arg0
As
Int
,
arg1
As
Int
,
arg2
As
Int
,
arg3
As
Int
)
SetLayoutAnimated
(
arg0
As
Int
,
arg1
As
Int
,
arg2
As
Int
,
arg3
As
Int
,
arg4
As
Int
)
SetVisibleAnimated
(
arg0
As
Int
,
arg1
As
Boolean
)
Tag
As
Object
Top
As
Int
Visible
As
Boolean
Width
As
Int
StreetViewPanoramaViewActivity
This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Events:
None
Members:
Initialize
IsInitialized
As
Boolean
RegisterStreetViewPanoramaViewCallbacks
(
StreetViewPanoramaView1
As
com
.
google
.
android
.
gms
.
maps
.
StreetViewPanoramaView
)
UnregisterStreetViewPanoramaViewCallbacks
(
StreetViewPanoramaView1
As
com
.
google
.
android
.
gms
.
maps
.
StreetViewPanoramaView
)
Members description:
Initialize
IsInitialized
As
Boolean
RegisterStreetViewPanoramaViewCallbacks
(
StreetViewPanoramaView1
As
com
.
google
.
android
.
gms
.
maps
.
StreetViewPanoramaView
)
Registers this Activity as the handler for the lifecycle callbacks of StreetViewPanoramaView1.
UnregisterStreetViewPanoramaViewCallbacks
(
StreetViewPanoramaView1
As
com
.
google
.
android
.
gms
.
maps
.
StreetViewPanoramaView
)
Unregisters this Activity as the handler for the lifecycle callbacks of StreetViewPanoramaView1.
Tile
Events:
None
Members:
Initialize
(
Width
As
Int
,
Height
As
Int
,
Data
()
As
Byte
)
IsInitialized
As
Boolean
Members description:
Initialize
(
Width
As
Int
,
Height
As
Int
,
Data
()
As
Byte
)
IsInitialized
As
Boolean
TileOverlay
Events:
None
Members:
ClearTileCache
FadeIn
As
Boolean
Id
As
String
[read
only]
IsInitialized
As
Boolean
IsVisible
As
Boolean
Remove
Visible
As
Boolean
[write
only]
ZIndex
As
Float
Members description:
ClearTileCache
Clears the tile cache so that all tiles will be requested again from the TileProvider.
FadeIn
As
Boolean
Get or Set whether the tiles should fade in.
Default value is True.
Id
As
String
[read
only]
Returns this tile overlay's id.
IsInitialized
As
Boolean
IsVisible
As
Boolean
Gets the visibility of this tile overlay.
Remove
Removes this tile overlay from the map.
Visible
As
Boolean
[write
only]
Sets the visibility of this tile overlay.
ZIndex
As
Float
Get or Set the zIndex of this tile overlay.
TileOverlayOptions
Events:
None
Members:
GetFadeIn
As
Boolean
GetZIndex
As
Float
Initialize
IsInitialized
As
Boolean
IsVisible
As
Boolean
SetFadeIn
(
FadeIn
As
Boolean
)
As
TileOverlayOptions
SetTileProvider
(
TileProvider1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
TileProvider
)
As
TileOverlayOptions
SetVisible
(
Visible
As
Boolean
)
As
TileOverlayOptions
SetZIndex
(
ZIndex
As
Float
)
As
TileOverlayOptions
Members description:
GetFadeIn
As
Boolean
GetZIndex
As
Float
Initialize
Initializes a new set of tile overlay options.
IsInitialized
As
Boolean
IsVisible
As
Boolean
Returns the visibility setting for this TileOverlayOptions object.
SetFadeIn
(
FadeIn
As
Boolean
)
As
TileOverlayOptions
Set whether the tiles should fade in.
Default value is True.
SetTileProvider
(
TileProvider1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
TileProvider
)
As
TileOverlayOptions
Specifies the tile provider to use for this tile overlay.
SetVisible
(
Visible
As
Boolean
)
As
TileOverlayOptions
SetZIndex
(
ZIndex
As
Float
)
As
TileOverlayOptions
UrlTileProvider
Events:
None
Members:
Initialize
(
UrlTemplate
As
String
,
Width
As
Int
,
Height
As
Int
)
IsInitialized
As
Boolean
Members description:
Initialize
(
UrlTemplate
As
String
,
Width
As
Int
,
Height
As
Int
)
Initialize the UrlTileProvider.
UrlTemplate - a String which is the Url to a tile with X, Y and zoom parameters replaced:
Here the standard OSM slippy map tilenaming is used.
http://
/%3$d/%1$d/%2$d.png
Url parameters are %1$d tileX, %2$d tileY, %3$d zoom
Width - tile width in pixels.
Height - tile height in pixels.
IsInitialized
As
Boolean
VisibleRegion
Events:
None
Members:
FarLeft
As
LatLngWrapper
[read
only]
FarRight
As
LatLngWrapper
[read
only]
Initialize
(
NearLeft
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
NearRight
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
FarLeft
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
FarRight
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
)
IsInitialized
As
Boolean
LatLngBounds
As
LatLngBounds
[read
only]
NearLeft
As
LatLngWrapper
[read
only]
NearRight
As
LatLngWrapper
[read
only]
Members description:
FarLeft
As
LatLngWrapper
[read
only]
FarRight
As
LatLngWrapper
[read
only]
Initialize
(
NearLeft
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
NearRight
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
FarLeft
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
FarRight
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLng
,
LatLngBounds1
As
com
.
google
.
android
.
gms
.
maps
.
model
.
LatLngBounds
)
Creates a new VisibleRegion given the four corners of the camera.
IsInitialized
As
Boolean
LatLngBounds
As
LatLngBounds
[read
only]
NearLeft
As
LatLngWrapper
[read
only]
NearRight
As
LatLngWrapper
[read
only]
Top