Leaflet Map Control
Leaflet Map Control: Overview
The Archibus Standard Leaflet Map Control provides the ability to display, query, and edit Archibus assets on a map in Standard Map Views. This gives you the opportunity to include web mapping as part of your Web Central solution.
Leaflet Map Control vs. Esri Map Control
Archibus provides two standard map controls:
- Standard Esri Map Control
- Standard Leaflet Map Control
While they offer many of the same functions, Leaflet offers these important advantages:
- Multiple providers -- With Leaflet, you can use either Google or Esri basemaps.
- Lighter weight – The Leaflet API is lighter than the Esri API. Since the API is smaller, views that contain maps load faster.
- Simplified API – The Leaflet map control API was designed to be simpler and more consistent than the Standard Esri map control. It should be easier for developers to use.
- Additional features – Leaflet offers these features, which are not yet included with the Esri map control:
- marker clusters
- an improved marker legend
- geoJson mashups
Leaflet Map Control Features
The following scenarios are supported by the Standard Leaflet Map Control:
- Show an Esri Map
- Show a Google Map
- Display Objects from a Single DataSource on a Map
- Display Objects from Multiple DataSources on a Map
- Use Marker Actions in a Map
- Map with Esri Layers
- Map with Google Layers
- Determine Asset Locations using Address Geocoding
- Specify Asset Locations using the Asset Locator
- Use Thematic (Class Break) Markers in a Map
- Use Thematic Unique Value Markers in a Map
- Use Graduated Markers in a Map
- Use Thematic (Class Break) Graduated Markers in a Map
- Use Thematic (Unique Value) Graduated Markers in a Map
- Use Proportional Markers in a Map
- Use Thematic (Class Break) Proportional Markers in a Map
- Use Thematic (Unique Value) Proportional Markers in a Map
- Use Clustered Markers in a Map
- Set Marker Colors using ColorBrewer
- Use a Custom Map Extent
- Use the Map Control Event API