hansenjohnson / WhaleMap

Collate and visualize whale survey results in the NW Atlantic
https://whalemap.org/WhaleMap/
GNU General Public License v3.0
20 stars 10 forks source link

Chart not loading #68

Closed Bodenrader closed 1 year ago

Bodenrader commented 1 year ago

When trying to zoom in, the chart detail will not load.

hansenjohnson commented 1 year ago

Thank you for flagging this! I think it's a problem with the Esri map provider service. It also looks like the Ocean Basemap is not working on the Leaflet Provider Demo page (here). It may be due to Esri having updated the Ocean Basemap somewhat recently? I switched to using their latest version (with this commit) and it seems to have resolved the issue, though the new version doesn't seem quite as nice as the old one... I'm closing this now assuming it is resolved, but let me know if you continue to notice issues.

hpettis commented 1 year ago

Amy ran into this problem last week but when others went to check on it, no one could replicate her issue.

From: Hansen Johnson @.> Sent: Monday, January 30, 2023 2:46 PM To: hansenjohnson/WhaleMap @.> Cc: Subscribed @.***> Subject: Re: [hansenjohnson/WhaleMap] Chart not loading (Issue #68)

Thank you for flagging this! I think it's a problem with the Esri map provider service. It also looks like the Ocean Basemap is not working on the Leaflet Provider Demo page (herehttps://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fleaflet-extras.github.io%2Fleaflet-providers%2Fpreview%2F%23filter%3DEsri.OceanBasemap&data=05%7C01%7Chpettis%40neaq.org%7Cfc6cf488b8d645c8966d08db02fab09e%7C89f48289f3b64464923fe55ac82cdbbb%7C1%7C0%7C638107047968743804%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CKYOkl41fqTTEH3Tk%2BvOMTlW7KAV5O6wJi0hRT%2F7HbM%3D&reserved=0). It may be due to Esri having updated the Ocean Basemap somewhat recently? I switched to using their latest version (with this commit)https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhansenjohnson%2FWhaleMap%2Fcommit%2Fadff6b67264b46a6c2120554ad5e3d1471dbcefc&data=05%7C01%7Chpettis%40neaq.org%7Cfc6cf488b8d645c8966d08db02fab09e%7C89f48289f3b64464923fe55ac82cdbbb%7C1%7C0%7C638107047968743804%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9dUvnEpdFG6QUbCksa3cuO7E6BI2M%2F1jE8EuQChuua8%3D&reserved=0 and it seems to have resolved the issue, though the new version doesn't seem quite as nice as the old one... I'm closing this now assuming it is resolved, but let me know if you continue to notice issues.

- Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhansenjohnson%2FWhaleMap%2Fissues%2F68%23issuecomment-1409235527&data=05%7C01%7Chpettis%40neaq.org%7Cfc6cf488b8d645c8966d08db02fab09e%7C89f48289f3b64464923fe55ac82cdbbb%7C1%7C0%7C638107047968743804%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PfN1yz8PN1oH%2BDownrpfHzAlBCnEOqmySnMDiDWOtRE%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEVGYC2KCWOIFCW5ZHWM6FTWVALBLANCNFSM6AAAAAAULJKXMU&data=05%7C01%7Chpettis%40neaq.org%7Cfc6cf488b8d645c8966d08db02fab09e%7C89f48289f3b64464923fe55ac82cdbbb%7C1%7C0%7C638107047968743804%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bHzizqr%2BiS71Wvrkt22LtlZ1p%2BzwD7cQlt8vod9%2Bhjk%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

This electronic message contains information from the New England Aquarium which may be privileged and confidential. The information is intended to be for the use of the addressee only. If you have received this communication in error, do not read or circulate it. Please delete it from your system without copying it or saving any attachments and notify the sender by reply e-mail. Thank you.

hansenjohnson commented 1 year ago

Thanks @hpettis. I think the same thing was happening to me. I suspect it's because many web browsers cache (i.e., locally save) that kind of map data, so you only see it's missing if you clear your cache or try to view an area that you haven't browsed before. Tricky!