[mapguide-users] Determine if Layer is a Raster Layer

Adnan Chughtai adnan.chughtai at keynetix.com
Tue May 6 09:48:55 EDT 2008


Hello All,

Currently working with the API for MapGuide OpenSource 2.0 and have an issue with determining with a Layer is a Raster Layer.  I am using the OSGeo FDO Provider for Raster

In MapGuide 6 - the method getLayerType() returned a string denoting the layer type, e.g Polyline, Polygon, Raster, etc.

In MGOS 2.0, the method getLayerType() returns an int with two possible values 2 -Basemap or 1 - Dynamic.  Is there a method in MGOS 2.0 API that does a similar function as the getLayerType which is in MapGuide 6?

Regards,

Adnan



More information about the mapguide-users mailing list