Select to view content in your preferred language

Displaying legend on public map

816
8
08-06-2011 07:49 PM
DavidHewitt
Emerging Contributor
I feel like I must be missing something really obvious. I used ArcGis.com Explorer Online to make a public map:
http://www.arcgis.com/home/item.html?id=22e732adad244568b87b5fa343ea7f3c
I want to display the legend that shows the names of all the trails, but the legend always just show the options for the Map Notes feature types.
Tags (2)
0 Kudos
8 Replies
MikeMinami
Esri Notable Contributor
So here's the technical reason...

Map notes layers are symbolized based on feature templates. So if you add a feature as a type "Line" and provide a title and description, it's still a line and thus gets shown in the legend as a line, even though you may have overridden the symbology for a particular line. So what you need to do is create your own feature templates based on your features. In Explorer Online, when you go to change the symbol of the line, you'll see a button called "Create Feature Template" that will allow you to define your own feature types. These will then appear in the legend and you can remove the other feature templates, like the basic line. Admittedly, this workflow is not the best.

Instead of doing the above, you might consider importing your features from other data sources. For the number of features you have, you might be better served by importing a shapefile, CSV file or GPX file. Then you can symbolize according to type.

Hope this helps,

Mike
0 Kudos
DavidHewitt
Emerging Contributor
Thanks Mike. I see how to make the new templates, but can I convert existing features to the new ones? Or even duplicate existing lines and change the type of the duplicated one? Or, as I'm guessing, do I have to create new lines for each trail? Yikes.
0 Kudos
MikeMinami
Esri Notable Contributor
Sorry, there is no way that I can think of to convert the lines to a different type. How did you get the data? Did you manually enter the trails? If they're from a GPS device, you can import the data (GPX file).

Mike
0 Kudos
DavidHewitt
Emerging Contributor
Yep, I manually entered them all using my GPS watch routes as a guide. I could do better by using the aerial basemap for tight corners, etc. So can I export as some feature layer and bring them back in? I really can't stomach the idea of entering them all again. Thanks for your continuing help Mike.
0 Kudos
MikeMinami
Esri Notable Contributor
No there is no exporting of data from the map. If your gps device can output a GPX file you can import this file directly as a layer on the map from the Add menu.

Mike
0 Kudos
DavidHewitt
Emerging Contributor
Anyone know if there has been an update on this issue -- dumping GPS coords for lines drawn on a map manually? I seem to recall a year or more ago that it was a possibility with changes to the online platform and there have been lots of updates since then.
0 Kudos
MikeMinami
Esri Notable Contributor
No, there is no work going on in this area and no plans to do so. So it's unlikely it will happen. You could try to extract the lines from the webmap itself.

http://www.arcgis.com/sharing/content/items/22e732adad244568b87b5fa343ea7f3c/data?f=pjson

The coordinates are there.

Thanks,

Mike
0 Kudos
DavidHewitt
Emerging Contributor
That sounds awesome, but I'll need a little help. All I see at the link is code but I don't know what to do with it. I am reasonably GIS and web-savvy so I am willing to work to figure it out. It would be great to extract the coords for the lines. Thanks for any assistance with understanding what to do in that regard!
0 Kudos