At the Live meetup, we talked through the easiest modules to get live maps. It is really easy compared to D7 (especially when you have help!)
MODULES TO BE INSTALLED
- Leaflet Widget for Geofield
- GeoIP Tokens (sets the map to the users current location)
1) I created a "Distributor" content type and included a Geofield using leaflet.widget as the widget. I chose Google Satellite (no API key necessary). Tick "Automatically center map on existing features" (I think this is from GeoIP). I defined more practical Zoom levels (2 to 18, with a default of 10)
2) Under Manage Display, the format is Leaflet. Bing works, so does Google Roadmap. I will try the others, including the recommend OpenStreet Mapnik.
- This didn't work in the demo. It turned out to be because if the label is set to "Inline" the map doesn't display. There is no reason to have the label, so it was probably never tested with it! But that could mean that if you have any floated elements near it, that could cause a problem as well. Perhaps there is a minimum width?
- If you are searching the forum for MapQuest because of the cost of the Google API, don't worry, you don't need it. And OpenStreet is very easy as an alternative
Thank you to the Backdrop dev team: especially Tim for setting up the session, and invaluable advice from Indigoxela