Snippets

Piotr Szrajber Geospatial Portal SDK - Control settings from the Settings Panel programmatically

Created by Piotr Szrajber
1
2
3
4
5
6
7
8
$GP.ready(function() {
    $GP.settings.set({
        showCoords: true,
        showCrosshair: false, // disable the crosshair!
        showScale: true,
        showNavigator: true
    });
});

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.