|
OnlineMapsVector2i | GetAlignedPosition (OnlineMapsVector2i pos) |
| Gets aligned position.
|
|
OnlineMapsVector2i | GetAlignedPosition (int px, int py) |
| Gets aligned position.
|
|
OnlineMapsVector2i | GetAlignOffset () |
| Gets aligned offset (in pixels).
|
|
bool | HitTest (Vector2 coordinates, int zoom) |
| Determines if the marker at the specified coordinates.
|
|
void | Init (int? width=null, int? height=null) |
| Initializes this marker.
|
|
override void | LookToCoordinates (OnlineMapsVector2d coordinates) |
| Turns the marker in the direction specified coordinates.
|
|
virtual void | Dispose () |
| Disposes marker.
|
|
T | Get< T > (string key) |
| Gets the value from the customFields dictionary by key.
|
|
void | GetPosition (out double lng, out double lat) |
| Gets location of marker.
|
|
void | GetTilePosition (out double px, out double py) |
| Get tile position of the marker.
|
|
void | GetTilePosition (out double px, out double py, int zoom) |
| Get tile position of the marker.
|
|
void | GetTilePosition (int zoom, out double px, out double py) |
| Get tile position of the marker.
|
|
bool | InMapView () |
| Checks if the marker is in the current map view.
|
|
void | LookToCoordinates (double longitude, double latitude) |
| Turns the marker in the direction specified coordinates.
|
|
void | SetPosition (double lng, double lat) |
| Set location of marker.
|
|
void | SetDraggable (bool value=true) |
| Makes the marker draggable or un draggable.
|
|
virtual void | Update () |
| Update of marker instance.
|
|
virtual void | Update (double tlx, double tly, double brx, double bry, int zoom) |
| Method that called when need update marker.
|
|
|
OnlineMapsAlign | align = OnlineMapsAlign.Bottom |
| Marker texture align.
|
|
bool | locked |
| Specifies to OnlineMapsBuffer that the marker is available for drawing.
Please do not use.
|
|
Rect | markerColliderRect = new Rect(-0.5f, -0.5f, 1, 1) |
| Relative area of activity of the marker.
|
|
Action< OnlineMapsMarkerBase > | OnClick |
| Events that occur when user click on the marker.
|
|
Action< OnlineMapsMarkerBase > | OnDoubleClick |
| Events that occur when user double click on the marker.
|
|
Action< OnlineMapsMarkerBase > | OnDrag |
| Events that occur when user drag the marker.
|
|
Action< OnlineMapsMarkerBase > | OnDrawTooltip |
| Event caused to draw tooltip.
|
|
Action< OnlineMapsMarkerBase > | OnEnabledChange |
| Event occurs when the marker enabled change.
|
|
Action< OnlineMapsMarkerBase > | OnInitComplete |
| Event occurs when the marker is initialized.
|
|
Action< OnlineMapsMarkerBase > | OnLongPress |
| Events that occur when user long press on the marker.
|
|
Action< OnlineMapsMarkerBase > | OnPress |
| Events that occur when user press on the marker.
|
|
Action< OnlineMapsMarkerBase > | OnPositionChanged |
| Event that occurs when the marker position changed.
|
|
Action< OnlineMapsMarkerBase > | OnRelease |
| Events that occur when user release on the marker.
|
|
Action< OnlineMapsMarkerBase > | OnRollOut |
| Events that occur when user roll out marker.
|
|
Action< OnlineMapsMarkerBase > | OnRollOver |
| Events that occur when user roll over marker.
|
|
string | label = "" |
| Marker label.
|
|
OnlineMapsRange | range |
| Zoom range, in which the marker will be displayed.
|
|
List< string > | tags |
| List of tags.
|
|
|
Color32[] | colors [get] |
| Gets the marker colors.
|
|
override bool | enabled [set] |
| Gets or sets marker enabled.
|
|
int | height [get] |
| Gets the marker height.
|
|
Rect | realScreenRect [get] |
| Area of the screen, which is a marker after map will be redrawed. Note: When used as a source display Texture or Tileset, is not returned the correct value.
|
|
float | rotation [get, set] |
| Gets or sets the rotation of the marker (0-1).
|
|
float | rotationDegree [get, set] |
| Gets or sets the rotation of the marker in degree (0-360)
|
|
Rect | screenRect [get] |
| Area of the screen, which is a marker at the current map display. Note: When used as a source display Texture or Tileset, is not returned the correct value.
|
|
Texture2D | texture [get, set] |
| Texture marker.
Texture format: ARGB32.
Must enable "Read / Write enabled".
After changing the texture you need to call OnlineMapsMarker.Init.
|
|
int | width [get] |
| Gets the marker width.
|
|
Dictionary< string, object > | customFields [get] |
| Get customFields dictionary.
|
|
virtual bool | enabled [get, set] |
| Gets or sets marker enabled.
|
|
bool | isDraggable [get, set] |
| Makes the marker draggable or un draggable.
|
|
IOnlineMapsInteractiveElementManager | manager [get, set] |
| Reference to Marker Manager.
|
|
Vector2 | position [get, set] |
| Marker coordinates.
|
|
virtual float | scale [get, set] |
| Scale of marker.
|
|
virtual bool | inMapView [get] |
| Checks to display marker in current map view.
|
|
object | this[string key] [get, set] |
| Get or set a value in the customFields dictionary by key.
|
|