ruchita.kachhap@ge
Posts: 1
Joined: Fri Oct 08, 2021 12:01 pm

Offline maps - zoom and installation

Hi,

I am trying to use Highmaps in a completely offline setup - right from installation to usage.

Have the following queries:
1. How to zoom the way highmaps zoom in an online version? - Right now, when we zoom in, the map is basically scaling and not revealing the details as we usually expect in maps. How to achieve this maps zooming in offline setup?

2. Is there an offline installer for highmaps library? - Justlike we have an offline version of highcharts export server, is there such a solution for highmaps library?
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Offline maps - zoom and installation

Hello ruchita.kachhap@ge,

Welcome to our forum and thanks for contacting us with your question!

You can zoom your map using setExtremes method on axes. However, to tell exactly why the map is not revealing the details I need to take a look at your code. Please provide me with a reproduction of your issue along with map data that you use. You can start here: https://jsfiddle.net/BlackLabel/7robuxzk/
Demo with zoom: https://jsfiddle.net/BlackLabel/qfdwst3u/
API reference: https://api.highcharts.com/class-refere ... etExtremes

When it comes to your second question, Highcharts is a front-end charting library. It means that all you need to do is insert the script code into your project or use our CDN: https://code.highcharts.com/maps/highmaps.js

Best regards!
Mateusz Bernacik
Highcharts Developer
ranjitb
Posts: 1
Joined: Thu Oct 28, 2021 9:29 am

Re: Offline maps - zoom and installation

Hi,

Am also trying highmaps for offline mode, Here is my use case.

1. While installing/deploying application too I will not have internet connectivity on machine so I want app should have default offline map for particular area something like geospecial data in JSON or images formate so that I can load it from local machine only.

2. When user zoom to see more specific area in selected map he should be able to se all street, parks, navigation paths etc

3. Also do highmaps have any tool like map atlas to create custom map for specific area ?

Please help with details, as there is no enough documentation around offline version of highmaps
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Offline maps - zoom and installation

Hi ranjitb,

Welcome to our forum and thanks for contacting us with your questions!

1. You can easily add a file containing all required map data and it can work offline.

2. It is possible, but map accuracy, amount of details and map content in general depends on the provided map.

3. Here you can read more about creating custom maps: https://www.highcharts.com/docs/maps/create-custom-maps

Please read this article thoroughly, you can find there all information that you are looking for: https://www.highcharts.com/docs/maps/map-collection

Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Maps”