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:

    <com.eegeo.mapapi.MapView
        ...
        eegeo:camera_target_latitude="37.7858"
        eegeo:camera_target_longitude="-122.398"
        eegeo:camera_zoom="16"
    />

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.1120
Overview Introduction
Picking PickResult
Widgets (Optional) BlueSphere
Tag Service (Optional) TagService OnTagsLoadCompletedListener
RouteView Widget (Optional) RouteView RouteViewOptions