[mapguide-users] New Looks of the Mobile GIS/Mapping Viewer - The Town of Qualicum Beach

RenoSun renolionheart at gmail.com
Wed Dec 23 08:47:41 PST 2015


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.


More information about the mapguide-users mailing list