How to render a map from Django with data tool-tip

How do I render the India map in Django(Python) with tooltip data having both longitude and latitude values?

Since we don't have a built in way to render longitude and latitude values in the tool-tip, we created you a demo displaying Lon/Lat values on a div placed over a map (capturing the mouse) by making use of the generic mousemove event and then using x/y to call a map API which returns lon/lat.

In this demo, we've made the Indian map display on a basic python-django project. If you have python and Django already installed, you just have to navigate to the ZingChartDemo folder and run python3 runserver then navigate to the URL in your browser.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us