HI,
I have a hosted FeatureLayer that I want to include on my map. However, there are about 50k features.
Is there a way that I can specify which features to retrieve in the url I use the load the portalItem?
Thanks!
Nevermind. I think I found the solution. When specifying the url, also define a SQL expression in the 'definitionExpression' property of the new FeatureLayer({}) options.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.