Interface IMapReadable
Namespace:Mapbox.Unity.Map.Interfaces
Assembly:cs.temp.dll.dll
Syntax
public interface IMapReadable
Properties
AbsoluteZoom
Gets the zoom value at which the tiles will be requested from the service.
Use this only for calls which require an integer value of zoom to be passed in.
Declaration
int AbsoluteZoom { get; }
Property Value
Type |
Description |
System.Int32 |
|
CenterLatitudeLongitude
Declaration
Vector2d CenterLatitudeLongitude { get; }
Property Value
Type |
Description |
Vector2d |
|
CenterMercator
Declaration
Vector2d CenterMercator { get; }
Property Value
Type |
Description |
Vector2d |
|
CurrentExtent
Declaration
HashSet<UnwrappedTileId> CurrentExtent { get; }
Property Value
Type |
Description |
HashSet<UnwrappedTileId> |
|
InitialZoom
Gets the zoom value at which the map was intialized.
Declaration
Property Value
Type |
Description |
System.Int32 |
|
LoadingTexture
Declaration
Texture2D LoadingTexture { get; }
Property Value
Type |
Description |
Texture2D |
|
Root
Declaration
Property Value
Type |
Description |
Transform |
|
TileMaterial
Declaration
Material TileMaterial { get; }
Property Value
Type |
Description |
Material |
|
UnityTileSize
Declaration
float UnityTileSize { get; }
Property Value
Type |
Description |
System.Single |
|
WorldRelativeScale
Declaration
float WorldRelativeScale { get; }
Property Value
Type |
Description |
System.Single |
|
Zoom
Gets the zoom value of the map.
This allows for zoom values in between actual zoom level "AbsoluteZoom" requested from the service.
Declaration
Property Value
Type |
Description |
System.Single |
|
Methods
GeoToWorldPosition(Vector2d, Boolean)
Declaration
Vector3 GeoToWorldPosition(Vector2d latitudeLongitude, bool queryHeight = true)
Parameters
Type |
Name |
Description |
Vector2d |
latitudeLongitude |
|
System.Boolean |
queryHeight |
|
Returns
WorldToGeoPosition(Vector3)
Declaration
Vector2d WorldToGeoPosition(Vector3 realworldPoint)
Parameters
Type |
Name |
Description |
Vector3 |
realworldPoint |
|
Returns
Type |
Description |
Vector2d |
|
Events
OnInitialized
Declaration
event Action OnInitialized
Event Type
OnUpdated
Declaration
Event Type