I am using  Pace.js <http://github.hubspot.com/pace/docs/welcome/>  .

I restart the loading every time when mgLayer (maguide map image) loadstart.

    //loading indicator
    mgLayer.events.register("loadstart", mgLayer, function () {
        $(".readyMAP").remove();
        Pace.restart();
    });

    mgLayer.events.register("loadend", mgLayer, function () {
        $("#map").append("<p class='readyMAP' style='display:none;'></p>");
    });

Ha...it may not be the best way to do it.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/New-Looks-of-the-Mobile-GIS-Mapping-Viewer-The-Town-of-Qualicum-Beach-tp5242395p5242857.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to