I manage a website for a client whose area of business covers a section of the Midwest US. I created a "territory map" (not sure if there's a better term for it) as a PNG image several years ago, and as you can see, it's very mediocre.

enter image description here

Their servicing area is expanding, and I'd like use some kind of JavaScript or .NET library on their site to implement a much better map which meets the following criteria:

  1. Interactive instead of being a static image
  2. Looks better
  3. Is easy to make changes to

I don't care if it needs a data source or if you can configure the shape of the territory with click-and-drag. Either method works. Any suggestions?


I think that what you are looking for is leafletjs which is an open-source JavaScript library for mobile-friendly interactive maps.

You can add layers of polygons (specified as lat/long points) to show your boundaries and controls to show/hide the layers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.