Skip to content

Commit 4d77291

Browse files
committed
Changed to RNC tile service. Fix for issue #20
1 parent 6871aeb commit 4d77291

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

index.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -344,16 +344,13 @@ <h2>How to Use this Tool</h2>
344344
// ESRI Oceans Base Map
345345
var esri_ocean = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/tile/{z}/{y}/{x}', {
346346
attribution: 'Tiles &copy; Esri &mdash; Sources: GEBCO, NOAA, CHS, OSU, UNH, CSUMB, National Geographic, DeLorme, NAVTEQ, and Esri',
347-
maxZoom: 11
347+
maxZoom: 12
348348
});
349-
350-
// Nautical Charts - Image Service
351-
var rnc_image = L.esri.imageMapLayer({
352-
url: "https://seamlessrnc.nauticalcharts.noaa.gov/arcgis/rest/services/RNC/NOAA_RNC/ImageServer",
349+
// NOAA Nautical Charts - Tile Service
350+
var rnc_image = L.tileLayer('https://tileservice.charts.noaa.gov/tiles/50000_1/{z}/{x}/{y}.png', {
353351
attribution: 'NOAA Office of Coast Survey',
354-
position: "back"
352+
maxZoom: 12
355353
});
356-
rnc_image.on('load', function(e){ });
357354

358355
// Add base layers to map
359356
// rnc_image.addTo(map);

0 commit comments

Comments
 (0)