Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image service layers to address #932 #933

Merged
merged 9 commits into from
Oct 27, 2022
2 changes: 1 addition & 1 deletion examples/CustomProjections.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
" center=(-90, 0),\n",
" zoom=0,\n",
" basemap=basemaps.Esri.AntarcticBasemap,\n",
" crs=projections.EPSG3031.Basemap,\n",
" crs=projections.EPSG3031.ESRIBasemap,\n",
")\n",
"\n",
"# add draw control on Antarctic map\n",
Expand Down
4 changes: 2 additions & 2 deletions examples/ImageService.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
" center=(90, 0),\n",
" zoom=4,\n",
" basemap=basemaps.Esri.ArcticOceanBase,\n",
" crs=projections.EPSG5936.Basemap,\n",
" crs=projections.EPSG5936.ESRIBasemap,\n",
")\n",
"# add arctic ocean reference basemap\n",
"tl1 = basemap_to_tiles(basemaps.Esri.ArcticOceanReference)\n",
Expand Down Expand Up @@ -96,7 +96,7 @@
" center=(-90, 0),\n",
" zoom=3,\n",
" basemap=basemaps.Esri.AntarcticBasemap,\n",
" crs=projections.EPSG3031.Basemap,\n",
" crs=projections.EPSG3031.ESRIBasemap,\n",
")\n",
"\n",
"# create a widget control for the raster function\n",
Expand Down
6 changes: 3 additions & 3 deletions ipyleaflet/projections.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
)
),
EPSG5936=Bunch(
Basemap=dict(
ESRIBasemap=dict(
davidbrochart marked this conversation as resolved.
Show resolved Hide resolved
name='EPSG:5936',
custom=True,
proj4def="""+proj=stere +lat_0=90 +lat_ts=90 +lon_0=-150 +k=0.994
Expand Down Expand Up @@ -107,7 +107,7 @@
[4194304, 4194304]
]
),
Basemap=dict(
ESRIBasemap=dict(
name='EPSG:3031',
custom=True,
proj4def="""+proj=stere +lat_0=-90 +lat_ts=-71 +lon_0=0 +k=1
Expand All @@ -129,7 +129,7 @@
[4524449.4877656475, 4524583.193633042]
]
),
Imagery=dict(
ESRIImagery=dict(
name='EPSG:3031',
custom=True,
proj4def="""+proj=stere +lat_0=-90 +lat_ts=-71 +lon_0=0 +k=1
Expand Down