From June 11 2018, Google Map will require a billing account to use a Google api key.
It would be great to add support in the ACF core for an OpenStreetMap field to be used as an alternative to Google Map.
This plugin seems to work well for now:
it uses in the administration screen Leafletjs to rendering the map and photon.komoot.de for geocoding
I was just looking for the same function. This will be very helpful.
The plugin from mcguffin hasn’t been commited since november and there is some todo list which make me think this is an abandoned project :/
Currently this plugin allows you to replicate all the features of the standard Google map field. Regarding the todo list, the html-output is not necessary, I write myself the code needed for site templates.
However, my concern is about supporting future versions of ACF, which is why I asked for inclusion in the core
I agree as well, this would be very helpful. I will try the plugin suggested as well, but would be great if this could be added to ACF Core.
To be clear, Google didn’t just change the pricing structure, but as of June 11th, they’re saying you can’t use their platform for Directories.
3.2.4 Restrictions Against Misusing the Services.
(c) No Re-Creating Google Products or Features. Customer will not use the Services to create a product or service with features that are substantially similar to or that re-create the features of another Google product or service. Customer’s product or service must contain substantial, independent value and features beyond the Google products or services. For example, Customer will not:
(iii) use the Google Maps Core Services in a listings or directory service or to create or augment an advertising product;
If that’s not a reason for ACF to bring openstreetmap to core, IDK what is.
+1, highly needed 😉!
OpneStreetMap support urgently needed imo.
Probably not an easy task, but I support it. Any way to get the choice with Google alternatives is welcome.
Now in some websites i’m using the ACF google map field in the wordpress backend, while in the front end I’m using openstreetmap with leaflet.js (retrieving the coordinates from the google map field)
Google maps changes, for an agency especially, have made it unmanageable and too often leaves them with the bill. OpenStreetMap with leaflet.js is a must.
Absolutely brilliant solution ! It should be added by default. 😉
Here is a complete example for a list of farm houses, I include the map both in the single post (one marker) and in the archive page with all the properties (multiple markers), it’s a simple port of what I used with google map.
In the html code you need a div with id “acf-map” and the appropriate css style.
There is some way to change the map marker in OpenMapStreet, I am using Elementor PRO and ACF PRO thanks!
Hi, thanks for the the work on this.
How can a map be displayed on the front end for each post with this field?
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2019 Advanced Custom Fields. Subscribe