|
override void | GetPosition (double lng, double lat, out double px, out double py) |
| Converts geographical coordinate to position in the scene relative to the top-left corner of the map in map space. More...
|
|
override Vector2 | GetScreenPosition (double lng, double lat) |
| Converts geographical coordinate to position in screen space. More...
|
|
Vector3 | GetWorldPosition (Vector2 coords) |
| Converts geographical coordinates to position in world space. More...
|
|
Vector3 | GetWorldPosition (double lng, double lat) |
| Converts geographical coordinates to position in world space. More...
|
|
Vector3 | GetWorldPositionWithElevation (double lng, double lat) |
| Converts geographical coordinates to position in world space with elevation. More...
|
|
Vector3 | GetWorldPositionWithElevation (Vector2 coords, Vector2 topLeftPosition, Vector2 bottomRightPosition) |
| Converts geographical coordinates to position in world space with elevation. More...
|
|
Vector3 | GetWorldPositionWithElevation (Vector2 coords, double tlx, double tly, double brx, double bry) |
| Converts geographical coordinates to position in world space with elevation. More...
|
|
Vector3 | GetWorldPositionWithElevation (double lng, double lat, double tlx, double tly, double brx, double bry) |
| Converts geographical coordinates to position in world space with elevation. More...
|
|
override void | UpdateControl () |
| Updates the current control. More...
|
|
OnlineMapsMarkerInstanceBase | GetBillboardMarkerFromScreen (Vector2 screenPosition) |
| Gets billboard marker on the screen position. More...
|
|
override IOnlineMapsInteractiveElement | GetInteractiveElement (Vector2 screenPosition) |
| Get the interactive element located at the screen position. More...
|
|
virtual OnlineMapsTile | CreateTile (int x, int y, int zoom, bool isMapTile=true) |
| Creates a new tile. More...
|
|
Vector2 | GetCoords () |
| Returns the geographical coordinates of the location where the cursor is. More...
|
|
Vector2 | GetCoords (Vector2 position) |
| Returns the geographical coordinates at the specified coordinates of the screen. More...
|
|
bool | GetCoords (out double lng, out double lat) |
| Returns the geographical coordinates of the location where the cursor is. More...
|
|
abstract bool | GetCoords (Vector2 position, out double lng, out double lat) |
| Returns the geographical coordinates of the location where the position is. More...
|
|
Vector2 | GetInputPosition () |
| Returns the current cursor position. More...
|
|
Vector2 | GetPosition (Vector2 coords) |
| Converts geographical coordinate to position in the scene relative to the top-left corner of the map in map space. More...
|
|
virtual Rect | GetRect () |
| Screen area occupied by the map. More...
|
|
OnlineMapsSavableItem[] | GetSavableItems () |
| Returns an array of items to save More...
|
|
Vector2 | GetScreenPosition (Vector2 coords) |
| Converts geographical coordinate to position in screen space. More...
|
|
abstract bool | GetTile (Vector2 position, out double tx, out double ty) |
| Gets a tile by screen position. More...
|
|
int | GetTouchCount () |
| Returns the current number of touches. More...
|
|
void | InvokeBasePress () |
| Invokes OnMapBasePress. More...
|
|
void | InvokeBaseRelease () |
| Invokes OnMapBaseRelease. More...
|
|
bool | IsCursorOnUIElement (Vector2 position) |
| Whether the screen position is on UI element More...
|
|
virtual void | OnAwakeBefore () |
| Event that occurs before Awake. More...
|
|
virtual void | SetTexture (Texture2D texture) |
| Specifies the texture, which will draw the map. In texture must be enabled "Read / Write Enabled". More...
|
|
void | UpdateLastPosition () |
| Force updates the latest coordinates of cursor. More...
|
|
bool | ZoomOnPoint (float zoomOffset, Vector2 screenPosition) |
| Changes the zoom keeping a specified point on same place. More...
|
|
|
Action | OnMeshUpdated |
| Event that occurs after the map mesh has been updated. More...
|
|
Action | OnUpdateMeshAfter |
| The event is called after updating the map mesh. More...
|
|
Action | OnUpdateMeshBefore |
| The event is called before updating the map mesh More...
|
|
OnlineMapsTilesetCheckMarker2DVisibility | checkMarker2DVisibility = OnlineMapsTilesetCheckMarker2DVisibility.pivot |
| Type of checking 2D markers on visibility. More...
|
|
int | elevationResolution = 32 |
| Resolution of the elevation map. More...
|
|
Material | markerMaterial |
| Material that will be used for marker. More...
|
|
Shader | markerShader |
| Shader of markers. More...
|
|
Vector2 | sizeInScene = new Vector2(1024, 1024) |
| Size of the map in the scene More...
|
|
Action | OnUpdate3DMarkers |
| Called when drawing 3d markers. More...
|
|
Camera | activeCamera |
| The camera you are using to display the map. More...
|
|
OnlineMapsElevationManagerBase | elevationManager |
| Reference to the elevation manager More...
|
|
OnlineMapsMarker2DMode | marker2DMode = OnlineMapsMarker2DMode.flat |
| Mode of 2D markers. Bake in texture or Billboard. More...
|
|
float | marker2DSize = 100 |
| Size of billboard markers. More...
|
|
OnlineMapsMarker3DManager | marker3DManager |
| Reference to marker 3D manager More...
|
|
Func< Vector2 > | OnGetInputPosition |
| Event intercepts getting current cursor position. More...
|
|
Func< Vector2[]> | OnGetMultitouchInputPositions |
| The event intercepts getting of the current multitouch points. More...
|
|
Func< int > | OnGetTouchCount |
| Event intercepts getting number of touches. More...
|
|
Action | OnMapClick |
| Event that occurs when you click on the map. More...
|
|
Action | OnMapDoubleClick |
| Event that occurs when you double-click on the map. More...
|
|
Action | OnMapDrag |
| Event that occurs when you drag the map. More...
|
|
Action | OnMapLongPress |
| Event that occurs when you long press the map. More...
|
|
Action | OnMapPress |
| Event that occurs when you press on the map. More...
|
|
Action | OnMapRelease |
| Event that occurs when you release the map. More...
|
|
Action | OnMapZoom |
| Event that occurs when you zoom the map. More...
|
|
Action | OnSmoothZoomBegin |
| Event, which occurs when the smooth zoom is started. More...
|
|
Action | OnSmoothZoomFinish |
| Event, which occurs when the smooth zoom is finish. More...
|
|
Action | OnSmoothZoomInit |
| Event, which occurs when the smooth zoom is starts init. More...
|
|
Action | OnSmoothZoomProcess |
| Event, which occurs when the smooth zoom is process. More...
|
|
Action | OnUpdateAfter |
| Event that occurs at end Update. More...
|
|
Action | OnUpdateBefore |
| Event that occurs at start Update. More...
|
|
Predicate< GameObject > | OnValidateCursorOnUIElement |
| Event validating that cursor is on UI element.
True - cursor on UI element, false - otherwise. More...
|
|
Func< OnlineMapsZoomEvent, float, bool > | OnValidateZoom |
| Event validating that current zoom event is allowed.
True - zoom is allowed, false - forbidden. More...
|
|
Texture2D | activeTexture |
| Texture, which will draw the map.
To change the texture use OnlineMapsControlBase.SetTexture. More...
|
|
bool | allowZoom = true |
| Specifies whether the user can change zoom of the map. More...
|
|
bool | allowUserControl = true |
| Specifies whether the user can manipulate the map. More...
|
|
bool | checkScreenSizeForWheelZoom = true |
| Check that the input position is on the screen. More...
|
|
OnlineMapsDrawingElementManager | drawingElementManager |
| Reference to drawing element manager More...
|
|
bool | isMapDrag |
| Specifies whether to move map. More...
|
|
bool | invertTouchZoom = false |
| Inverts the map touch zoom for mobile devices. More...
|
|
OnlineMapsMarkerManager | markerManager |
| Reference to marker manager More...
|
|
bool | smoothZoom = true |
| Specifies whether to use a smooth touch zoom. More...
|
|
bool | zoomInOnDoubleClick = true |
| Allows you to zoom the map when double-clicked. More...
|
|
OnlineMapsZoomMode | zoomMode = OnlineMapsZoomMode.target |
| Mode of zoom. More...
|
|
float | zoomSensitivity = 1 |
| Sensitivity of the zoom More...
|
|
The base class that implements the display of the map on the dynamic mesh.