Can you have attributes display for Vector Tiles?

11364
16
Jump to solution
04-05-2016 03:31 PM
DougBrowning
MVP Frequent Contributor

I have posted some test Vector Tile Packages to AGO.  Does anyone know if there is a way to get attributes in a popup?  It sounds possible in the help but only for a custom web app.  I see that you can now add a popup for a map service or cache tiles by pointing to a Feature Service but I do not see this option for Vector Tiles.

I think the ability to change color is still in development correct?

Also please add the ability to see Vector Tile packages and/or Vector services in ArcMap!

Thanks

16 Replies
JoshuaBixby
MVP Esteemed Contributor

KGerrow-esristaff‌, any updates on this follow-up question from a.hirschi-wyssesri-rw-esridist‌?  It has been about six months, and from what I can gather poking around Esri sites and Google, there isn't much to report on.  I am hoping there is, and I am just missing it.  Thanks.

0 Kudos
NicolasGIS
Regular Contributor

Hello Kelly,

Do you know if this is something in the roadmap ?

It seems to be a very promising when looking at it:

Get features under the mouse pointer | Mapbox 

Thanks,

Nicolas

0 Kudos
AnninaHirschi_Wyss1
Occasional Contributor III

Nicolas‌, while we're waiting for an answer from Kelly and/or Katie, you might vote for this: Vector Tile Popups  (if not yet done).

0 Kudos
KellyGerrow
Esri Frequent Contributor

Hi Nicolas,

There is currently some work being done on a project to include some functionality. I'll update this post when i have a more specific timeline.

-Kelly 

JohnChmura
New Contributor II

Kelly please consider posting early prototype to the ESRI Github page, as was done with heatmap layer, so we can begin to experiment with this feature before it is included in main JS API.

DavidWilton
Occasional Contributor

Are there any updates on this? We had a use case where we want to get some attribute information on mouse over such as the name of the location they are hovering over.

I believe this information exists in the Esri tile layers, it just isn't exposed by hit test. To demonstrate this I include two samples both using the same Esri Tile layer (they look different because one is styled one not). Once using the open layers API and the other using Esri JSAPI

Open layers

https://codesandbox.io/s/esri-vector-tile-mouse-over-open-layers-293f6https://codesandbox.io/s/vecto...

JSAPI
https://codepen.io/davidwilton/pen/RwVXgva?editors=1000

With open layers I not only get the name of the item but also the NLS

 

DavidWilton_0-1629435470358.png

With Esri I get nothing but the layer name

DavidWilton_1-1629435483523.png

 

ahargreaves_FW
New Contributor II

This is clearly indicated as a feature in ESRI help doc, but I'm unable to get anything working. See this posting:https://community.esri.com/t5/arcgis-online-questions/vector-tile-layers-and-querying/m-p/1092495/hi...

0 Kudos