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.
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.
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
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.
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.
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.
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.
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.
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).
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.
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.
Include (LatLng1Ascom.google.android.gms.maps.model.LatLng) AsLatLngBoundsBuilder
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
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.
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.
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 (UAsFloat, VAsFloat) AsMarkerOptions
Specifies the anchor to be at a particular point in the marker image.
Draggable (DraggableAsBoolean) AsMarkerOptions
Sets the draggability for the marker.
Flat (FlatAsBoolean) AsMarkerOptions
Sets whether this Marker should be flat against the map (True) or a billboard facing the camera (False).
GetAlphaAsFloat
Gets the alpha that has been set for this MarkerOptions object.
GetAnchorUAsFloat
Horizontal distance, normalized to [0, 1], of the anchor from the left edge.
GetAnchorVAsFloat
Vertical distance, normalized to [0, 1], of the anchor from the top edge.
GetIconAsBitmapDescriptor
Gets the custom icon set for this MarkerOptions object.
GetInfoWindowAnchorUAsFloat
GetInfoWindowAnchorVAsFloat
GetPositionAsLatLngWrapper
Returns the position set for this MarkerOptions object.
GetRotationAsFloat
Gets the rotation set for this MarkerOptions.
GetSnippetAsString
Gets the snippet set for this MarkerOptions object.
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.
IsDraggableAsBoolean
Gets the draggability setting for this MarkerOptions object.
IsFlatAsBoolean
Gets the flat setting for this MarkerOptions object.
IsInitializedAsBoolean
IsVisibleAsBoolean
Gets the visibility setting for this MarkerOptions object.
Position (LatLng1Ascom.google.android.gms.maps.model.LatLng) AsMarkerOptions
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.
Get or Set whether the line segments are geodesic lines (shortest path on the earth surface) or straight lines. The default value is False.
HolesAsList
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.
IsInitializedAsBoolean
PointsAsList
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.
Adds a vertex to the outline of the polygon being built.
AddPoints (LatLngsAsList)
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.
FillColorAsInt
GeodesicAsBoolean
HolesAsList [read only]
Get the holes of this polygon. Returns a List that contains a List of LatLng objects for each hole.
PanoramaCameraChange(StreetViewPanoramaCamera1 As StreetViewPanoramaCamera) PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation) PanoramaClick(StreetViewPanoramaOrientation1 As StreetViewPanoramaOrientation)
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 (EventNameAsString)
Set a PanoramaChangeListener. Raises the event: PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation). Pass empty string as EventName to clear any existing listener.
SetPanoramaClickListener (EventNameAsString)
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.
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 (PanoIdAsString)
Sets the StreetViewPanorama to a given location. PanoId - Panorama id of the desired location.
SetStreetNamesEnabled (EnabledAsBoolean)
Sets whether the user is able to see street names on panoramas.
SetUserNavigationEnabled (EnabledAsBoolean)
Sets whether the user is able to move to another panorama.
SetZoomGesturesEnabled (EnabledAsBoolean)
Sets whether the user is able to use zoom gestures.
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.