2

I'm working on creating an outdoors-app-thingy where I'm required to divide up parts of 3 different rivers where the app is focused around into different "zones".

 

After a lot of calling around and searching, I came across ArcGIS/ESRI which has everything that I need and it's a lot more detailed than anything else out there, and have been playing around with it for a few days now.

I was wondering if it's possible to add something similar to click events to the Areas that I'm adding to the map?

 

The thought behind it is that the page you navigate to the map from transmits the data that sets the map center and zoom, depending on which river you selected on the previous page you have 1 to 3 "areas" that are drawn on the map.

 

When clicking one of these "Areas", jQuery would simply just direct you to the final view where you'd get more streamlined information.

Would something like this even be possible?

1

yes. definitely possible. check out this sample which demonstrates how to pull out url parameters and manipulate the map.

https://developers.arcgis.com/javascript/3/jssamples/exp_history.html

  • 1
    Thank you for that link! That's really awesome. I was looking around the 4.0 documentation for hours without being able to find something remotely close to what I needed. Do you know if this is only available to v3.16 as of now? – Dixos Jun 11 '16 at 17:17
  • we don't have 4.x samples yet, but urlUtils are definitely available there too. developers.arcgis.com/javascript/latest/api-reference/… – John Gravois Jun 15 '16 at 16:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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