ThinkGeo.com    |     Documentation    |     Premium Support

Saving map issue map colors disappear

Need some answers urgently
I am saving a screenshot of my map using
html@canvas, and then sending it to controller +saving that map image as
html file in me project folder but the colors visible on the map in
browser are not displayed and only map colors are not
appearing

Can u tell me if this issue occurred because im in evaluation period or there is some other issue
I did this while printing and the map colored area
is shown correctly but when i tried to save it and send to controller ti
gives me blank map .
I am attaching print and saved files result in the mail
Please have a look into it and tell me if there’s something i could do
Its very urgent i have to submit in one day
Save result should look like print map file
Print Result Map.pdf (598.9 KB)Save Result Map.html (61.3 KB)

Hi Waha,

Do you means, the pdf shows how your page looks like and the html is what you saved and passed back to server side?

If you view your html file you can see the covered layer(colored layer) hadn’t been capture succeed.

The problem is we don’t have experience on the library html2canvas so we cannot give you better suggestion about how to use it with our mve edition.

About how to solve that, I think you can do something like this:

  1. “inspect” the colored layer and make sure it’s supported by the html2canvas.
  2. Find more information about how to use html2canvas and openlayers.
  3. Try some other library to see whether that works for your requirement.

Wish that’s helpful.

Regards,

Don