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.

unable to render vector tile layers published privately to ArcGIS Online

See original GitHub issue
  • Browser and version: Chome 71.0.3578.98
  • Version of Leaflet 1.4.0
  • Version of esri Leaflet 2.2.3

Steps to reproduce the error:

  1. Generated access token for web application
  2. Published vector tile layer to ArcGIS Online via ArcGIS Pro and made available to organization and group
  3. Attempted to access the vector tile layer in esri-leaflet with L.esri.tiledMapLayer() passing in URL and token

What happens is 404 errors and the token is only appended to the URL via query parameter token.

I was expecting for the tile layer to render. Using an IdentityManager in Esri JavaScript API, I can get the Tile Layers to render, so I thought it would be possible in esri-leaflet as well. We are looking at esri-leaflet as an option for older browser support.

  • Optional: I’m not using the CDN, I’m loading/bundling the library using: yarn add esri-leaflet

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gduvallcommented, Mar 11, 2019

Yes, thanks @jgravois

This article helped with publishing settings: https://community.esri.com/thread/87142

Now, trying again to add vector tile layers using other plugins. Having trouble with labels, but I do not believe that is in the scope of this repo 😉 thanks again.

0reactions
jgravoiscommented, Mar 7, 2019

did you ever sort yourself out @gduvall?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Publish hosted tile layers from files—ArcGIS Online Help
Tile layers published to and hosted on ArcGIS Online support fast visualization of large datasets using a collection of predrawn map images or...
Read more >
Publish hosted vector tile layers from files—ArcGIS Online Help
Publish vector tile layers from a hosted feature layer or a map in ArcGIS Pro, ... a set of cached vectors and the...
Read more >
Manage hosted tile layers—ArcGIS Online Help | Documentation
Vector tile layers deliver map data as vector files and include one or more layers that are rendered on the client based on...
Read more >
Publish hosted tile layers—Portal for ArcGIS
You can publish a tile layer from a service definition file, ArcMap document, or ArcGIS Pro project to be hosted on ArcGIS Enterprise....
Read more >
Troubleshoot—ArcGIS Online Help | Documentation
I cannot publish my .txt file as a hosted feature layer. I made my hosted tile layer public, but others still can't access...
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