This plugin provides a new field to Contact Form 7: a map with a coordinates marker, letting the user mark a location.
This plugin provides a new field to Contact Form 7: a map with a coordinates marker, letting the user mark a location.
The marker coordinates (longitude & latitude) are than passed to the contact form.
in version 2.0 i’ve added geolocation, making the map and marker to be focused on the supposed user location.
You MUST have Contact Form 7 installed!
Best way is to use WordPress’ built-in “Add New” installer:
Or:
Now that the plugin is installed you can start using it:
The map data is provided by OpenStreetMap. and is powered by Leaflet.
I really recommend using Leaflet with OSM. But if you insist than you can, as long as you know some basic html, javascript and your map api.
Simply go to the donate link.
Initial plugin release.
Switched to work with Leaflet & OpenStreetMap.
Some code fixing and cleaning.
Fixed marker icon wrong path, collision with Leaflet Maps Marker plugin.
Better code structure.
Added geolocation, now the map and marker are focused on the supposed user location.
Bug fixes in geolocation.
Added validation.
Added minimum map zoom validation.