Include GIS maps in a mobile app
Mobile Framework
Include GIS maps in a mobile app
Example Views: Solutions Template / Controls / Maps
Archibus Mobile users may want to have a map handy from the mobile app for locating buildings, rooms, and assets. Mobile users can drill down from city, to site, to building, to room to find the data that they need. For example:
- Maintenance app users need to find the locations of maintenance requests and craftspersons.
- Users of the Workplace Services app need to find nearest available (bookable) meeting or working space.
- Assessment and Space & Occupancy surveyors need to locate survey locations.
- Users of the Asset & Equipment Survey, Material Hazards, and Incidents Reporting apps need to geo-locate assets, hazardous materials, and incidents.
With the GIS features, users can:
- find locations on the map
- find the nearest locations that match their criteria
- send GPS location from the field
- locate a new item (asset, incident, etc.) on the map
The mobile framework GIS features include:
- displaying an ESRI map
- displaying ESRI base maps
- displaying a specific location
- adding markers to ESRI maps
- using thematic markers to convey information about specific locations
- adding actions to markers displayed on the map.
Adding a map view to a mobile form is accomplished by adding the
esrimap
component.
config: {
items: [
{
xtype: 'esrimap',
basemapLayer: 'World Topographic Map',
mapCenter: [42.35803652353272, -71.06163024902344],
mapZoom: 14,
style: 'height:100%;width:100%'
}
]
}
The mobile map implementation uses the same Leaflet API that is used in the Web Central product. The mobile map API is similar to the Web Central map API, but it is not identical.
For background, you may wish to review the Web Central Leaflet API topics ; however, note that they do not correlate directly with the mobile implementation.