GM_LoadLayerListEx

ahmadi86
ahmadi86 Global Mapper User
edited February 2008 in Technical Support
Hello everybody

We (I mean my friend Yaser and me) are gonna load a file with an unknown extension (say something like london.dat). we found that it's possible by GM_LoadLayerListEx function, it's just needed to specify Layer_Type. we did it for a GeoTiff file and it worked. but we couldn,t do it for a DEM file. we don't know which type we sould put in extraloadoptions string. we tried
DEM
USGS
CDED
USGS/CDED
USGS/CDED DEM
MicroDem
...

you know actually there isn't any enumeration for the overlay types!

The amazing thing is that when you open the file (london.dat) in globalmapper itself
it shows you a dialog and you can select the overlay type and if you select USGS/CDED DEM
it will work!

could you help us please? thanks in advance.

Best regards.

Comments