It is currently Thu Aug 16, 2018 6:37 am Advanced search

Exporting complex maps with export server

Technical support, bug reports and more.

Exporting complex maps with export server

Postby ma4tek » Fri Aug 10, 2018 11:45 am

Hello,

I am trying to export fairly complex maps with charts on top of them thought the export module, problem is that I can't find a way to do it properly. The Map/Chart need to be redrawn an one point, but I can't find a way to access the charts/map object.
I placed the code in the customCode field, but it only produces errors, also I saw that the customCode is executed before the creation of the map.

So 2 questions:
- is this even possible with the export module?
- should I better ask the question in the github repo of the export server?

Regards!
ma4tek
 
Posts: 1
Joined: Fri Aug 10, 2018 11:38 am

Re: Exporting complex maps with export server

Postby wojtek » Mon Aug 13, 2018 2:20 pm

Hi ma4tek,

This place is better to ask questions then github repo.

To access the chart object you can use callback function or events for e.g chart load event see https://api.highcharts.com/highcharts/chart.events.load, demo: http://jsfiddle.net/wchmiel/j184rnoq/.

If you have more questions please try to explain them more precisely or send us online demo of your problem (jsfiddle for e.g).

Best regards.
wojtek
 
Posts: 131
Joined: Tue Jul 03, 2018 2:32 pm


Return to Highmaps Usage

Who is online

Users browsing this forum: No registered users and 1 guest