Hi ,
I want to access all LayerpropertiesNames from mapWidget ,
i have writtin below code to access'
var mgApiMapWidgetId = 'Map';
var MainFusionWindow = GetFusionWindow();
var Fusion = MainFusionWindow.Fusion;
var mapWidget = Fusion.getWidgetById(mgApiMapWidgetId);
var CurrentMap = mapWidget.oMapOL;
var layer = CurrentMap.mapWidget.oMapOL.getLayersByName(LayerName);
var propNames = layer.attribute;// here i'm getting undefined
Please suggest me proper solution for it.
-----
VEER HCLTECH,INDIA
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/How-to-Get-LayerPropertiesNames-from-Client-Side-using-javascript-tp4995618.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