MapView resources
The SDK includes some resources which can be set in the layout xml for the MapView to specify initial properties for your map. At a minimum, you should set the initial latitude, longitude, and either distance or zoom.
Resource name | Type | Description |
---|---|---|
camera_target_latitude | float | Latitude of the camera start position, in degrees. Default is 0. |
camera_target_longitude | float | Longitude of the camera start position, in degrees. Default is 0. |
camera_target_altitude | float | Altitude of the camera, in meters. Default is 0. |
camera_distance | float | Distance of the camera from the point specified by camera_target_latitude and camera_target_longitude. If present, this will determine the initial zoom level of the map. |
camera_zoom | float | Zoom level as a discrete value between 0 and 26, where 0 is a global view and 26 is maximum zoom. The value is interpreted as an integer. If both camera_zoom and camera_distance are present, camera_distance will be used. |
camera_bearing | float | Angle of camera in degrees, relative to North. Default is 0, i.e. the camera will point North. |
camera_tilt | float | Angle of camera in degrees, relative to the Earth’s tangent plane. Default value will be calculated depending on altitude. |
coverage_tree_manifest | string | Set this to override the default coverage tree manifest url. |
environment_themes_manifest | string | Set this to override the default environment themes manifest url. |
In layout XML, these resources would be set in the MapView element, for example:
If you do not specify these options in layout XML, you should set them in an EegeoMapOptions object passed to the MapView constructor.
v0.0.1467
- Introduction
- EegeoMapOptions
- OnInitialStreamingCompleteListener
- OnMapReadyCallback
- MapFeatureType
- Promise
- Ready
- Polygon
- PolygonOptions
- Polyline
- PolylineOptions
- IndoorMap
- OnIndoorEnteredListener
- OnIndoorExitedListener
- OnIndoorEnterFailedListener
- OnFloorChangedListener
- OnIndoorMapLoadedListener
- OnIndoorMapUnloadedListener
- IndoorMapEntity
- IndoorMapEntityInformation
- IndoorMapEntityLoadState
- OnIndoorMapEntityInformationChangedListener
- IndoorMapFloorOutlineInformation
- IndoorMapFloorOutlinePolygon
- IndoorMapFloorOutlinePolygonRing
- OnIndoorMapFloorOutlineInformationLoadedListener
- BuildingHighlight
- BuildingHighlightOptions
- BuildingInformation
- BuildingDimensions
- BuildingContour
- OnBuildingInformationReceivedListener
- Prop
- PropOptions
- PickResult
- BlueSphere
- PoiService
- PoiSearch
- TextSearchOptions
- TagSearchOptions
- AutocompleteOptions
- PoiSearchResponse
- PoiSearchResult
- OnPoiSearchCompletedListener
- TagService
- OnTagsLoadCompletedListener
- MapsceneService
- MapsceneRequest
- MapsceneRequestOptions
- MapsceneRequestResponse
- Mapscene
- OnMapsceneRequestCompletedListener
- MapsceneSearchConfig
- MapsceneStartLocation
- MapsceneDataSources
- RoutingService
- RoutingQuery
- RoutingQueryOptions
- RoutingQueryResponse
- Route
- RouteSection
- RouteStep
- RouteDirections
- TransportationMode
- OnRoutingQueryCompletedListener
- RouteView
- RouteViewOptions
Overview
Supporting classes
Polygons
Polylines
Indoor maps
Indoor map entities
Indoor map floor outlines
Buildings
Props
Picking
Widgets (Optional)
POI Service (Optional)
Tag Service (Optional)
Mapscene Service (Optional)
Routing Service (Optional)
RouteView Widget (Optional)
Overview
Introduction
Supporting classes
EegeoMapOptions
OnInitialStreamingCompleteListener
OnMapReadyCallback
MapFeatureType
Promise
Ready
Polygons
Polygon
PolygonOptions
Polylines
Polyline
PolylineOptions
Indoor maps
IndoorMap
OnIndoorEnteredListener
OnIndoorExitedListener
OnIndoorEnterFailedListener
OnFloorChangedListener
OnIndoorMapLoadedListener
OnIndoorMapUnloadedListener
Indoor map entities
IndoorMapEntity
IndoorMapEntityInformation
IndoorMapEntityLoadState
OnIndoorMapEntityInformationChangedListener
Indoor map floor outlines
IndoorMapFloorOutlineInformation
IndoorMapFloorOutlinePolygon
IndoorMapFloorOutlinePolygonRing
OnIndoorMapFloorOutlineInformationLoadedListener
Buildings
BuildingHighlight
BuildingHighlightOptions
BuildingInformation
BuildingDimensions
BuildingContour
OnBuildingInformationReceivedListener
Props
Prop
PropOptions
Picking
PickResult
Widgets (Optional)
BlueSphere
POI Service (Optional)
PoiService
PoiSearch
TextSearchOptions
TagSearchOptions
AutocompleteOptions
PoiSearchResponse
PoiSearchResult
OnPoiSearchCompletedListener
Tag Service (Optional)
TagService
OnTagsLoadCompletedListener
Mapscene Service (Optional)
MapsceneService
MapsceneRequest
MapsceneRequestOptions
MapsceneRequestResponse
Mapscene
OnMapsceneRequestCompletedListener
MapsceneSearchConfig
MapsceneStartLocation
MapsceneDataSources
Routing Service (Optional)
RoutingService
RoutingQuery
RoutingQueryOptions
RoutingQueryResponse
Route
RouteSection
RouteStep
RouteDirections
TransportationMode
OnRoutingQueryCompletedListener
RouteView Widget (Optional)
RouteView
RouteViewOptions