topojson / topojson-client

Manipulate TopoJSON, such as to merge shapes, and convert it back to GeoJSON.
ISC License
213 stars 63 forks source link

topojson.feature(topology, name) #22

Closed mbostock closed 4 years ago

mbostock commented 5 years ago

It’d be convenient to allow the feature to be specified as a name, e.g.

topojson.feature(topology, "foo")

would be equivalent to

topojson.feature(topology, topology.objects.foo)
mbostock commented 4 years ago

Added in de128d0.