ThinkGeo.com    |     Documentation    |     Premium Support

ImageLayer

I'm trying to use a element of the class ImageLayer that appear in the api but i can't crate a object of this class. I dont know the reason. Any ideas you got will be appreciated!



Ok…I saw that ImageLayer is an abstract class. I suppose that it will be the reason.

Carlos, 
  
 Yes and that’s the reason. In fact the ImageLayer will be obsolete in next beta and we will use RasterLayer instead. (You can still use ImageLayer with a compiling warning). Here are some concrete raster layers you can use: 
 WmsRasterLayer 
 MrSidRasterLayer 
 GdiPlusRasterLayer 
 EcwRasterLayer 
  
 Besides RasterLayer, you can also find some other abstract class like Layer, GeoCanas, BaseShape, Style, etc, which are all interesting and make the Map Suite very extensible. 
  
  Ben.