locked
Settings ShowElevationModel Property RRS feed

  • Question

  • Hi all,

    I've been trying to enable the elevation model similarly to the reference page - but when my code executes I get an uncaught exception "Uncaught TypeError: undefined is not a function". Inspecting the settings object I can see neither set_showElevationModel nor get_showElevationModel exist ... has any one else run into a similar problem/have any insight?

    Thanks and for anyone that wants it there's a code snippet below.

    Tom

    wwt = wwtlib.WWTControl.initControl("WWTCanvas");
    wwt.add_ready(wwtReady);
    wwt.endInit();
    
    function wwtReady() {
        wwt.setBackgroundImageByName("Bing Maps Aerial");
        wwt.settings.set_showElevationModel(true);
        wwt.settings.set_showCrosshairs(false);
    }

    Saturday, December 6, 2014 12:03 AM

All replies

  • Never-mind, I see now it says the feature is not implemented.
    • Proposed as answer by WWT_Ben Thursday, December 18, 2014 6:05 PM
    Saturday, December 6, 2014 2:23 AM