Hi,
How to create feature collection object using multiple Featureset (queried from multiple arcgis rest service URL) to render to map (smart map) as feature layer
Need help in layerdefinition to accomplish the same
Robert Scheitlin,
Yes, we need to achieve the concept which you mentioned
we need to use overlay layers to achieve ?its same set of geometry data of polygon(feature set) to be shown in the map( can it be overlapped?)
else how to achieve this?
thanks
ganesh
Ganesh,
So you want the geometries and attributes from two different layer queries to be combined into on FeatureLayer? Will the geometries overlap?
Hi Robert Scheitlin, Thanks for the reply, objective: Render multiple query task results (Rest API URL output) to the map as a smart map We had progress with the help of following code which does 1. Create Two Feature set using Tow different Query Task (Map server) 2.Binding two feature set to Feature collection-We are able to find the expected number of results in feature collection with graphics 3.Create feature layer using feature collection along with info template and also able to add feature layer to the map Issues 1.As a result we able to visualize only the first querytask output on the map, we confirmed this by viewing the pop up. doesn't contain the variables from the second querytask 2.layer rendering to map along with color,extent Help on 1. Approach 2. why feature layer does't contain both feature set detail(verified number of graphics in feature layer)? 3.provide with any code snippets for the same Our Code Snippet
What have you tried? Have you looked at the FeatureCollection sample?
Feature collection | ArcGIS API for JavaScript 3.18
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.