Select to view content in your preferred language

Public Maps Gallery template 1.3.1--Opening Post

34270
160
09-28-2011 10:55 AM
Esriwebmap
Occasional Contributor


Please reply to this opening post to submit questions and comments about the Public Maps Gallery template version 1.3.1.

Note: The comments on the template through Sep 28, 2011 have been copied to this thread so that you can view all the questions and answers in one location.
Tags (2)
0 Kudos
160 Replies
Esriwebmap
Occasional Contributor
marylandgis (September 24, 2011)

Could you please tell me how the layersGroupID works? And what layers is the Layers sidebar showing? Thanks.
0 Kudos
Esriwebmap
Occasional Contributor
marylandgis (September 24, 2011)

Could you please tell me how the layersGroupID works? And what layers is the Layers sidebar showing? Thanks.



marylandgis - The layers group ID is an ID of the group containing layer services you would like to show instead of web maps. It filters layers from the group so that it only shows them. It will show whatever layers you put in that group ID. Hope that is helpful. If you still have questions, please email esri_webmap@esri.com
0 Kudos
Esriwebmap
Occasional Contributor
sanmateocountygis (September 27, 2011)

The download includes a folder called .svn. Are these folders and files used only with the WebMatrix product? Can we dump this folder if we're just editing the html, js, and css files in Aptana or PSPad or other text editors? Thanks.
0 Kudos
Esriwebmap
Occasional Contributor
sanmateocountygis (September 27, 2011)

The download includes a folder called .svn. Are these folders and files used only with the WebMatrix product? Can we dump this folder if we're just editing the html, js, and css files in Aptana or PSPad or other text editors? Thanks.



sanmateocountygis - You can delete those .svn folders. I'll make sure to remove them in the next release. Thanks
0 Kudos
Esriwebmap
Occasional Contributor
jhboyle (September 28, 2011)

So the data can only be referenced from ArcGIS.com? For Example, if I wanted to list a layer on my EC2 instance on this page, the only way would be to first share it on ArcGIS.com?
0 Kudos
Esriwebmap
Occasional Contributor
jhboyle (September 28, 2011)

So the data can only be referenced from ArcGIS.com? For Example, if I wanted to list a layer on my EC2 instance on this page, the only way would be to first share it on ArcGIS.com?


Hi jhboyle �?? Yes, this template is specifically designed to work with public groups on ArcGIS.com. Those goups can contain webmaps, links to web applications, and other ArcGIS.com supported content. http://bit.ly/oon0mu
0 Kudos
JeriLedbetter
Deactivated User
Hello;
I'm having the same trouble. The maps won't load locally or when I publish the page. I'm using the latest version, and I've managed to get the template working (thanks for the video) at http://springstewardship.org/public-maps-gallery/mapindex.html. The group, Arizona Forest Springs, is public. I haven't had any luck with embedding the map either. Thanks for any suggestions you might have.
- Jeri

Hi smallje, You can change the heading by editing index.html and changing the H1 tag. You can edit the links on the right by changing the layers group ID. If you do not want to show the layers, you can remove the DIV tags with id's of "featuredLayers" and "layers_pagination". We've updated the code slightly to fix your third question. Try using version 1.3.1. Hope that helps!
0 Kudos
MarcWeinshenker1
Regular Contributor
The legend display in the template shows all scale-dependent map layers regardless of whether or not they are displayed at the current scale, creating a long and messy legend.  Are you planning to make the legend respect scale-dependent layers?  I hope so.  Here's my example: http://maps.rockvillemd.gov/gallery/map.html?webmap=da37c709d83c4a398993dd5972951f52

Thanks,
Marc
0 Kudos
Esriwebmap
Occasional Contributor
Hello;
I'm having the same trouble. The maps won't load locally or when I publish the page. I'm using the latest version, and I've managed to get the template working (thanks for the video) at http://springstewardship.org/public-maps-gallery/mapindex.html. The group, Arizona Forest Springs, is public. I haven't had any luck with embedding the map either. Thanks for any suggestions you might have.
- Jeri


Hi Jeri,

It looks like you need to enter a Bing Maps key in the config.js file. That's why the maps are not loading. The one you have there uses a Bing basemap.

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm
0 Kudos
Esriwebmap
Occasional Contributor
The legend display in the template shows all scale-dependent map layers regardless of whether or not they are displayed at the current scale, creating a long and messy legend.  Are you planning to make the legend respect scale-dependent layers?  I hope so.  Here's my example: http://maps.rockvillemd.gov/gallery/map.html?webmap=da37c709d83c4a398993dd5972951f52

Thanks,
Marc


Yeah, that's a great idea. I'll see if we can do that for the next release.
0 Kudos