Select to view content in your preferred language

Dynamic Content Box

1962
1
05-06-2011 06:31 AM
MeghanRyan
New Contributor
Hi, I am making a map of Holistic Health Resources.  I would like users to be able to turn off layers based on what they are looking for.  For example Health Eating Layer versus Holistic Practitioner layer versus Yoga Classes layer. 

How can I implement this into an embedded webpage?

Also how can I make it so that I am the only user who can edit the map?

Thank you

Serene Balance

http://www.arcgis.com/home/webmap/viewer.html?webmap=f9a0faf6e83240928a17d47ee2c3a1c3
Tags (2)
0 Kudos
1 Reply
MikeMinami
Esri Notable Contributor
Here's what you can do without doing any programming...

When looking at the map in ArcGIS.com, click Share on the menu bar. This allows you to do two things that may work. One, you can choose to embed the map in your own web page. However, there is no ability to turn layers on or off when embedded in this fashion. Two, you can make a web application that you deploy to your own web site. There are several templates to choose from, some that let you turn on/off layers.

Here's what you can do with some programming.

You can modify the template you downloaded in option 2 above, and edit the application (all files are included) to do exactly what you want. The templates are build (primarily) with the ArcGIS API for JavaScript.

We also have ArcGIS API for Flex and the ArcGIS API for Silverlight. All of the APIs (I believe) can read in a map you create in ArcGIS.com. You then can write your application from scratch, but leverage the map authoring abilities in ArcGIS.com

Hope this helps,

Mike
0 Kudos