|
| OnlineMapsMarker3D () |
| Constructor of 3D marker.
|
|
| OnlineMapsMarker3D (GameObject instance) |
| Create 3D marker from an existing GameObject.
|
|
void | Init (Transform parent) |
| Initializes this object.
|
|
override void | LookToCoordinates (OnlineMapsVector2d coordinates) |
| Turns the marker in the direction specified coordinates.
|
|
void | Reinit () |
| Reinitialises this object.
|
|
void | Reinit (double tlx, double tly, double brx, double bry, int zoom) |
| Reinitialises this object.
|
|
override void | Update () |
| Updates marker instance.
|
|
override void | Update (double tlx, double tly, double brx, double bry, int zoom) |
| Updates marker instance.
|
|
void | Update (Bounds bounds, double tlx, double tly, double brx, double bry, int zoom, double ttlx, double ttly, double tbrx, double tbry, float bestYScale) |
| Updates marker instance.
|
|
void | Update (OnlineMaps map, OnlineMapsControlBase3D control, Bounds bounds, double tlx, double tly, double brx, double bry, int zoom, double ttlx, double ttly, double tbrx, double tbry, float bestYScale) |
| Updates marker instance.
|
|
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.
|
|
|
float? | altitude |
| Altitude (meters).
|
|
OnlineMapsAltitudeType | altitudeType = OnlineMapsAltitudeType.absolute |
| Type of altitude.
|
|
bool | checkMapBoundaries = true |
| Need to check the map boundaries?
It allows you to make 3D markers, which are active outside the map.
|
|
OnlineMapsControlBase3D | control |
| Reference of 3D control.
|
|
bool | inited = false |
| Specifies whether the marker is initialized.
|
|
GameObject | instance |
| The instance.
|
|
GameObject | prefab |
| Marker prefab GameObject.
|
|
SizeType | sizeType = SizeType.scene |
| How marker size will be calculated.
|
|
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.
|
|
|
override bool | enabled [set] |
| Gets or sets marker enabled.
|
|
Vector3 | relativePosition [get] |
| Returns the position of the marker relative to Texture.
|
|
Quaternion | rotation [get, set] |
| Gets or sets rotation of 3D marker.
|
|
float | rotationY [get, set] |
| Y rotation of 3D marker (degree).
|
|
Transform | transform [get] |
| Gets the instance transform.
|
|
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.
|
|
3D marker class.
Can be used only when the source display - Texture or Tileset.