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

parse base64 arcgis server responses too #796

Merged
merged 1 commit into from
Jul 14, 2016
Merged

Conversation

jgravois
Copy link
Contributor

@jgravois jgravois commented Jul 6, 2016

resolves #782

this PR introduces additional logic to ensure that we parse/display both href and base64 imageData content in ArcGIS Server Map Service Export responses.

the map service @thebasa originally reported a problem with no longer returns MIME data, but luckily another map service on their ArcGIS Server instance does.

var map = L.map('map').setView([45.5, -122.7], 12);
L.esri.basemapLayer('Gray').addTo(map);

L.esri.dynamicMapLayer({
  url: 'https://www.portlandmaps.com/arcgis/rest/services/Public/Auditor_IPR/MapServer',
  layers: [0,3,6]
}).addTo(map);

map service that returns href
map service that returns imageData

@jgravois jgravois merged commit 54dfb28 into Esri:master Jul 14, 2016
@jgravois jgravois deleted the patch782 branch July 14, 2016 00:01
jgravois added a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
parse base64 arcgis server responses too
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.

Dynamic Service Load Error
1 participant