...with the following error message in the console: ...initMap is not a function...
Any ideas, why the third demo doesn't work?
All three demos share the above code. In all three cases the div id="map" is dimensioned generously in the respective stylesheets to reserve space for the map. The only striking difference to Demo 3 is that some scripts, including Ajaxify are loaded later. It is a Bootstrap + Ajaxify site with extremely clean HTML, whereas the first two demos are Wordpress + Ajaxify sites.
The text was updated successfully, but these errors were encountered:
In the last while, I have been trying to add Google Maps support to Ajaxify.
Here is the salient HTML I'm trying out now, which should be placed on the target page (only):
(the last line I have made up myself, for the approach to work with Ajaxify)
You can see it working without issues on these two sites:
However, it fails on this site:
...with the following error message in the console: ...initMap is not a function...
Any ideas, why the third demo doesn't work?
All three demos share the above code. In all three cases the
div id="map"
is dimensioned generously in the respective stylesheets to reserve space for the map. The only striking difference to Demo 3 is that some scripts, including Ajaxify are loaded later. It is a Bootstrap + Ajaxify site with extremely clean HTML, whereas the first two demos are Wordpress + Ajaxify sites.The text was updated successfully, but these errors were encountered: