Hello,
My 'World Coastlines' aren't showing. Is there a way to turn this on in a script? Or to set in globally and hence doesn't need to be set in a script?
Thanks,
TJS
World Coastlines
Re: World Coastlines
Hi Tim-
Currently map control from scripts is being developed in these inquiries:
http://mcidas.ssec.wisc.edu/inquiry-v/?inquiry=1691 (in programmer iteration, main functionality should be working in the nightly if you wanted to try it out)
http://mcidas.ssec.wisc.edu/inquiry-v/?inquiry=1741 (queued for quick development, a scripting command to turn on/off map layer visibility)
Also, I was working with the World Coastlines, and per my defaults, the World Coastlines are always drawn which appears to be the behavior if you haven't changed your map defaults. I created a Default Map Set which had the World Coastlines turned off. Then any subsequent display did not have the World Coastlines drawn. If you have set a Default Map Set previously, possibly this is overriding the map in your scripting. You can remove the Default Map Set from the Layer Control tab by choosing File->Default Maps->Remove Local Map Defaults to see if that is the cause of this behavior.
Thanks, Jay
Currently map control from scripts is being developed in these inquiries:
http://mcidas.ssec.wisc.edu/inquiry-v/?inquiry=1691 (in programmer iteration, main functionality should be working in the nightly if you wanted to try it out)
http://mcidas.ssec.wisc.edu/inquiry-v/?inquiry=1741 (queued for quick development, a scripting command to turn on/off map layer visibility)
Also, I was working with the World Coastlines, and per my defaults, the World Coastlines are always drawn which appears to be the behavior if you haven't changed your map defaults. I created a Default Map Set which had the World Coastlines turned off. Then any subsequent display did not have the World Coastlines drawn. If you have set a Default Map Set previously, possibly this is overriding the map in your scripting. You can remove the Default Map Set from the Layer Control tab by choosing File->Default Maps->Remove Local Map Defaults to see if that is the cause of this behavior.
Thanks, Jay
Re: World Coastlines
Hi Tim,
A quick function was outlined in this forum post
viewtopic.php?f=14&t=1393&hilit=World+Coastlines
Hope this helps,
Joleen
A quick function was outlined in this forum post
viewtopic.php?f=14&t=1393&hilit=World+Coastlines
panel=buildWindow(height=500, width=500)
panel[0].setMapVisibilityByDescription('World Coastlines',False
Hope this helps,
Joleen