Closed cameronjj closed 7 years ago
Also happens if I click on Travis' observations from the homepage.
Akash's also got the black map when I clicked on this observation:
This is the "coast of Africa" issue and is the app's fault, though maybe the website should have a special case for this since we don't cater to Ghanan sea vessels
It looks like this happens when an observation is in a place where Google Maps doesn't have high-res maps. We try to zoom in further than they have image assets to support, so we get the "Sorry, no Ghanan fishing traffic" message.
I believe fixing this could be done through fixing #12 (zooming less could stop this happening without us needing a special case)
This would be helpful: it tells you the maximum zoom level of imagery at a given location https://developers.google.com/maps/documentation/javascript/maxzoom
This particular case wasn't directly addressed, but due to cumulative changes in the apps you shouldn't see it anymore. If location data isn't available at all it defaults to the user's home site.
When I click on explore and then click on one of the images in the left bar, the map goes black. It only happens with the last three posts by Travis. I have to refresh the webpage or click on someone else's observation to get the map to come back.