|
Map |
Top Previous Next |
The map may show markers indicating current location of devices providing GPS data, along with their track paths. This is what a map component looks like:
Zooming and Panning The map can me panned by clicking a certain point and dropping it over another map location. This will move map center accordingly. Zooming into/from current mouse location is enabled by using mouse wheel. Datum This map component uses WGS84 datum. Any device that provides location data for AggreGate must be set up to use WGS84 datum in order to be properly displayed on the map. Common Properties Width, Height, Bindings, Visible, Border, Tooltip Custom Properties Instructs map renderer to set zoom level automatically so that map center, all markers and paths will be visible without additional panning. Property name: detectZoom Property type: Boolean Zoom Level Zoom Level defines the resolution of the current view. Zoom levels between 0 (the lowest zoom level, in which the entire world can be seen on one map) to 21+ (down to individual buildings) are possible. Each succeeding zoom level doubles the precision in both horizontal and vertical dimensions.
If no data is available for the current location and selected zoom level, the map will display blank image instead. Property name: zoom Property type: Integer Map Type Four map types are supported:
Property name: mapType Property type: String Tracked Devices This setting is a context mask. All Devices providing their location data those context paths match this mask will be shown on the map as markers. The mask may resolve to:
Property name: deviceMask Property type: String Displayable Track Length A number of Device track waypoints to show on the map.
Property name: trackLength Property type: Integer Location Properties This setting allows to specify how the map is centered:
Property name: locationType Property type: Integer Geolocation This option is enabled if Location Type is Geolocation. It specifies map center's geocode, e.g. Berkeley,CA. Property name: geoLocation Property type: String Latitude This option is enabled if Location Type is Latitude/Longitude. It specifies latitude of the fixed map center. Property name: latitude Property type: Float Longitude This option is enabled if Location Type is Latitude/Longitude. It specifies longitude of the fixed map center. Property name: longitude Property type: Float Common Events Hidden, Shown, Moved, Resized, Mouse Clicked, Mouse Pressed, Mouse Released, Mouse Entered, Mouse Exited, Mouse Moved, Mouse Wheel Moved, Key Typed, Key Pressed, Key Released, Focus Gained, Focus Lost |