question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dynamic layer cannot use both f:image and token

See original GitHub issue
  • Browser and version:

Chrome 51

  • Version of Leaflet (L.version):

0.7.7, 1.0.0?

  • Version of esri Leaflet (L.esri.VERSION):

1.0.4, 2.0.3, master?

Steps to reproduce the error:

  1. create map
  2. add server authenticated service that requires password.
  3. add parameter f:‘json’
  4. add parameter token: response.token

What happens is the image parameter is ignored and request is sent with type f=json

I was expecting f=image to be respected. Feature service only loads half the time due to internal load balancer not having request on /arcgisoutput (which is why we need to use the f=image parameter)

https://jsbin.com/hiqequg/edit?html,output

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
timothycouchhsicommented, Jan 30, 2020

Thanks a ton! This is great. And you were so quick to respond 😃

1reaction
jptherippercommented, Jan 15, 2020

This is absolutely perfect. We can confirm once this functionality is applied that f=‘image’ and token work together as desired.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Query (Map Service/Dynamic Layer)—ArcGIS REST APIs
This operation returns a feature set that contains feature objects, including the values for the fields requested by the user.
Read more >
Media Access Control and Authentication - Cloudinary
Learn about the methods available for authentication and media access control of your media assets.
Read more >
Dynamic Token Normalization improves Vision Transformers
This paper introduces a dynamic normalization, named Dynamic Token Normalization (DTN), to replace the vanilla layer norm in ViT. It learns to normalize...
Read more >
Layers - Roll20 Wiki
Lines on the r Dynamic Lighting Layer is only visible when the layer ... all tokens on both b Objects & Tokens and...
Read more >
Using recolorable images in Mapbox maps | Help
Although SVGs are a vector image format, the Mapbox GL renderer cannot treat ... Style Specification, it is possible to use SDFs for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found