Skip to main content
100%

MapmyIndia Map Example

✓ Published0🌍 Public
SSriyaI
Last edited May 7, 2023
Created on May 7, 2023
Forked from D3 Starter

This example displays an interactive street map of India using the MapmyIndia Map SDK, with a set of static markers plotted at major city coordinates. Ten pre-defined latitude and longitude pairs are used to place each marker on the map, and the map itself supports zooming and hybrid (satellite/vector) view. The sample code integrates the D3.js v7 library to draw a circle overlay onto the map, using a hard-coded center point in Delhi and a radius of 10,000 meters. The circle is repositioned dynamically on map pan or zoom events by projecting the geographic center to screen coordinates through the map’s `unproject` and `project` methods.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes