Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»
Allow you the handle the event when a feature on the map is hovered over.

Table of Contents [Hide/Show]


Code Sample

   FDOT.Map.create({
        id: 'map1',
        containerSelector: '#map',
        embedded: true,
        appId: 'basemap',
        onReady: function () {
            FDOT.Map.addFeatureSelectionChangeHandler(featureSelectionChanged);
        }
    });

    function featureSelectionChanged(s, a) {
        console.log(a.CurrentFeature);
    }

See Also

Any Questions or Comments? Email
Some of the icons created by FamFamFam.