![]() |
Online Maps
v3
|
The base class for markers. More...
Public Member Functions | |
virtual void | Dispose () |
Disposes marker More... | |
void | GetPosition (out double lng, out double lat) |
Gets location of marker. More... | |
void | GetTilePosition (out double px, out double py) |
Get tile position of the marker More... | |
void | GetTilePosition (out double px, out double py, int zoom) |
Get tile position of the marker More... | |
void | GetTilePosition (int zoom, out double px, out double py) |
Get tile position of the marker More... | |
virtual void | LookToCoordinates (Vector2 coordinates) |
Turns the marker in the direction specified coordinates. More... | |
void | SetPosition (double lng, double lat) |
Set location of marker. More... | |
void | SetDraggable () |
Makes the marker draggable. More... | |
virtual void | Update () |
Update of marker instance. More... | |
virtual void | Update (double tlx, double tly, double brx, double bry, int zoom) |
Method that called when need update marker. More... | |
Public Attributes | |
Action< OnlineMapsMarkerBase > | OnClick |
Events that occur when user click on the marker. More... | |
Action< OnlineMapsMarkerBase > | OnDoubleClick |
Events that occur when user double click on the marker. More... | |
Action< OnlineMapsMarkerBase > | OnDrag |
Events that occur when user drag the marker. More... | |
Action< OnlineMapsMarkerBase > | OnDrawTooltip |
Event caused to draw tooltip. More... | |
Action< OnlineMapsMarkerBase > | OnEnabledChange |
Event occurs when the marker enabled change. More... | |
Action< OnlineMapsMarkerBase > | OnInitComplete |
Event occurs when the marker is initialized. More... | |
Action< OnlineMapsMarkerBase > | OnLongPress |
Events that occur when user long press on the marker. More... | |
Action< OnlineMapsMarkerBase > | OnPress |
Events that occur when user press on the marker. More... | |
Action< OnlineMapsMarkerBase > | OnPositionChanged |
Event that occurs when the marker position changed. More... | |
Action< OnlineMapsMarkerBase > | OnRelease |
Events that occur when user release on the marker. More... | |
Action< OnlineMapsMarkerBase > | OnRollOut |
Events that occur when user roll out marker. More... | |
Action< OnlineMapsMarkerBase > | OnRollOver |
Events that occur when user roll over marker. More... | |
string | label = "" |
Marker label. More... | |
OnlineMapsRange | range |
Zoom range, in which the marker will be displayed. More... | |
List< string > | tags |
List of tags. More... | |
Static Public Attributes | |
static Action< OnlineMapsMarkerBase > | OnMarkerDrawTooltip |
Default event caused to draw tooltip. More... | |
Properties | |
virtual bool | enabled [get, set] |
Gets or sets marker enabled. More... | |
Vector2 | position [get, set] |
Marker coordinates. More... | |
virtual float | scale [get, set] |
Scale of marker. More... | |
virtual bool | inMapView [get] |
Checks to display marker in current map view. More... | |
The base class for markers.
|
virtual |
Disposes marker
Implements IOnlineMapsInteractiveElement.
void OnlineMapsMarkerBase.GetPosition | ( | out double | lng, |
out double | lat | ||
) |
Gets location of marker.
lng | Longitude |
lat | Latitude |
void OnlineMapsMarkerBase.GetTilePosition | ( | out double | px, |
out double | py | ||
) |
Get tile position of the marker
px | Tile X |
py | Tile Y |
void OnlineMapsMarkerBase.GetTilePosition | ( | out double | px, |
out double | py, | ||
int | zoom | ||
) |
Get tile position of the marker
px | Tile X |
py | Tile Y |
zoom | Zoom |
void OnlineMapsMarkerBase.GetTilePosition | ( | int | zoom, |
out double | px, | ||
out double | py | ||
) |
Get tile position of the marker
zoom | Zoom |
px | Tile X |
py | Tile Y |
|
virtual |
Turns the marker in the direction specified coordinates.
coordinates | The coordinates. |
Reimplemented in OnlineMapsMarker, and OnlineMapsMarker3D.
void OnlineMapsMarkerBase.SetDraggable | ( | ) |
Makes the marker draggable.
void OnlineMapsMarkerBase.SetPosition | ( | double | lng, |
double | lat | ||
) |
Set location of marker.
lng | Longitude |
lat | Latitude |
|
virtual |
Update of marker instance.
Reimplemented in OnlineMapsMarker3D.
|
virtual |
Method that called when need update marker.
tlx | Top-left longitude. |
tly | Top-left latutude. |
brx | Bottom-right longitude. |
bry | Bottom-right latitude. |
zoom | Map zoom. |
Reimplemented in OnlineMapsMarker3D.
string OnlineMapsMarkerBase.label = "" |
Marker label.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnClick |
Events that occur when user click on the marker.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnDoubleClick |
Events that occur when user double click on the marker.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnDrag |
Events that occur when user drag the marker.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnDrawTooltip |
Event caused to draw tooltip.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnEnabledChange |
Event occurs when the marker enabled change.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnInitComplete |
Event occurs when the marker is initialized.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnLongPress |
Events that occur when user long press on the marker.
|
static |
Default event caused to draw tooltip.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnPositionChanged |
Event that occurs when the marker position changed.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnPress |
Events that occur when user press on the marker.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnRelease |
Events that occur when user release on the marker.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnRollOut |
Events that occur when user roll out marker.
Action<OnlineMapsMarkerBase> OnlineMapsMarkerBase.OnRollOver |
Events that occur when user roll over marker.
OnlineMapsRange OnlineMapsMarkerBase.range |
Zoom range, in which the marker will be displayed.
List<string> OnlineMapsMarkerBase.tags |
List of tags.
|
getset |
Gets or sets marker enabled.
true if enabled, false if not.
|
get |
Checks to display marker in current map view.
|
getset |
Marker coordinates.
|
getset |
Scale of marker.