Tag Info

New answers tagged


You might want to look at UTFGrid, a format to encode, among many things, clickable areas or points in an efficient, tiled manner. UTFGrid was created by Mapbox, so it's supported by tools you already use.


"handle" is in the properties of the feature, so it just needs to be d.properties.handle Try: feature.attr("class", function (d) { return "code " + d.properties.handle; });

Top 50 recent answers are included