Allow you the handle the event when a feature on the map is hovered over.
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