AnsweredAssumed Answered

Multiple Filters JavaSCript 3.21

Question asked by juanma93_6 on Mar 21, 2018

Hi Guys, i have this problem if someone have an example or some code to help me, i have two feature services:

 

1. Countrys

2. Citys

 

And the idea is we need to create an html that create a dropdown select from countrys and then create the second dropdown menu query with the Country select in the first parameter, all the data is in a feature service  like.

 

http://localhost:6080/arcgis/rest/services/EVENTOS/MapServer/0 = COUNTRY

http://localhost:6080/arcgis/rest/services/EVENTOS/MapServer/1 = CITYS

 

I think i can query 1=1 the countrys feature services and create de select dropdown but i dont know how to set the query result to the drop down in html, if some one of you know how to insert the query result in the dropdown thats will be very helpfull thank you so much.

Outcomes