Still have questions?
Contact support

Custom TopoJSON Maps


AnyChart supports Geo Data in GeoJSON, TopoJSON and SVG formats.

TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. Arcs are sequences of points, while line strings and polygons are defined as sequences of arcs. Each arc is defined only once, but can be referenced several times by different shapes, thus reducing redundancy and decreasing the file size.

A reference implementation of the TopoJSON specification is available as a command-line tool to encode TopoJSON from GeoJSON (or ESRI Shapefiles) and a client side JavaScript library to decode TopoJSON back to GeoJSON again. See and TopoJSON specification for more.

Working with TopoJSON in AnyMap is identical to working with GeoJSON in every way. Take a look at the sample of a custom map created from TopoJSON source below.

All maps in AnyChart Map Collection have both GeoJSON and TopoJSON versions, you can use whichever you like most.


JsFiddle Playground