1.04
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlay
GroundOverlay
com.google.android.gms.maps.model.GroundOverlay
process
IsVisible
boolean
SetDimensions
void
Width
float
Remove
void
IsInitialized
boolean
SetDimensions2
void
Width
float
Height
float
Transparency
float
Transparency
float
ZIndex
float
ZIndex
float
Visible
Visible
boolean
PositionFromBounds
Bounds
com.google.android.gms.maps.model.LatLngBounds
Image
Bitmap1
android.graphics.Bitmap
Sets the image for the Ground Overlay using a Bitmap.
The new image will occupy the same bounds as the old image.
Bounds
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds
Image2
BitmapDescriptor1
com.google.android.gms.maps.model.BitmapDescriptor
Sets the image for the Ground Overlay using a BitmapDescriptor.
The new image will occupy the same bounds as the old image.
Position
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
Position
com.google.android.gms.maps.model.LatLng
Height
float
Id
java.lang.String
Width
float
Bearing
float
Bearing
float
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLocation
StreetViewPanoramaLocation
com.google.android.gms.maps.model.StreetViewPanoramaLocation
process
IsInitialized
boolean
Links
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLink[]
Array of StreetViewPanoramaLink able to be reached from the current position.
PanoId
java.lang.String
The panorama ID of the current Street View panorama.
Position
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
The location of the current Street View panorama.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds
LatLngBounds
com.google.android.gms.maps.model.LatLngBounds
process
Initialize
Initialize the LatLngBounds.
void
SouthWest
com.google.android.gms.maps.model.LatLng
NorthEast
com.google.android.gms.maps.model.LatLng
Contains
Returns whether this LatLngBounds contains LatLng1.
boolean
LatLng1
com.google.android.gms.maps.model.LatLng
IsInitialized
boolean
Including
Returns a new LatLngBounds that extends this LatLngBounds to include the given LatLng.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds
LatLng1
com.google.android.gms.maps.model.LatLng
SouthWest
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
Returns south-west corner of this LatLngBounds as a LatLng.
Center
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
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.
NorthEast
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
Returns north-east corner of this LatLngBounds as a LatLng.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Tile
Tile
com.google.android.gms.maps.model.Tile
process
Initialize
void
Width
int
Height
int
Data
byte[]
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLink
StreetViewPanoramaLink
com.google.android.gms.maps.model.StreetViewPanoramaLink
process
IsInitialized
boolean
PanoId
java.lang.String
Panorama ID of the linked Street View panorama.
Bearing
float
The direction of the linked Street View panorama, in degrees clockwise from north
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder
StreetViewPanoramaCameraBuilder
com.google.android.gms.maps.model.StreetViewPanoramaCamera.Builder
process
Tilt
Sets the angle, in degrees, of the camera from the horizon of the panorama.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder
Tilt
float
Orientation
Sets the camera tilt and bearing based upon the given orientation's tilt and bearing.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder
StreetViewPanoramaOrientation1
com.google.android.gms.maps.model.StreetViewPanoramaOrientation
Build
Builds a StreetViewPanoramaCamera.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera
Zoom
Sets the zoom level of the camera.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder
Zoom
float
Bearing
Sets the direction that the camera is pointing in, in degrees clockwise from north.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder
Bearing
float
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation
StreetViewPanoramaOrientation
com.google.android.gms.maps.model.StreetViewPanoramaOrientation
process
Initialize
void
Tilt
float
Bearing
float
Builder2
Creates a builder for a Street View panorama orientation.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder
StreetViewPanoramaOrientation1
com.google.android.gms.maps.model.StreetViewPanoramaOrientation
Builder
Creates a builder for a Street View panorama orientation.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder
IsInitialized
boolean
Tilt
float
The angle, in degrees, of the orientation.
Bearing
float
Direction of the orientation, in degrees clockwise from north.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor
BitmapDescriptor
com.google.android.gms.maps.model.BitmapDescriptor
process
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon
Polygon
com.google.android.gms.maps.model.Polygon
process
Remove
Remove this polygon from the map.
void
IsInitialized
boolean
ZIndex
float
ZIndex
float
Get or Set the ZIndex of this polygon.
StrokeWidth
float
StrokeWidth
float
Get or Set the stroke width of this polygon.
Visible
boolean
Visible
boolean
Get or Set the visibility of this polygon.
FillColor
int
FillColor
int
Get or Set the fill color of this polygon.
StrokeColor
int
StrokeColor
int
Get or Set the stroke color of this polygon.
Points
anywheresoftware.b4a.objects.collections.List
points
anywheresoftware.b4a.objects.collections.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.
Geodesic
boolean
Geodesic
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
anywheresoftware.b4a.objects.collections.List
Holes
anywheresoftware.b4a.objects.collections.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.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder
StreetViewPanoramaOrientationBuilder
com.google.android.gms.maps.model.StreetViewPanoramaOrientation.Builder
process
Build
Builds a StreetViewPanoramaOrientation.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation
SetBearing
Sets the direction of the orientation, in degrees clockwise from north.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder
Bearing
float
SetTilt
Sets the angle, in degrees, of the orientation This value is restricted to being between -90 (directly down) and 90 (directly up).
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientationBuilder
Tilt
float
IsInitialized
boolean
Tilt
float
The angle, in degrees, of the orientation.
Bearing
float
Direction of the orientation, in degrees clockwise from north.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions
TileOverlayOptions
com.google.android.gms.maps.model.TileOverlayOptions
process
Initialize
Initializes a new set of tile overlay options.
void
SetFadeIn
Set whether the tiles should fade in.
Default value is True.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions
FadeIn
boolean
SetTileProvider
Specifies the tile provider to use for this tile overlay.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions
TileProvider1
com.google.android.gms.maps.model.TileProvider
GetFadeIn
boolean
SetVisible
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions
Visible
boolean
SetZIndex
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlayOptions
ZIndex
float
GetZIndex
float
IsVisible
Returns the visibility setting for this TileOverlayOptions object.
boolean
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
MarkerOptions
com.google.android.gms.maps.model.MarkerOptions
process
Alpha
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.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
Alpha
float
Visible
Sets the visibility for the marker.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
Visible
boolean
GetPosition
Returns the position set for this MarkerOptions object.
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
Draggable
Sets the draggability for the marker.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
Draggable
boolean
IsDraggable
Gets the draggability setting for this MarkerOptions object.
boolean
IsVisible
Gets the visibility setting for this MarkerOptions object.
boolean
Rotate
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
Rotation
float
GetTitle
Gets the title set for this MarkerOptions object.
java.lang.String
IsInitialized
boolean
Initialize
Creates a new set of MarkerOptions.
void
Snippet
Sets the snippet for the marker.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
Snippet
java.lang.String
GetAnchorU
Horizontal distance, normalized to [0, 1], of the anchor from the left edge.
float
IsFlat
Gets the flat setting for this MarkerOptions object.
boolean
GetAnchorV
Vertical distance, normalized to [0, 1], of the anchor from the top edge.
float
Title
Sets the title for the marker.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
Title
java.lang.String
GetAlpha
Gets the alpha that has been set for this MarkerOptions object.
float
GetInfoWindowAnchorV
float
GetInfoWindowAnchorU
float
GetRotation
Gets the rotation set for this MarkerOptions.
float
Anchor
Specifies the anchor to be at a particular point in the marker image.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
U
float
V
float
Flat
Sets whether this Marker should be flat against the map (True) or a billboard facing the camera (False).
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
Flat
boolean
GetIcon
Gets the custom icon set for this MarkerOptions object.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor
Position
Sets the location for the marker using a LatLng.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
LatLng1
com.google.android.gms.maps.model.LatLng
GetSnippet
Gets the snippet set for this MarkerOptions object.
java.lang.String
Position2
Sets the location for the marker using latitude and longitude values.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
Latitude
double
Longitude
double
InfoWindowAnchor
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]).
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
U
float
V
float
Icon
Sets the icon for the marker.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.MarkerOptions
BitmapDescriptor1
com.google.android.gms.maps.model.BitmapDescriptor
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.VisibleRegion
VisibleRegion
com.google.android.gms.maps.model.VisibleRegion
process
Initialize
Creates a new VisibleRegion given the four corners of the camera.
void
NearLeft
com.google.android.gms.maps.model.LatLng
NearRight
com.google.android.gms.maps.model.LatLng
FarLeft
com.google.android.gms.maps.model.LatLng
FarRight
com.google.android.gms.maps.model.LatLng
LatLngBounds1
com.google.android.gms.maps.model.LatLngBounds
IsInitialized
boolean
FarRight
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
LatLngBounds
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds
NearRight
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
NearLeft
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
FarLeft
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.UrlTileProvider
UrlTileProvider
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.UrlTileProviderImpl
process
Initialize
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://<my tileserver url>/%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.
void
UrlTemplate
java.lang.String
Width
int
Height
int
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlay
TileOverlay
com.google.android.gms.maps.model.TileOverlay
process
IsVisible
Gets the visibility of this tile overlay.
boolean
Remove
Removes this tile overlay from the map.
void
ClearTileCache
Clears the tile cache so that all tiles will be requested again from the TileProvider.
void
IsInitialized
boolean
ZIndex
float
ZIndex
float
Get or Set the zIndex of this tile overlay.
Visible
Visible
boolean
Sets the visibility of this tile overlay.
Id
java.lang.String
Returns this tile overlay's id.
FadeIn
boolean
FadeIn
boolean
Get or Set whether the tiles should fade in.
Default value is True.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
GroundOverlayOptions
com.google.android.gms.maps.model.GroundOverlayOptions
process
Initialize
void
Visible
Specifies the visibility for the ground overlay.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
Visible
boolean
PositionFromBounds
Specifies the position for this ground overlay.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
Bounds
com.google.android.gms.maps.model.LatLngBounds
SetBearing
Specifies the bearing of the ground overlay in degrees clockwise from north.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
Bearing
float
Image2
Specifies the image for this ground overlay using a BitmapDescriptor.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
BitmapDescriptor1
com.google.android.gms.maps.model.BitmapDescriptor
SetTransparency
Specifies the transparency of the ground overlay.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
Transparency
float
GetBearing
float
SetZIndex
Specifies the ground overlay's zIndex, i.e., the order in which it will be drawn.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
ZIndex
float
Anchor
Specifies the anchor to be at a particular point in the image.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
U
float
V
float
Image
Specifies the image for this ground overlay using a Bitmap.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
Bitmap1
android.graphics.Bitmap
GetZIndex
float
IsVisible
boolean
GetTransparency
float
Position
Specifies the position for this ground overlay using an anchor point (a LatLng), width and height (both in meters).
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
Position
com.google.android.gms.maps.model.LatLng
Width
float
Height
float
Position2
Specifies the position for this ground overlay using an anchor point (a LatLng) and the width (in meters).
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlayOptions
Position
com.google.android.gms.maps.model.LatLng
Width
float
IsInitialized
boolean
Bounds
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds
AnchorV
float
Returns vertical distance, normalized to [0, 1], of the anchor from the top edge.
Location
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
Height
float
AnchorU
float
Returns horizontal distance, normalized to [0, 1], of the anchor from the left edge.
Width
float
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptorFactory
BitmapDescriptorFactory
process
FromFile
Creates a BitmapDescriptor using the name of an image file located in the internal storage.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor
Filename
java.lang.String
DefaultMarker2
Creates a BitmapDescriptor that refers to a colorization of the default marker image.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor
Hue
float
FromResource
Creates a BitmapDescriptor using the resource id of an image.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor
ResourceId
int
DefaultMarker
Creates a BitmapDescriptor that refers to the default marker image.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor
FromBitmap
Creates a BitmapDescriptor from a given Bitmap.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor
Bitmap1
android.graphics.Bitmap
FromPath
Creates a BitmapDescriptor from an absolute file path.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor
AbsolutePath
java.lang.String
FromAsset
Creates a BitmapDescriptor using the name of an image in the assets directory.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.BitmapDescriptor
AssetName
java.lang.String
HUE_ROSE
float
HUE_GREEN
float
HUE_ORANGE
float
HUE_BLUE
float
HUE_YELLOW
float
HUE_MAGENTA
float
HUE_VIOLET
float
HUE_RED
float
HUE_CYAN
float
HUE_AZURE
float
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CustomUrlTileProvider
CustomUrlTileProvider
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CustomUrlTileProviderImpl
process
GetTileUrl(TileX As Int, TileY As Int, Zoom As Int) As String
Initialize
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
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
Width
int
Height
int
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera
StreetViewPanoramaCamera
com.google.android.gms.maps.model.StreetViewPanoramaCamera
process
Initialize
Constructs a StreetViewPanoramaCamera.
void
Zoom
float
Tilt
float
Bearing
float
Builder2
Creates a builder for a Street View panorama camera.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder
StreetViewPanoramaCamera1
com.google.android.gms.maps.model.StreetViewPanoramaCamera
Builder
Creates a builder for a Street View panorama camera.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCameraBuilder
GetOrientation
Returns the particular camera's tilt and bearing as an orientation.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CustomTileProvider
CustomTileProvider
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileProviderImpl
process
Initialize
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.
void
pBA
anywheresoftware.b4a.BA
ClassInstance
java.lang.Object
SubName
java.lang.String
IsInitialized
boolean
NO_TILE
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Tile
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.PolygonOptions
PolygonOptions
com.google.android.gms.maps.model.PolygonOptions
process
Initialize
void
AddHole
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.
void
Hole
anywheresoftware.b4a.objects.collections.List
AddPoints
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.
In version 1.00 of this library, this method was the writeable Points property.
As the vertices are added to (and don't replace) any existing vertices the property is removed and replaced with this new method.
void
points
anywheresoftware.b4a.objects.collections.List
IsInitialized
boolean
AddPoint
Adds a vertex to the outline of the polygon being built.
void
LatLng1
com.google.android.gms.maps.model.LatLng
ZIndex
float
ZIndex
float
StrokeWidth
float
StrokeWidth
float
Visible
boolean
Visible
boolean
FillColor
int
FillColor
int
StrokeColor
int
StrokeColor
int
Points
anywheresoftware.b4a.objects.collections.List
Geodesic
boolean
Geodesic
boolean
Holes
anywheresoftware.b4a.objects.collections.List
Get the holes of this polygon.
Returns a List that contains a List of LatLng objects for each hole.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Circle
Circle
com.google.android.gms.maps.model.Circle
process
Remove
Remove the Circle from the map.
void
IsInitialized
boolean
ZIndex
float
ZIndex
float
Get or Set the Circle ZIndex.
StrokeWidth
float
StrokeWidth
float
Get or Set the Circle stroke width.
Visible
boolean
Visible
boolean
Radius
double
Radius
double
Get or Set the Circle radius in meters.
FillColor
int
FillColor
int
Get or Set the Circle fill color.
StrokeColor
int
StrokeColor
int
Get or Set the Circle stroke color.
Id
java.lang.String
Get the Circle Id.
Center
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
LatLng1
com.google.android.gms.maps.model.LatLng
Get or Set the Circle center.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions
CircleOptions
com.google.android.gms.maps.model.CircleOptions
process
Initialize
Creates a new CircleOptions.
void
Visible
Sets the visibility.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions
Visible
boolean
GetStrokeWidth
Gets the stroke width.
float
GetRadius
Gets the radius in meters.
double
ZIndex
Sets the ZIndex.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions
ZIndex
float
StrokeWidth
Sets the stroke width.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions
StrokeWidth
float
Center2
Sets the center using latitude and longitude.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions
Latitude
double
Longitude
double
FillColor
Sets the fill color.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions
FillColor
int
Radius
Sets the radius in meters.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions
Radius
double
StrokeColor
Sets the stroke color.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions
StrokeColor
int
GetCenter
Gets the center as a LatLng.
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
GetZIndex
Gets the ZIndex.
float
IsVisible
Gets the visibility of this circle.
boolean
Center
Sets the center using a LatLng.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.CircleOptions
LatLng1
com.google.android.gms.maps.model.LatLng
GetFillColor
Gets the fill color.
int
IsInitialized
boolean
GetStrokeColor
Gets the stroke color.
int
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBoundsBuilder
LatLngBoundsBuilder
com.google.android.gms.maps.model.LatLngBounds.Builder
process
Initialize
void
Build
Creates and returns the LatLngBounds.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBounds
Include
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
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.LatLngBoundsBuilder
LatLng1
com.google.android.gms.maps.model.LatLng
IsInitialized
boolean
uk.co.martinpearman.b4a.android.graphics.Point
Point
android.graphics.Point
process
Initialize
void
X
int
Y
int
Offset
Offset the point's coordinates by Dx, Dy.
void
Dx
int
Dy
int
Set
Set the point's X and Y coordinates .
void
X
int
Y
int
Negate
Negate the point's coordinates.
void
IsInitialized
boolean
Y
int
X
int
uk.co.martinpearman.b4a.com.google.android.gms.maps.Projection
Projection
com.google.android.gms.maps.Projection
process
GetVisibleRegion
Gets a projection of the viewing frustum for converting between screen coordinates and geo-latitude/longitude coordinates.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.VisibleRegion
ToScreenLocation
Returns a screen location that corresponds to a geographical coordinate.
uk.co.martinpearman.b4a.android.graphics.Point
LatLng1
com.google.android.gms.maps.model.LatLng
FromScreenLocation
Returns the geographic location that corresponds to a screen location.
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
Point1
android.graphics.Point
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdateFactory
CameraUpdateFactory
process
ZoomIn
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
ZoomBy
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
Amount
float
Point1
android.graphics.Point
ZoomBy2
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
Amount
float
ScrollBy
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
XPixel
float
YPixel
float
NewCameraPosition
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
CameraPosition1
com.google.android.gms.maps.model.CameraPosition
ZoomOut
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
ZoomTo
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
ZoomLevel
float
NewLatLngBounds2
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
LatLngBounds1
com.google.android.gms.maps.model.LatLngBounds
Width
int
Height
int
Padding
int
NewLatLngZoom
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
LatLng1
com.google.android.gms.maps.model.LatLng
Zoom
float
NewLatLngBounds
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
LatLngBounds1
com.google.android.gms.maps.model.LatLngBounds
Padding
int
NewLatLng
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
LatLng1
com.google.android.gms.maps.model.LatLng
uk.co.martinpearman.b4a.com.google.android.gms.maps.CameraUpdate
CameraUpdate
com.google.android.gms.maps.CameraUpdate
process
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanorama
StreetViewPanorama
com.google.android.gms.maps.StreetViewPanorama
process
PanoramaCameraChange(StreetViewPanoramaCamera1 As StreetViewPanoramaCamera)
PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation)
PanoramaClick(StreetViewPanoramaOrientation1 As StreetViewPanoramaOrientation)
SetPanoramaChangeListener
Set a PanoramaChangeListener.
Raises the event: PanoramaChange(StreetViewPanoramaLocation1 As StreetViewPanoramaLocation).
Pass empty string as EventName to clear any existing listener.
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
IsUserNavigationEnabled
Returns whether or not the navigation is enabled for the user.
boolean
OrientationToPoint
Returns a screen location that corresponds to an orientation (StreetViewPanoramaOrientation).
uk.co.martinpearman.b4a.android.graphics.Point
StreetViewPanoramaOrientation1
com.google.android.gms.maps.model.StreetViewPanoramaOrientation
SetPosition
Sets the StreetViewPanorama to a given location.
void
LatLng1
com.google.android.gms.maps.model.LatLng
SetPosition2
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.
void
LatLng1
com.google.android.gms.maps.model.LatLng
Radius
int
PointToOrientation
Returns the orientation that corresponds to a screen location.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaOrientation
Point1
android.graphics.Point
SetUserNavigationEnabled
Sets whether the user is able to move to another panorama.
void
Enabled
boolean
SetPanoramaCameraChangeListener
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.
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
AnimateTo
Changes the current camera position, orientation and zoom, to a given position over a specified duration.
void
StreetViewPanorama1
com.google.android.gms.maps.model.StreetViewPanoramaCamera
Duration
long
SetPosition3
Sets the StreetViewPanorama to a given location.
PanoId - Panorama id of the desired location.
void
PanoId
java.lang.String
IsInitialized
boolean
IsStreetNamesEnabled
Returns whether or not the street names appear on the panorama.
boolean
GetPanoramaCamera
Returns the current orientation and zoom.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera
SetZoomGesturesEnabled
Sets whether the user is able to use zoom gestures.
void
Enabled
boolean
SetPanoramaClickListener
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.
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
IsZoomGesturesEnabled
Returns whether or not the zoom gestures are enabled for the user.
boolean
IsPanningGesturesEnabled
Returns whether or not the panning gestures are enabled for the user.
boolean
SetStreetNamesEnabled
Sets whether the user is able to see street names on panoramas.
void
Enabled
boolean
GetLocation
Returns the current location of the user and information regarding the current panorama's adjacent panoramas.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaLocation
SetPanningGesturesEnabled
Sets whether the user is able to use panning gestures.
void
Enabled
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaView
StreetViewPanoramaView
com.google.android.gms.maps.StreetViewPanoramaView
activity
BringToFront
void
RequestFocus
boolean
OnDestroy
void
OnCreate
void
Bundle1
android.os.Bundle
RemoveView
void
SetBackgroundImage
void
arg0
android.graphics.Bitmap
GetStreetViewPanorama
Gets the underlying StreetViewPanorama that is tied to this view.
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanorama
OnPause
void
OnLowMemory
void
Invalidate3
void
arg0
int
arg1
int
arg2
int
arg3
int
Invalidate2
void
arg0
android.graphics.Rect
Initialize2
void
pBA
anywheresoftware.b4a.BA
StreetViewPanoramaOptions1
com.google.android.gms.maps.StreetViewPanoramaOptions
IsInitialized
boolean
Initialize
void
pBA
anywheresoftware.b4a.BA
OnSaveInstanceState
void
Bundle1
android.os.Bundle
Invalidate
void
SetLayout
void
arg0
int
arg1
int
arg2
int
arg3
int
OnResume
void
SendToBack
void
Enabled
boolean
arg0
boolean
Top
int
arg0
int
Visible
boolean
arg0
boolean
Tag
java.lang.Object
arg0
java.lang.Object
Height
int
arg0
int
Background
android.graphics.drawable.Drawable
arg0
android.graphics.drawable.Drawable
Width
int
arg0
int
Left
int
arg0
int
Color
arg0
int
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions
StreetViewPanoramaOptions
com.google.android.gms.maps.StreetViewPanoramaOptions
process
Initialize
void
SetZoomGesturesEnabled
Toggles the ability for users to zoom on panoramas using gestures.
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions
Enabled
boolean
SetPosition
Specifies the initial position for the Street View panorama based upon location.
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions
LatLng1
com.google.android.gms.maps.model.LatLng
SetPosition2
Specifies the initial position for the Street View panorama based upon location and radius.
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions
LatLng1
com.google.android.gms.maps.model.LatLng
Radius
java.lang.Integer
SetStreetNamesEnabled
Toggles the ability for users to see street names on panoramas.
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions
Enabled
boolean
SetUserNavigationEnabled
Toggles the ability for users to move between panoramas.
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions
Enabled
boolean
SetPanoramaId
Specifies the initial position for the Street View panorama based on a panorama id.
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions
PanoramaId
java.lang.String
SetPanningGesturesEnabled
Toggles the ability for users to use pan around on panoramas using gestures.
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions
Enabled
boolean
SetPanoramaCamera
Specifies the initial camera for the Street View panorama.
uk.co.martinpearman.b4a.com.google.android.gms.maps.StreetViewPanoramaOptions
StreetViewPanoramaCamera1
com.google.android.gms.maps.model.StreetViewPanoramaCamera
IsInitialized
boolean
PanningGesturesEnabled
boolean
StreetNamesEnabled
java.lang.Boolean
Radius
int
PanoramaId
java.lang.String
StreetViewPanoramaCamera
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.StreetViewPanoramaCamera
ZoomGesturesEnabled
java.lang.Boolean
Position
anywheresoftware.b4a.objects.MapFragmentWrapper.LatLngWrapper
UserNavigationEnabled
java.lang.Boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnInfoWindowClickListener
OnInfoWindowClickListener
com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener
activity
Click(Marker1 As Marker)
Initialize
Initialize the OnInfoWindowClickListener.
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMyLocationButtonClickListener
OnMyLocationButtonClickListener
com.google.android.gms.maps.GoogleMap.OnMyLocationButtonClickListener
process
MyLocationButtonClick As Boolean
Initialize
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMyLocationChangeListener
OnMyLocationChangeListener
com.google.android.gms.maps.GoogleMap.OnMyLocationChangeListener
process
MyLocationChange(Location1 As Location)
Initialize
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMarkerDragListener
OnMarkerDragListener
com.google.android.gms.maps.GoogleMap.OnMarkerDragListener
activity
Drag(Marker1 As Marker)
DragEnd(Marker1 As Marker)
DragStart(Marker1 As Marker)
Initialize
Initialize the OnMarkerDragListener.
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.OnMapLoadedCallback
OnMapLoadedCallback
com.google.android.gms.maps.GoogleMap.OnMapLoadedCallback
process
MapLoaded
Initialize
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.
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.InfoWindowAdapter
InfoWindowAdapter
com.google.android.gms.maps.GoogleMap.InfoWindowAdapter
process
GetInfoContents(Marker1 As Marker) As View
GetInfoWindow(Marker1 As Marker) As View
Initialize
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
IsInitialized
boolean
uk.co.martinpearman.b4a.com.google.android.gms.maps.googlemap.CancelableCallback
CancelableCallback
com.google.android.gms.maps.GoogleMap.CancelableCallback
process
Cancel
Finish
Initialize
void
pBA
anywheresoftware.b4a.BA
EventName
java.lang.String
IsInitialized
boolean
uk.co.martinpearman.b4a.android.app.StreetViewPanoramaViewActivity
StreetViewPanoramaViewActivity
uk.co.martinpearman.java.android.app.StreetViewPanoramaViewActivity
activity
Initialize
void
pBA
anywheresoftware.b4a.BA
UnregisterStreetViewPanoramaViewCallbacks
Unregisters this Activity as the handler for the lifecycle callbacks of StreetViewPanoramaView1.
void
StreetViewPanoramaView1
com.google.android.gms.maps.StreetViewPanoramaView
RegisterStreetViewPanoramaViewCallbacks
Registers this Activity as the handler for the lifecycle callbacks of StreetViewPanoramaView1.
void
StreetViewPanoramaView1
com.google.android.gms.maps.StreetViewPanoramaView
IsInitialized
boolean
uk.co.martinpearman.b4a.googlemapsextras.MarkerExtras
MarkerExtras
process
GetRotation
Gets the rotation of the Marker in degrees clockwise about the Marker's anchor point.
float
Marker1
com.google.android.gms.maps.model.Marker
SetRotation
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.
void
Marker1
com.google.android.gms.maps.model.Marker
Rotation
float
SetAnchor
Specifies the anchor to be at a particular point in the marker image.
void
Marker1
com.google.android.gms.maps.model.Marker
U
float
V
float
SetAlpha
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.
void
Marker1
com.google.android.gms.maps.model.Marker
Alpha
float
SetInfoWindowAnchor
Specifies the point in the marker image at which to anchor the info window when it is displayed.
void
Marker1
com.google.android.gms.maps.model.Marker
U
float
V
float
GetId
Gets Marker1's Id.
java.lang.String
Marker1
com.google.android.gms.maps.model.Marker
IsFlat
Gets the flat setting for this Marker.
boolean
Marker1
com.google.android.gms.maps.model.Marker
GetAlpha
Gets the alpha of the marker.
float
Marker1
com.google.android.gms.maps.model.Marker
SetFlat
Sets whether this Marker should be flat against the map (True) or a billboard facing the camera (False).
void
Marker1
com.google.android.gms.maps.model.Marker
Flat
boolean
uk.co.martinpearman.b4a.googlemapsextras.GoogleMapsExtras
GoogleMapsExtras
process
SnapshotReady(Bitmap1 As Bitmap)
AnimateCamera2
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.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
CameraUpdate1
com.google.android.gms.maps.CameraUpdate
CancelableCallback1
com.google.android.gms.maps.GoogleMap.CancelableCallback
AnimateCamera3
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.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
CameraUpdate1
com.google.android.gms.maps.CameraUpdate
DurationMs
int
CancelableCallback1
com.google.android.gms.maps.GoogleMap.CancelableCallback
AnimateCamera
Animates the movement of the camera from the current position to the position defined in the CameraUpdate1.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
CameraUpdate1
com.google.android.gms.maps.CameraUpdate
SetInfoWindowAdapter
Sets a custom renderer for the contents of infowindows.
To unset the custom renderer use Null.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
InfoWindowAdapter1
com.google.android.gms.maps.GoogleMap.InfoWindowAdapter
GetMinZoomLevel
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.
float
GoogleMap1
com.google.android.gms.maps.GoogleMap
SetBuildingsEnabled
Turns the 3D buildings layer on or off.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
Enabled
boolean
Snapshot
Takes a snapshot of the map.
On completion raises the event SnapshotReady(Bitmap1 As Bitmap).
void
pBA
anywheresoftware.b4a.BA
GoogleMap1
com.google.android.gms.maps.GoogleMap
EventName
java.lang.String
IsTrafficEnabled
Returns whether the map is drawing traffic data.
boolean
GoogleMap1
com.google.android.gms.maps.GoogleMap
IsIndoorEnabled
Returns whether indoor maps are currently enabled.
boolean
GoogleMap1
com.google.android.gms.maps.GoogleMap
AddMarker
Adds a Marker to the map.
This method uses a MarkerOptions object to create a Marker.
anywheresoftware.b4a.objects.MapFragmentWrapper.MarkerWrapper
GoogleMap1
com.google.android.gms.maps.GoogleMap
MarkerOptions1
com.google.android.gms.maps.model.MarkerOptions
SetPadding
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.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
Left
int
Top
int
Right
int
Bottom
int
AddCircle
Adds a circle to the map.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Circle
GoogleMap1
com.google.android.gms.maps.GoogleMap
CircleOptions1
com.google.android.gms.maps.model.CircleOptions
AddGroundOverlay
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.GroundOverlay
GoogleMap1
com.google.android.gms.maps.GoogleMap
GroundOverlayOptions1
com.google.android.gms.maps.model.GroundOverlayOptions
StopAnimation
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.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
SetIndoorEnabled
Sets whether indoor maps should be enabled.
boolean
GoogleMap1
com.google.android.gms.maps.GoogleMap
Enabled
boolean
SetTrafficEnabled
Toggles the traffic layer on or off.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
Enabled
boolean
AnimateToBounds
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.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
LatLngBounds1
com.google.android.gms.maps.model.LatLngBounds
Padding
int
SetOnInfoWindowClickListener
Sets a callback that's invoked when an infowindow is clicked.
To unset the callback use Null.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
OnInfoWindowClickListener1
com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener
SetOnMarkerDragListener
Sets a callback that's invoked when a marker is dragged.
To unset the callback use Null.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
OnMarkerDragListener1
com.google.android.gms.maps.GoogleMap.OnMarkerDragListener
AddPolygon
Adds a polygon to the map.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.Polygon
GoogleMap1
com.google.android.gms.maps.GoogleMap
PolygonOptions1
com.google.android.gms.maps.model.PolygonOptions
GetProjection
Returns a Projection object that you can use to convert between screen coordinates and latitude/longitude coordinates.
uk.co.martinpearman.b4a.com.google.android.gms.maps.Projection
GoogleMap1
com.google.android.gms.maps.GoogleMap
MoveCamera
Moves the camera from the current position to the position defined in the CameraUpdate1.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
CameraUpdate1
com.google.android.gms.maps.CameraUpdate
AddTileOverlay
Adds a tile overlay to the map.
uk.co.martinpearman.b4a.com.google.android.gms.maps.model.TileOverlay
GoogleMap1
com.google.android.gms.maps.GoogleMap
TileOverlayOptions1
com.google.android.gms.maps.model.TileOverlayOptions
SetOnMapLoadedCallback
Sets a callback that's invoked when the map has finished rendering.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
OnMapLoadedCallback1
com.google.android.gms.maps.GoogleMap.OnMapLoadedCallback
SetOnMyLocationButtonClickListener
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).
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
OnMyLocationButtonClickListener
com.google.android.gms.maps.GoogleMap.OnMyLocationButtonClickListener
GetMaxZoomLevel
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.
float
GoogleMap1
com.google.android.gms.maps.GoogleMap
SetOnMyLocationChangeListener
Sets a callback that's invoked when the my location dot changes location.
To unset the callback use Null.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
OnMyLocationChangeListener1
com.google.android.gms.maps.GoogleMap.OnMyLocationChangeListener
AnimateToBounds2
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.
void
GoogleMap1
com.google.android.gms.maps.GoogleMap
LatLngBounds1
com.google.android.gms.maps.model.LatLngBounds
Width
int
Height
int
Padding
int
1.8
GoogleMapsExtras is an ongoing project to implement more of the Google Maps Android v2 classes in Basic4Android.
Martin Pearman