[fusion-users] Updating (refreshing) just 1 layer.

Zac Spitzer zac.spitzer at gmail.com
Sun Jun 2 21:17:53 PDT 2013


as some explanation, mapguide layers are combined server side into
a single image, you can't just refresh a layer, you need to refresh the map
(aka a collection of layers)


On Mon, Jun 3, 2013 at 3:02 AM, GordonL
<gordon.luckett at arrowgeomatics.com>wrote:

> try this.  Works for me in MapGuide:
>
>
>
> var mapWidget = Fusion.getWidgetById("Map").aMaps[0]
> var layer = mapWidget.getLayerByName("alarms");
> if (layer) {
>    layer.noCache = true;
>    }
> mapWidget.reloadMap();
> mapWidget.drawMap();
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Updating-refreshing-just-1-layer-tp5050063p5057361.html
> Sent from the Fusion Users mailing list archive at Nabble.com.
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
+61 405 847 168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/fusion-users/attachments/20130603/59801618/attachment.html>


More information about the fusion-users mailing list