koopjs / koop

Transform, query, and download geospatial data on the web.
http://koopjs.github.io
Other
667 stars 128 forks source link

Labels in ArcGIS JS API 4.x + Koop #328

Open hhkaos opened 6 years ago

hhkaos commented 6 years ago

Quick question:

With JS API v4.8 labeling was introduced but I think it only works with hosted feature services in 10.61 of ArcGIS Online, right? Will it be possible to add labels to layers in v4.x in the future using Koop?

Thanks

rgwozdz commented 6 years ago

@hhkaos - I'd love to support this feature. What would really help is a link to a feature-service serving label information. Do you have anything I can link to?

hhkaos commented 6 years ago

Hi @rgwozdz, sorry I'm on holidays. I don't, but I think it was Andy Gup or Rene Rubalcava who told me that, let me ask them and I'll get back to you asap :smile:

hhkaos commented 6 years ago

Hi @rgwozdz,

I'm back from holidays! :smile:. I have found this on a Newsletter from June:

2D labels will be for WebGL FeatureLayer and will need to be hosted feature services or enterprise 10.6.1. Labels will be for points and polygon centroids. Label functionality will continue to be updated in future releases.

So I guess it is working for every hosted feature services in ArcGIS Online at least, but I'm not sure which is the label information. ^_^

Cheers!