Esri / esri-leaflet

A lightweight set of tools for working with ArcGIS services in Leaflet. :rocket:
https://developers.arcgis.com/esri-leaflet/
Apache License 2.0
1.59k stars 799 forks source link

Blank Imagery Returned #1244

Closed lrpatterson closed 3 years ago

lrpatterson commented 3 years ago

Describe the bug

Imagery is being returned as blank and response is a 200.

Expected behavior

Should return an image of aerial

To Reproduce

Minimal Example: https://codesandbox.io/s/vigilant-https-gr8mv?file=/index.html

  1. Go to https://codesandbox.io/s/vigilant-https-gr8mv?file=/index.html
  2. Should see a blank map (ie no imagery)

You can also visit this link to see the output constructed by the esri-leaflet library: https://location.cabarruscounty.us/arcgisservices/rest/services/cached_imagery/Aerial_2013/MapServer/export?bbox=-9058857.97018938%2C4280014.961800158%2C-8874797.606078675%2C4136771.970793739&size=1204%2C937&dpi=96&format=png32&transparent=true&bboxSR=3857&imageSR=3857&f=json

Environment Information

jwasilgeo commented 3 years ago

@lrpatterson this seems like a data projection issue perhaps. In Esri JSAPI and LeafletJS I see the non-empty image responses coming back and drawing in those maps, but in eastern Cameroon. Is that the intended overall location of the aerial imagery? Closing for now, but feel free to open again if you find an issue with esri-leaflet.