Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to add a new feature layer within a popup window from an arcgis server. For example (purely hypothetical), you click on a state and it has 2 options: fire departments and police stations. You can then click on one of those options to add it to the map

share|improve this question
so do you want drop-down list in the pop-up ? so that after selecting appropriate layer it will add on existing layer. Please explain your question. If possible add some screenshot..thanks – Sunil Oct 21 '13 at 6:11

I haven't understood question 100% but this might help you Custom popup. You can add onClick event to the html "a" control and call function in which you can add layer on the map.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.