Problem/Motivation
When using Esri Ocean Map, it returns a 500 error.
Steps to reproduce
Choose Esri Ocean Map on a Leaflet Map.
Proposed resolution
Change current $esri_name to 'Ocean/World Ocean Base'
Issue fork leaflet_more_maps-3335451
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3335451-current-esri-ocean
changes, plain diff MR !6
Comments
Comment #2
jrochate commentedI have used hook_leaflet_map_info_alter to change this to my use case.
Something like this:
Comment #3
ressaComment #5
ressaComment #6
ressaThanks for reporting @jrochate, I create a Merge Request which should fix it, and tiles are now requested from this URL:
https://server.arcgisonline.com/ArcGIS/rest/services/Ocean/World_Ocean_B...
Comment #7
ressaComment #9
berramou commentedI can't merge https://git.drupalcode.org/project/leaflet_more_maps/-/merge_requests/6 so i commit it directly.
Than you @ressa.
Comment #11
berramou commented