Set the hotspot for a Marker. This is where the origin (0,0) of a point will be located relative to the Marker. In other words this acts as an offset. NONE indicates that no adjustment should be made.
Returns an Array of AttributionObjects. An AttributionObject contains licensing and attribution Strings relating to 3rd party libraries used in this B4A library. You are required to display some or all of these Strings in your application if you use the related B4A library object(s).
Set whether or not the MapView can use the device's data connection. Useful if you are using offline tiles or the map tiles already exist in the cache.
SetHttpRequestUserAgent (UserAgentAsString)
Sets the value of the UserAgent header when requesting tiles using HTTP. Default value is your application's packagename. Recommended value is a unique value that identifies your application.
Set the hotspot for a Marker. This is where the origin (0,0) of a point will be located relative to the Marker. In other words this acts as an offset. NONE indicates that no adjustment should be made.
This is an 'Activity Object', it cannot be declared under Sub Process_Globals.
Events:
Click(Title As String, Description As String, Point As GeoPoint) As Boolean LongClick(Title As String, Description As String, Point As GeoPoint) As Boolean
Get or Set the height of the minimap in pixels. Default height is 100 pixels.
Initialize (aMapViewAsorg.osmdroid.views.MapView)
Initialize the MinimapOverlay.
IsInitializedAsBoolean
PaddingAsInt
Get or Set the padding (in pixels) between the minimap and the bottom right hand corner of the MapView. Default padding is 10 pixels.
SetTileSource (TileSourceAsString)
Set the TileSource that the minimap should display.
WidthAsInt
Get or Set the width of the minimap in pixels. Default width is 100 pixels.
ZoomDifferenceAsInt
Get or Set the difference in zoom levels between the minimap and the main MapView map. Default value varies based upon the TileSource being used by the main MapView map.
Get or Set whether the compass is enabled. Default value is False.
DrawAccuracyEnabledAsBoolean
Get or Set whether the DrawAccuracy circle is drawn around the Person icon. Default value is True.
FollowLocationEnabledAsBoolean
Get or Set whether FollowLocation is enabled. If FollowLocation is enabled then the map will automatically center itself on the last GPS fix. Default value is False.
Set whether the scale bar should be drawn on the map.
SetLineColor (LineColorAsInt)
Set the color of the line used to draw the scale bar.
SetLineWidth (LineWidthAsFloat)
Set the width of the line used to draw the scale bar. Default line width is 2 pixels.
SetMinZoom (MinZoomAsInt)
Set the minimum zoom level at which to display the scale bar. Default minimum zoom level is 0.
SetOffset (XAsFloat, YAsFloat)
Set the offset at which to display the scale bar on the map. Default offset is (10, 10)
SetPosition (PositionAsInt)
Set the position to display the scale bar within the MapView. Possible values are: ScaleBarOverlay.BOTTOM_LEFT ScaleBarOverlay.TOP_LEFT
Default value is ScaleBarOverlay.TOP_LEFT
SetScaleUnit (ScaleUnitAsInt)
Set the unit of measure to be used by the scale bar. Possible values are: ScaleBarOverlay.SCALE_UNIT_IMPERIAL ScaleBarOverlay.SCALE_UNIT_METRIC ScaleBarOverlay.SCALE_UNIT_NAUTICAL
Default value is ScaleBarOverlay.SCALE_UNIT_METRIC
SetTextColor (TextColorAsInt)
Set the color of the scale bar label text.
SetTextSize (TextSizeAsFloat)
Set the font size of the scale bar label text. Default font size is 12 pixels.
Initialize the TilesOverlay, the TileSource must implement the Slippy map tile naming convention. An Array of Strings is passed for the BaseUrls parameter.
Initialize the TilesOverlay, the TileSource must implement the TileMapService (TMS) map tile naming convention. An Array of Strings is passed for the BaseUrls parameter.
IsInitializedAsBoolean
LoadingBackgroundColorAsInt
Get or Set the background color displayed while waiting for a tile to be downloaded. Setting a value of Colors.TRANSPARENT will disable the display of any background color. The default value is Colors.TRANSPARENT, no background color is displayed.
LoadingLineColorAsInt
Get or Set the line color used to separate the background color drawn while waiting a tile to be downloaded. The line color will only be drawn if the background color is NOT set to transparent. The default value is Colors.rgb(200, 192, 192).
Initialize the XYTileSource object. The XYTileSource must implement the Slippy map tile naming convention. An Array of Strings is passed for the BaseUrls parameter.
IsInitializedAsBoolean
TMSModeAsBoolean
Get or Set whether Tile Map Service (TMS) mode is enabled or not. By default TMS mode is NOT enabled.
Top