OSMDroid_4_1
Comment:
- OSMDroid_4_1 wraps version 4.1 of the android OSMDroid library.
More info on the android library can be found here:
http://code.google.com/p/osmdroid/
The android OSMDroid is licensed under the Apache License 2.0:
http://www.apache.org/licenses/LICENSE-2.0
OpenStreetMap tiles are licensed under the Creative Commons Attribution-ShareAlike 2.0 license:
http://creativecommons.org/licenses/by-sa/2.0/legalcode
The BalloonView based on Android MapView Balloons:
https://github.com/jgilfelt/android-mapviewballoons
And is licensed under the Apache License 2.0:
https://github.com/jgilfelt/android-mapviewballoons/blob/master/LICENSE
OSMDroid_BalloonView
Events:
Methods:
- BringToFront
- GetFocusedMarker As Marker
Return the Marker that the BalloonView is focused on.
The returned Marker will not be initialized if the BalloonView is not focused on a Marker.
- Hide
- Initialize (EventName As String)
- Invalidate
- Invalidate2 (arg0 As Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- IsInitialized As Boolean
- RemoveView
- RequestFocus As Boolean
- SendToBack
- SetBackgroundImage (arg0 As Bitmap)
- SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- Show (Marker1 As Marker)
Properties:
- Background As Drawable
- Color As Int [write only]
- Enabled As Boolean
- Height As Int
- Left As Int
- Tag As Object
- Top As Int
- Visible As Boolean
- Width As Int
OSMDroid_BoundingBox
Methods:
- BringToBoundingBox (Latitude As Double, Longitude As Double) As GeoPoint
- Contains (Latitude As Double, Longitude As Double) As Boolean
Returns True if this BoundingBox contains the Latitude, Longitude.
- Contains2 (GeoPoint1 As GeoPoint) As Boolean
Returns True if this BoundingBox contains GeoPoint1.
- Extend (BoundingBox1 As BoundingBoxE6)
Extend the bounds of this BoundingBox with the bounds of BoundingBox1.
- GetDiagonalLengthInMeters As Int
- GetNorthWest As GeoPoint
Get the top left point of this BoundingBox as a GeoPoint.
- GetSouthEast As GeoPoint
Get the bottom right point of this BoundingBox as a GeoPoint.
- IncreaseByScale (Scale As Float) As BoundingBox
- Initialize (LatitudeNorth As Double, LongitudeWest As Double, LatitudeSouth As Double, LongitudeEast As Double)
Initialize the BoundingBox with NorthWest and SouthEast Latitude and Longitude.
- Initialize2 (NorthWest As GeoPoint, SouthEast As GeoPoint)
Initialize the BoundingBox with NorthWest and SouthEast GeoPoints.
- Initialize3 (GeoPoints As List)
Initialize the BoundingBox with a List of GeoPoints.
- IsInitialized As Boolean
Properties:
- Center As GeoPoint [read only]
- LatitudeNorth As Double [read only]
Get the northerly latitude of this BoundingBox.
- LatitudeSouth As Double [read only]
Get the southerly latitude of this BoundingBox.
- LongitudeEast As Double [read only]
Get the easterly longitude of this BoundingBox.
- LongitudeWest As Double [read only]
Get the westerly longitude of this BoundingBox.
OSMDroid_CompassOverlay
Methods:
- DisableCompass
Disable orientation updates.
- EnableCompass
Enable receiving orientation updates from the provided IOrientationProvider and show a compass on the map.
- Initialize (MapView1 As MapView)
- IsCompassEnabled As Boolean
If enabled, the map is receiving orientation updates and drawing your location on the map.
- IsInitialized As Boolean
- SetCompassCenter (X As Float, Y As Float)
Properties:
- Enabled As Boolean
- Orientation As Float [read only]
OSMDroid_Constants
Fields:
- LayoutParams As LayoutParams
- MapViewConstants As MapViewConstants
- OverlayItemConstants As OverlayItemConstants
OSMDroid_DirectedLocationOverlay
Methods:
- GetLocation As GeoPoint
- Initialize
- IsInitialized As Boolean
- SetAccuracy (Accuracy1 As Int)
- SetBearing (Bearing As Float)
- SetLocation (GeoPoint1 As GeoPoint)
- SetShowAccuracy (Show As Boolean)
Properties:
OSMDroid_GeoPoint
Methods:
- BearingTo (GeoPoint1 As GeoPoint) As Double
Get the bearing (in degrees) from this GeoPoint to GeoPoint1.
- DestinationPoint (Distance As Double, Bearing As Float) As GeoPoint
Get a new GeoPoint that is the specified Distance (in meters) and Bearing (in degrees) away from this GeoPoint.
- DistanceTo (GeoPoint1 As GeoPoint) As Int
Get the distance (in metres) from this GeoPoint to GeoPoint1.
- Initialize (Latitude As Double, Longitude As Double)
Initialize the GeoPoint using Latitude and Longitude.
- Initialize2 (aLocation As Location)
Initialize the GeoPoint using a Location object.
- IsInitialized As Boolean
- ToDoubleString As String
Properties:
- Altitude As Int
Get or Set the altitude (in meters) of the GeoPoint
- Latitude As Double
Get or Set the Latitude of the GeoPoint.
- Longitude As Double
Get or Set the Longitude of the GeoPoint.
OSMDroid_ItemizedOverlayControlView
Events:
- CenterClick
- NavToClick
- NextClick
- PreviousClick
Methods:
- BringToFront
- Initialize (EventName As String)
- Invalidate
- Invalidate2 (arg0 As Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- IsInitialized As Boolean
- RemoveView
- RequestFocus As Boolean
- SendToBack
- SetBackgroundImage (arg0 As Bitmap)
- SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- SetNavToVisible (Visible As Boolean)
- SetNextEnabled (Enabled As Boolean)
- SetPreviousEnabled (Enabled As Boolean)
- innerInitialize (pEventName As String, pKeepOldObject As Boolean)
Properties:
- Background As Drawable
- Color As Int [write only]
- Enabled As Boolean
- Height As Int
- Left As Int
- Tag As Object
- Top As Int
- Visible As Boolean
- Width As Int
OSMDroid_LayoutParams
Fields:
- ALIGN_BOTTOM_CENTER As Int
- ALIGN_BOTTOM_LEFT As Int
- ALIGN_BOTTOM_RIGHT As Int
- ALIGN_CENTER As Int
- ALIGN_CENTER_LEFT As Int
- ALIGN_CENTER_RIGHT As Int
- ALIGN_TOP_CENTER As Int
- ALIGN_TOP_LEFT As Int
- ALIGN_TOP_RIGHT As Int
- MATCH_PARENT As Int
- WRAP_CONTENT As Int
OSMDroid_MapController
Methods:
- AnimateTo (GeoPoint1 As GeoPoint)
- AnimateTo2 (X As Int, Y As Int)
- IsInitialized As Boolean
- ScrollBy (X As Int, Y As Int)
- SetCenter (GeoPoint1 As GeoPoint)
- SetZoom (ZoomLevel As Int) As Int
Set the zoom level.
Returns the new zoom level if successful otherwise the existing zoom level.
- StopAnimation (JumpToTarget As Boolean)
Stops any running animation.
If JumpToTarget is True then the map will be centered on the animation target.
- ZoomIn As Boolean
Zoom the map in by one level.
Returns True if the map was able to be zoomed in.
- ZoomInFixing (PixelX As Int, PixelY As Int) As Boolean
- ZoomOut As Boolean
Zoom the map out by one level.
Returns True if the map was able to be zoomed out.
- ZoomOutFixing (PixelX As Int, PixelY As Int) As Boolean
- ZoomToSpan (BoundingBox1 As BoundingBoxE6)
- ZoomToSpan2 (Latitude As Double, Longitude As Double)
OSMDroid_MapTile
Methods:
- Initialize (ZoomLevel As Int, TileX As Int, TileY As Int)
- IsInitialized As Boolean
Properties:
- X As Int [read only]
- Y As Int [read only]
- ZoomLevel As Int [read only]
OSMDroid_MapTileProviderBase
Methods:
- ClearTileCache
- EnsureCapacity (Capacity As Int)
- GetMapTile (MapTile1 As MapTile) As Drawable
- GetMaximumZoomLevel As Int
- GetMinimumZoomLevel As Int
- GetTileSource As TileSource
- IsInitialized As Boolean
- SetUseDataConnection (UseData As Boolean)
- UseDataConnection As Boolean
OSMDroid_MapView
Events:
- CenterChanged As Boolean
- ZoomChanged As Boolean
Methods:
- BringToFront
- CanZoomIn As Boolean
- CanZoomOut As Boolean
- GetBoundingBox As BoundingBox
- GetBoundingBox2 (ViewWidth As Int, ViewHeight As Int) As BoundingBox
- GetController As MapController
- GetIntrinsicScreenRect As RectWrapper
- GetLatitudeSpan As Double
- GetLongitudeSpan As Double
- GetMapCenter As GeoPoint
- GetMapOrientation As Float
Get or Set the map orientation in degrees.
- GetMaxZoomLevel As Int
Get or Set the maximum allowed zoom level.
Set a value of -1 to restore the default maximum allowed zoom level.
- GetMinZoomLevel As Int
Get or Set the minimum allowed zoom level.
Set a value of -1 to restore the default minimum allowed zoom level.
- GetOverlayManager As OverlayManager
- GetOverlays As Overlays
You can add/remove/reorder your Overlays using the Overlays List.
- GetProjection As Projection
Get a projection for converting between screen-pixel coordinates and latitude/longitude coordinates.
You should not hold on to this object for more than one draw, since the projection of the map could change.
- GetScreenRect (Reuse As Rect) As RectWrapper
Gets the current bounds of the screen in screen coordinates.
Reuse - Pass an existing Rect object to reuse it or pass Null to create a new Rect object.
- GetScrollableAreaLimit As BoundingBox
Get the limit of the scrollable map.
- GetTileProvider As MapTileProviderBase
- GetZoomLevel As Int
- GetZoomLevel2 (Pending As Boolean) As Int
- Initialize (EventName As String)
- Invalidate
- Invalidate2 (arg0 As Rect)
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- InvalidateMapCoordinates (Left As Int, Top As Int, Right As Int, Bottom As Int)
- InvalidateMapCoordinates2 (Rect1 As Rect)
- IsAnimating As Boolean
- IsInitialized As Boolean
- IsUsingSafeCanvas As Boolean
- RemoveView
- RequestFocus As Boolean
- ScrollTo (X As Int, Y As Int)
- SendToBack
- SetBackgroundColor (Color1 As Int)
- SetBackgroundImage (arg0 As Bitmap)
- SetBuiltInZoomControls (Enabled As Boolean)
Set whether the built in zoom controls are enabled.
- SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
- SetMapOrientation (Degrees As Float)
- SetMaxZoomLevel (Level As Int)
- SetMinZoomLevel (Level As Int)
- SetMultiTouchControls (Enabled As Boolean)
- SetScrollableAreaLimit (BoundingBox1 As BoundingBoxE6)
Set the limit of the scrollable map.
- SetTileSource (TileSource1 As ITileSource)
Set the TileSource that the map should display.
- SetUseDataConnection (Enable As Boolean)
- UseDataConnection As Boolean
Whether to use the network connection if it's available.
- ZoomToBoundingBox (BoundingBox1 As BoundingBoxE6)
Zoom the map to enclose the specified bounding box, as closely as possible.
Permissions:
- android.permission.ACCESS_NETWORK_STATE
- android.permission.ACCESS_WIFI_STATE
- android.permission.INTERNET
- android.permission.WRITE_EXTERNAL_STORAGE
Properties:
- Background As Drawable
- Color As Int [write only]
- Enabled As Boolean
- Height As Int
- Left As Int
- Tag As Object
- Top As Int
- Visible As Boolean
- Width As Int
OSMDroid_MapViewConstants
Fields:
- ANIMATION_DURATION_DEFAULT As Int
- ANIMATION_DURATION_LONG As Int
- ANIMATION_DURATION_SHORT As Int
- ANIMATION_SMOOTHNESS_DEFAULT As Int
- ANIMATION_SMOOTHNESS_HIGH As Int
- ANIMATION_SMOOTHNESS_LOW As Int
- DEBUGMODE As Boolean
- MAXIMUM_ZOOMLEVEL As Int
- MINIMUM_ZOOMLEVEL As Int
- NOT_SET As Int
OSMDroid_Marker
Methods:
- GetDrawable As Drawable
This method will need updating to return a wrapped object.
- GetHeight As Int
- GetPoint As GeoPoint
- GetSnippet As String
- GetTitle As String
- GetUid As String
- GetWidth As Int
- Initialize (Title As String, Snippet As String, Latitude As Double, Longitude As Double)
- Initialize2 (Uid As String, Title As String, Snippet As String, Latitude As Double, Longitude As Double)
- Initialize3 (Title As String, Snippet As String, GeoPoint1 As GeoPoint)
- Initialize4 (Uid As String, Title As String, Snippet As String, GeoPoint1 As GeoPoint)
- IsInitialized As Boolean
- SetMarkerHotspot (HotspotPlace1 As HotspotPlace)
- SetMarkerIcon (Drawable1 As BitmapDrawable)
Properties:
OSMDroid_MarkerOverlay
Events:
- Click (Marker1 As OSMDroid_Marker) As Boolean
- LongClick (Marker1 As OSMDroid_Marker) As Boolean
Methods:
- AddItem (Marker1 As Marker) As Boolean
Add an OverlayItem to the MarkersOverlay.
Marker and ViewHost are both types of OverlayItem.
- AddItem2 (Index As Int, Marker1 As Marker)
- AddItems (Markers As List)
- GetBoundingBox As BoundingBox
- Initialize (EventName As String, MapView1 As MapView)
- Initialize2 (EventName As String, MapView1 As MapView, DefaultIcon As BitmapDrawable)
- IsInitialized As Boolean
- RemoveAllItems
- RemoveItem (Marker1 As Marker)
- Size As Int
Properties:
OSMDroid_MinimapOverlay
Methods:
- GetHeight As Int
- GetPadding As Int
- GetWidth As Int
- GetZoomDifference As Int
- Initialize (MapView1 As MapView)
- IsInitialized As Boolean
- SetHeight (Height As Int)
- SetPadding (Padding As Int)
- SetTileSource (TileSource1 As ITileSource)
- SetWidth (Width As Int)
- SetZoomDifference (ZoomDifference As Int)
Properties:
OSMDroid_MyLocationOverlay
Events:
- LocationChanged (NewLocation As Location, IsFirstFix As Boolean)
Methods:
- DisableFollowLocation
Disables "follow" functionality.
- DisableMyLocation
Disable location updates.
- EnableFollowLocation
Enables "follow" functionality.
- EnableMyLocation
Enable receiving location updates and show your location on the maps.
- GetLastFix As LocationWrapper
- GetMyLocation As GeoPoint
Return a GeoPoint of the last known location, or an uninitialized object if not known.
- Initialize (EventName As String, MapView1 As MapView)
- IsDrawAccuracyEnabled As Boolean
If enabled, an accuracy circle will be drawn around your current position.
- IsFollowLocationEnabled As Boolean
If enabled, the map will center on your current location and automatically scroll as you move.
- IsInitialized As Boolean
- IsMyLocationEnabled As Boolean
If enabled, the map is receiving location updates and drawing your location on the map.
- SetDrawAccuracyEnabled (Enabled As Boolean)
If enabled, an accuracy circle will be drawn around your current position.
- SetPersonHotspot (X As Float, Y As Float)
Permissions:
- android.permission.ACCESS_COARSE_LOCATION
- android.permission.ACCESS_FINE_LOCATION
Properties:
OSMDroid_Overlay
Methods:
Properties:
OSMDroid_OverlayManager
Methods:
- Add (Index As Int, Overlay1 As Overlay)
- Get (Index As Int) As Overlay
- GetTilesOverlay As TilesOverlay
Get or Set the optional TilesOverlay object.
- IsInitialized As Boolean
- Remove (Index As Int) As Overlay
- Set (Index As Int, Overlay1 As Overlay) As Overlay
- SetTilesOverlay (TilesOverlay1 As TilesOverlay)
- Size As Int
Properties:
- UseSafeCanvas As Boolean
Get or Set whether the safe drawing canvas is being used.
OSMDroid_Overlays
Methods:
- Add (Overlay1 As Overlay)
- Clear
- Get (Index As Int) As Overlay
- IndexOf (Overlay1 As Overlay) As Int
- InsertAt (Index As Int, Overlay1 As Overlay)
- IsInitialized As Boolean
- Remove (Overlay1 As Overlay)
- RemoveAt (Index As Int)
- Set (Index As Int, Overlay1 As Overlay)
Properties:
OSMDroid_PathOverlay
Fields:
- FILL As Style
Geometry and text drawn with this style will be filled, ignoring all stroke-related settings in the paint.
- FILL_AND_STROKE As Style
Geometry and text drawn with this style will be both filled and stroked at the same time, respecting the stroke-related fields on the paint.
- STROKE As Style
Geometry and text drawn with this style will be stroked, respecting the stroke-related fields on the paint.
Methods:
- AddGreatCircle (StartPoint As GeoPoint, EndPoint As GeoPoint)
- AddGreatCircle2 (StartPoint As GeoPoint, EndPoint As GeoPoint, NumberOfPoints As Int)
- AddPoint (GeoPoint1 As IGeoPoint)
- AddPoint2 (Latitude As Double, Longitude As Double)
- AddPoints (GeoPoints As List)
Add a List of GeoPoints to the path.
- ClearPath
- GetNumberOfPoints As Int
- Initialize (MapView1 As MapView, Color As Int)
- Initialize2 (MapView1 As MapView, Color As Int, Width As Int)
- IsInitialized As Boolean
- SetAlpha (Alpha As Int)
- SetColor (PathColor As Int)
- SetPathStyle (Style As Style)
Set the path style used to draw the path.
Valid values are:
PathOverlay.FILL
PathOverlay.FILL_AND_STROKE
PathOverlay.STROKE
Default value is PathOverlay.STROKE
- SetStrokeWidth (Width As Float)
Properties:
OSMDroid_Projection
Methods:
- FromMapPixels (X As Int, Y As Int) As Int[]
Returns an Array of Int (X, Y).
- FromPixels (X As Float, Y As Float) As GeoPoint
Converts screen coordinates to the underlying GeoPoint.
- FromPixels2 (X As Int, Y As Int) As GeoPoint
Create a new GeoPoint from pixel coordinates relative to the top-left of the MapView that provided this PixelConverter.
- FromPixelsToProjected (Rect1 As Rect) As RectWrapper
Translates a rectangle from screen coordinates to intermediate coordinates.
- GetBoundingBox As BoundingBox
- GetIntrinsicScreenRect As RectWrapper
- GetMapOrientation As Float
- GetNorthEast As GeoPoint
Get the coordinates of the most north-easterly visible point of the map.
- GetScreenRect As RectWrapper
- GetSouthWest As GeoPoint
Get the coordinates of the most south-westerly visible point of the map.
- GetZoomLevel As Int
- IsInitialized As Boolean
- MetersToEquatorPixels (Meters As Float) As Float
Converts a distance in meters (along the equator) to one in (horizontal) pixels at the current zoom level.
- ToMapPixels (GeoPoint1 As IGeoPoint) As Int[]
Converts a GeoPoint to its screen coordinates.
Returns an Array of Int (X, Y).
- ToMapPixelsProjected (Latitude As Double, Longitude As Double) As Int[]
Performs only the first computationally heavy part of the projection.
- ToMapPixelsTranslated (X As Int, Y As Int) As Int[]
Performs the second computationally light part of the projection.
- ToPixels (BoundingBox1 As BoundingBoxE6) As RectWrapper
- ToPixels2 (GeoPoint1 As IGeoPoint) As Int[]
OSMDroid_ScaleBarOverlay
Methods:
- DrawLatitudeScale (Latitude As Boolean)
Latitudinal / horizontal scale bar flag.
- DrawLongitudeScale (Longitude As Boolean)
Longitudinal / vertical scale bar flag.
- Initialize
- IsInitialized As Boolean
- SetCentered (Centered As Boolean)
Flag to draw the bar centered around the set offset coordinates or to the right/bottom of the coordinates (default).
- SetEnableAdjustLength (AdjustLength As Boolean)
If enabled, the bar will automatically adjust the length to reflect a round number (starting with 1, 2 or 5).
- SetImperial
Sets the length to be shown in imperial units (mi/ft).
- SetLineWidth (Width As Float)
Sets the bar's line width.
- SetMaxLength (MaxLengthInCm As Float)
Sets the maximum bar length.
- SetMetric
Sets the length to be shown in metric units (km/m).
- SetMinZoom (MinZoom As Int)
Sets the minimum zoom level for the scale bar to be drawn.
- SetNautical
Sets the length to be shown in nautical units (nm/ft).
- SetScaleBarOffset (X As Float, Y As Float)
Sets the screen offset for the bar.
- SetTextSize (TextSize As Float)
Sets the text size.
Properties:
OSMDroid_SimpleLocationOverlay
Methods:
- GetMyLocation As GeoPoint
- Initialize
- IsInitialized As Boolean
- SetLocation (GeoPoint1 As GeoPoint)
Properties:
OSMDroid_TileSource
Methods:
- GetMaximumZoomLevel As Int
- GetMinimumZoomLevel As Int
- GetTileRelativeFilenameString (MapTile1 As MapTile) As String
- GetTileSizePixels As Int
- IsInitialized As Boolean
- Name As String
- Ordinal As Int
OSMDroid_TileSourceFactory
Methods:
- AddTileSource (TileSource1 As ITileSource)
- ContainsTileSource (TileSourceName As String) As Boolean
- GetTileSource (TileSourceName As String) As TileSource
- GetTileSource2 (Ordinal As Int) As TileSource
- GetTileSources As TileSource[]
OSMDroid_TilesOverlay
Methods:
- GetLoadingBackgroundColor As Int
- GetLoadingLineColor As Int
- GetMaximumZoomLevel As Int
- GetMinimumZoomLevel As Int
- GetOvershootTileCache As Int
Get the tile cache overshoot value.
- IsInitialized As Boolean
- SetLoadingBackgroundColor (Color1 As Int)
- SetLoadingLineColor (Color1 As Int)
- SetOvershootTileCache (Overshoot As Int)
- SetUseDataConnection (Enable As Boolean)
- UseDataConnection As Boolean
Properties:
OSMDroid_TouchOverlay
Events:
- Click (GeoPoint1 As OSMDroid_GeoPoint) As Boolean
- LongClick (GeoPoint1 As OSMDroid_GeoPoint) As Boolean
- Rotate (DeltaAngle As Float)
Methods:
- Initialize (EventName As String)
- IsInitialized As Boolean
Properties:
OSMDroid_UrlTileSource
Methods:
- Initialize (MapView1 As MapView, TileSourceName As String, UrlTemplate As String, MinZoomLevel As Int, MaxZoomLevel As Int, TileSizePixels As Int)
Initialize the UrlTileSource.
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.
- Initialize2 (MapView1 As MapView, TileSourceName As String, UrlTemplates() As String, MinZoomLevel As Int, MaxZoomLevel As Int, TileSizePixels As Int)
- IsInitialized As Boolean
OSMDroid_UrlTileSourceOverlay
Methods:
- GetLoadingBackgroundColor As Int
- GetLoadingLineColor As Int
- GetMaximumZoomLevel As Int
- GetMinimumZoomLevel As Int
- GetOvershootTileCache As Int
Get the tile cache overshoot value.
- Initialize (MapView1 As MapView, TileSourceName As String, UrlTemplate As String, MinZoomLevel As Int, MaxZoomLevel As Int, TileSizePixels As Int)
- Initialize2 (MapView1 As MapView, TileSourceName As String, UrlTemplates() As String, MinZoomLevel As Int, MaxZoomLevel As Int, TileSizePixels As Int)
- IsInitialized As Boolean
- SetLoadingBackgroundColor (Color1 As Int)
- SetLoadingLineColor (Color1 As Int)
- SetOvershootTileCache (Overshoot As Int)
- SetUseDataConnection (Enable As Boolean)
- UseDataConnection As Boolean
Properties:
OSMDroid_ViewHost
Methods:
- Initialize (View1 As View, GeoPoint1 As GeoPoint, OffsetX As Int, OffsetY As Int, Alignment As Int, Visible As Boolean)
- IsInitialized As Boolean
- SetAlignment (Alignment As Int)
- SetOffset (OffsetX As Int, OffsetY As Int)
- SetPosition (GeoPoint1 As GeoPoint)
- SetView (View1 As View)
Properties:
- Tag As Object
- Visible As Boolean
OSMDroid_ViewHostOverlay
Methods:
- AddItem (ViewHost1 As ViewHost)
- GetBoundingBox As BoundingBox
- Initialize (MapView1 As MapView)
- IsInitialized As Boolean
- RemoveAllItems
- RemoveItem (ViewHost1 As ViewHost)
Properties:
OverlayItemConstants
Fields:
- HOTSPOT_BOTTOM_CENTER As HotspotPlace
- HOTSPOT_CENTER As HotspotPlace
- HOTSPOT_LEFT_CENTER As HotspotPlace
- HOTSPOT_LOWER_LEFT_CORNER As HotspotPlace
- HOTSPOT_LOWER_RIGHT_CORNER As HotspotPlace
- HOTSPOT_NONE As HotspotPlace
- HOTSPOT_RIGHT_CENTER As HotspotPlace
- HOTSPOT_TOP_CENTER As HotspotPlace
- HOTSPOT_UPPER_LEFT_CORNER As HotspotPlace
- HOTSPOT_UPPER_RIGHT_CORNER As HotspotPlace