Do you choose Openlayers or Leaflet to generate maps on your websites because that's what you always choose?
Is one better than the other?
We will take a few use cases and show how they could be build with both Openlayers and Leaflet, and discuss what criteria could be to choose either.
4. What does the OpenLayers module?
1. Building queries
> using Views
2. Configuring maps
> Openlayers settings
3. Putting the map(s) on the site
> either using Views or OL blocks
5. What does the Leaflet module?
1. Building queries
> using Views
2. Configuring maps
> Using the API → hook
3. Putting the map(s) on the site
> Views (step 1) or Leaflet GeoJSON (ajax)
6. What not in OL & Leaflet modules?
•data input,
•geocoding
•data storage
•proximity search
... but other modules do that.
7. OL other modules and resources
•Geofield 2
•Geocoder
•OL Blocks
•OL Filters
•OL Feature Popups
•....
8. Leaflet other modules and resources
•Geofield 2
•Geocoder
•Leaflet markercluster
•Leaflet widget
•Leaflet more maps
•Leaflet label
•....
17. 2.3 OL Map Specific settings
Base Layer
Layers = Data Overlays
Markers per Layer
Initial Zoom level
and focus
Behavior:
Layerswitcher,
Navigation,
Tooltps etc.
Why map? Ideas?
Visualize spatial phenomena to understand, orientate
Disaster recovery
Tell a story, treasure maps
Social networking, where are my friends?
GPS, smartphones, pictures
Design and planning