WordPress.org

Forums

Geo Mashup
busy_icon.gif persistantly displaying on map (5 posts)

  1. mistercyril
    Member
    Posted 4 years 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.

  2. Dylan Kuhn
    Member
    Plugin Author

    Posted 4 years ago #

    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.

  3. mistercyril
    Member
    Posted 4 years 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.

  4. Dylan Kuhn
    Member
    Plugin Author

    Posted 4 years ago #

    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.

  5. mistercyril
    Member
    Posted 4 years 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();
    } );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic