sbclter / sbclter-website-2019

finally, a new website.
GNU General Public License v3.0
3 stars 3 forks source link

metadata rendering: Datasets should have dynamic map size #14

Open mobb opened 5 years ago

mobb commented 5 years ago

Example: package=knb-lter-sbc.52 (covers entire state of CA)

n-duncan commented 5 years ago

Ran into some issues with the google maps API not fitting bounds on the map correctly. Currently if bounds are set using the API fitBounds() call, the map will zoom out all the way. I suspect it might have something to do with the map being hidden when the dataset loads until the tab is clicked. As a temporary fix, I just set the zoom to zoom out a bit more to cover a larger area. See 8d8a7a372b300941561df9f4cc4ef27a780a4510