Open thisisaaronland opened 6 years ago
Pick and choose from these:
https://github.com/whosonfirst/whosonfirst-www-spelunker/blob/master/www/static/javascript/mapzen.whosonfirst.leaflet.tangram.js#L171-L261
https://github.com/whosonfirst/electron-whosonfirst-bookmarks/blob/master/javascript/mapzen.whosonfirst.bookmarks.maps.js#L50-L81
Store image under the map or a div or something. Basically make sure every place page has a map when a person hits "print"
For pages with routing we'll need to redo this when the map changes, like when it redraws to zoom to the extent of the route.
Pick and choose from these:
https://github.com/whosonfirst/whosonfirst-www-spelunker/blob/master/www/static/javascript/mapzen.whosonfirst.leaflet.tangram.js#L171-L261
https://github.com/whosonfirst/electron-whosonfirst-bookmarks/blob/master/javascript/mapzen.whosonfirst.bookmarks.maps.js#L50-L81
Store image under the map or a div or something. Basically make sure every place page has a map when a person hits "print"