Hello, I want to write new map layers on the fly in my scripting. I have found the reference to "new layerObj()" in the documentation, but am unsure of how to write the exact syntax. Haven't had any luck with "new_layer=layerObj(mapObj)". Any help greatly appreciated. Bill