Is it possible to load the content (i.e. the HTML displayed in the “tooltip”) of a Google Map marker only when the user actually clicks it?
I have a nice Google Map embedded on our site, and it works fine – with just 200 markers at a time. But now we would like to show a substantial number of marker(3900+), and currently all the tiny HTML pages for displaying the tooltips are set when the markers are added. Ideally, this HTML would be loaded using AJAX.
Yes, you will need to load the data you wish when a marker you have added to the map is clicked, by adding a click listener to the marker.