SITN API Documentation

Sitn.Map({options})

class Sitn.Map({options})

paramètres options Object options

Paramètres obligatoires :

Paramètres optionels :

Renvoi Sitn.Map

Méthodes
Exemple


    var map = new Sitn.Map({
        div: 'map3',
        displayCoords: true,
        layers: ['plan_ensemble_gris'],
        easting: 2549000,
        northing: 1204000,
        zoom: 4
    });

    map.addMarkers([
        {
            easting: 2549500,
            northing: 1203500,
            icon: 'images/info.png',
            iconWidth: 14,
            iconHeight: 14
        },{
            easting: 549700,
            northing: 203500,
        }
    ]);