|
| void | StartDownloadElevationTile (Tile tile) |
| | Starts downloading elevation data for a tile.
|
| |
| virtual void | SetElevationData (short[,] data) |
| | Sets elevation data.
|
| |
|
void | CancelCurrentElevationRequest () |
| | Cancel current elevation request.
|
| |
| float | GetMaxElevation (float yScale) |
| | Returns the maximum known elevation value.
|
| |
| float | GetMinElevation (float yScale) |
| | Returns the minimum known elevation value.
|
| |
|
void | RequestNewElevationData () |
| | Downloads new elevation data for area.
|
| |
|
|
Action< Tile > | OnDownload |
| | Called when data download starts.
|
| |
|
Action< Tile, OnlineMapsWWW > | OnDownloadSuccess |
| | Called when data is successfully downloaded.
|
| |
|
int | zoomOffset = 3 |
| | Offset of tile zoom from map zoom.
|
| |
|
bool | cacheElevations = true |
| | Cache elevations?
|
| |
|
Action< string > | OnElevationFails |
| | Called when downloading elevation data failed.
|
| |
|
Action | OnElevationRequested |
| | Called when downloading of elevation data began.
|
| |
|
Action | OnElevationUpdated |
| | Called when elevation data has been updated.
|
| |
|
Action< double, double, double, double > | OnGetElevation |
| | Called when downloading of elevation data for an area begins.
|
| |
|
OnlineMapsElevationBottomMode | bottomMode = OnlineMapsElevationBottomMode.zero |
| | The rule for calculating the lowest point of the map mesh.
|
| |
|
float | scale = 1 |
| | Scale of elevation values.
|
| |
|
OnlineMapsRange | zoomRange = new OnlineMapsRange(11, OnlineMaps.MAXZOOM_EXT) |
| | Range when elevations will be shown.
|
| |
|
short | minValue |
| | The minimum elevation value.
|
| |
|
short | maxValue |
| | The maximum elevation value.
|
| |
|
bool | lockYScale = false |
| | Lock yScale value.
|
| |
|
float | yScaleValue = 1 |
| | Fixed yScale value.
|
| |
|
| static float | GetBestElevationYScale () |
| | Returns yScale for an area.
|
| |
| static float | GetBestElevationYScale (double tlx, double tly, double brx, double bry) |
| | Returns yScale for an area.
|
| |
| static float | GetBestElevationYScale (OnlineMapsElevationManagerBase manager, double tlx, double tly, double brx, double bry) |
| | Returns yScale for an area.
|
| |
| static float | GetElevation (double x, double z, float? yScale=null) |
| | Returns the scaled elevation value for a point in the scene relative to left-top corner of the map.
|
| |
| static float | GetElevation (double x, double z, float yScale, double tlx, double tly, double brx, double bry) |
| | Returns the scaled elevation value for a point in the scene relative to left-top corner of the map.
|
| |
| static float | GetUnscaledElevation (double x, double z) |
| | Returns the unscaled elevation value for a point in the scene relative to left-top corner of the map.
|
| |
| static float | GetUnscaledElevation (double x, double z, double tlx, double tly, double brx, double bry) |
| | Returns the unscaled elevation value for a point in the scene relative to left-top corner of the map.
|
| |
| static float | GetUnscaledElevationByCoordinate (double lng, double lat) |
| | Returns the unscaled elevation value for a coordinate.
|
| |
|
static bool | isEnabled [get] |
| | Elevation manager is enabled.
|
| |
|
static OnlineMapsElevationManagerBase | instance [get] |
| | Instance of elevation manager.
|
| |
|
static bool | isActive [get] |
| | Elevation manager is active?
|
| |
|
static bool | useElevation [get] |
| | Are elevations used for map?
|
| |
|
bool | hasData [get] |
| | Elevation manager has elevation data.
|
| |
Implements elevation managers, which loads elevation data by tiles.
- Template Parameters
-
| T | Type of elevation manager |