[mapguide-users] View refresh after feature source update (sdf file update)

cremebrulee iowa747 at gmail.com
Wed Apr 24 16:35:58 PDT 2013


What is the function name for this layer refresh/redraw? I have pasted my
code and it does not seem to work with either refresh() or redraw()

var map = Fusion.getWidgetById('Map');
//map.redraw();	
var mapWidget = Fusion.getWidgetById("Map").aMaps[0];	
var layers = mapWidget.aLayers;
for (var i=0; i<layers.length; i++) 
    {        
      var layer = layers[i];
	if (layer.layerName == 'alarms')
	{
              	 //layer.redraw();
		 layer.refresh(); .
	}	
    }



-----
-mapguidenoob
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/View-refresh-after-feature-source-update-sdf-file-update-tp5048363p5049477.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list