mistercyril
Member
Posted 1 year ago #
Hello,
I've implemented Geo Mashup successfully, but when the map loads a little revolving "loading icon" displays in the middle of the map.
Even when all 3 pins are displayed (I only have 3 entries for the moment) the "busy icon" doesn't go away...
Could I have missed something?
Thanks,
C.
The loading icon should go away when all the map image tiles in the initial view have loaded. I'll take a look if you give me the URL.
mistercyril
Member
Posted 1 year ago #
Unfortunately I can't for the moment :-(
Let me set up a preview and i'll get back to you on this.
Thanks,
C.
Ok, I took a look. The only possible cause I can see is that the google API is loaded twice. If you have other map plugins active, try deactivating them.
A workaround could be to call GeoMashup.hideLoadingIcon() in your custom.js in the loadedMap aciton.
mistercyril
Member
Posted 1 year ago #
I'm sorry but i'm a bit fuzzy on the syntax. Could you give me an example of where it should go?
I tried this but it didn't work :
function handleNoGeolocation(errorFlag) {
if (errorFlag == true) {
initialLocation = newyork;
} else {
initialLocation = siberia;
}
map.setCenter(initialLocation);
}
GeoMashup.hideLoadingIcon();
} );