I'm wondering if there's an addon out there, where you can add a map of for example a country and define points of interest?
The issue with Google's My Maps or OpenStreetMap is that other users can download the data from your map in their preferred format, allowing third parties to create a new map based on your work. To fully leverage the APIs, it is advisable to rely on an add-on that integrates them seamlessly.but it's certainly doable with the google maps api, and probably with mapbox too if your traffic is too high for the google maps costs.
Item Management System
IMS is designed for forum owners to provide an interface for their members to create an items database. Items can be rated/reviewed and there is a questions/answers interface. Supported XenForo Branch: XF 2.3 Available Unsupported XenForo Branches...xenaddons.com
..there is no PLOT MARKERS functionality in any of my addons, its all Location based (adding a valid address).
.there is no PLOT MARKERS functionality in any of my addons, its all Location based (adding a valid address).
I use the Google Maps Geocoding API for fetching location data. I store not only Lat/Long, but a ton of other useful location data that the API returns. The API only comes into play when creating a piece of content and setting a location OR when editing a piece of content and changing the location (or adding a location when there was no location set).To do this you use the GeoEncoding API to take in an address, and Google Returns a Lat Long, which can then be stored locally in the database.
Then when the map loads it can read all the marker lat longs locally and plot the markers on the map and you're only paying for the map load and not the geocoding.
Just to clarify and ensure that Bob's words are not misinterpreted, as they have been taken from a much broader discussion: I had a large database of coordinate markers, and most of these markers did not have a physical address because they were located in unnamed areas or streets. Attempting reverse geocoding, at best, would yield the name of the province, while details like street name, city, or municipality were often missing. This explains Bob's response. However, for @Artonn, Bob's add-on could work perfectly, which is why I suggest contacting him.Yes, I wouldn't recommend My Maps for a large robust system, but it's a free entry level DIY option with no need for a developer.
A custom system could be built on Google Maps API, Mapbox API or probably even OpenStreetmap with Leaflet JS, but I've not explored OpenStreetmap.
So the way Google Maps works is that to add a marker to the map, you need the Lat Long of place.
To get the Lat Long you need to GeoEncode the address.
To do this you use the GeoEncoding API to take in an address, and Google Returns a Lat Long, which can then be stored locally in the database.
Then when the map loads it can read all the marker lat longs locally and plot the markers on the map and you're only paying for the map load and not the geocoding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.