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

dynamically resample Esri World Imagery #1011

Merged
merged 1 commit into from
May 11, 2019
Merged

dynamically resample Esri World Imagery #1011

merged 1 commit into from
May 11, 2019

Conversation

jgravois
Copy link
Contributor

@jgravois jgravois commented Oct 6, 2017

resolves #240 (better late than never!)

instead of artificially capping the zoom for World Imagery at 19, we can interrogate an esri tilemap to see whether all tiles in an 8x8 grid at the destination zoom level are present.

if any tiles are missing, Leaflet has a nifty built-in option to help us downsample tiles from a level further out.

to do

  • figure out whether zoomanim fires on pinch zooms
  • fetch a tilemap on pan too?
  • avoid the screen flash when missing tiles are replaced with resampled tiles?

tilemap

instead of artificially capping the zoom for World Imagery at 19,
interrogate the esri tilemap when zooming begins to see whether all tiles
in an 8x8 grid at the next zoom level are present.

if they aren't, use leaflet's new built in option to downsample the existing tiles.
@jgravois
Copy link
Contributor Author

yolo

@jgravois jgravois merged commit 1cbf896 into master May 11, 2019
@jgravois jgravois deleted the tilemap branch May 11, 2019 17:36
jwasilgeo pushed a commit that referenced this pull request Jul 28, 2020
jgravois added a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
dynamically resample Esri World Imagery
jgravois pushed a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
jgravois added a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
dynamically resample Esri World Imagery
jgravois pushed a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Latest ArcGis jsapi library resamples images, this doesn't
1 participant