pacificclimate / climate-explorer-frontend

6 stars 1 forks source link

Overlay layers of the map don't appear on downloaded map image #77

Open corviday opened 7 years ago

corviday commented 7 years ago

Right now we're using mapbox/leaflet-image to export the map to image, but only the base tile layer appears in the image.

This could mean that ncWMS does not support CORS requests (used by leaflet-image to collect data to draw), but in that case I would expect to see ncWMS deny a bunch of requests. Instead it looks like requests to ncWMS aren't being made at all, which may mean that the ncWMS layers aren't being drawn by the right renderer, or that they're missing some attribute leaflet-image needs. map-1

corviday commented 6 years ago

@jameshiebert suggests disabling the print button until we are able to devote the time to fixing this issue.

rod-glover commented 5 years ago

Revisit now that we have newer version of Leaflet, probably doable. But not urgent apparently to our clients.