Select to view content in your preferred language

Public Maps Gallery template 1.3.1--Opening Post

25404
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
WesChristensen1
Deactivated User
You should be able to change these by changing the grid_6 and grid_3 classes in the HTML file to adjust the size. You can get rid of the empty grid_3 and that gives you some more room to play with.  Try making the grid_3 into a grid_4 and see if that helps. I'ts using the 960.gs grid system.


OK cool, thanks.  Also, how do you configure Explorer Online to open in a new window when you click on the thumbnails so the original tab (index.html) stays open?
0 Kudos
Esriwebmap
Occasional Contributor
OK cool, thanks.  Also, how do you configure Explorer Online to open in a new window when you click on the thumbnails so the original tab (index.html) stays open?


If you look in "/scripts/home/local.js" on line 101 you should see where it builds the thumbnail. If you change the anchor tag to have target="_blank" like so, it should do that for you.

html += '<li class="item ' + itemClass + '"><a target="_blank" title="' + data.results.snippet + '" href="' + itemURL + '"><img src="' + obj.arcgispath + obj.imagepath + data.results.id + obj.imagepath2 + data.results.thumbnail + '" width="200" height="133"><span>' + itemTitle + '</span></a></li>';


<a target="_blank"
0 Kudos
WesChristensen1
Deactivated User
If you look in "/scripts/home/local.js" on line 101 you should see where it builds the thumbnail. If you change the anchor tag to have target="_blank" like so, it should do that for you.

html += '<li class="item ' + itemClass + '"><a target="_blank" title="' + data.results.snippet + '" href="' + itemURL + '"><img src="' + obj.arcgispath + obj.imagepath + data.results.id + obj.imagepath2 + data.results.thumbnail + '" width="200" height="133"><span>' + itemTitle + '</span></a></li>';


<a target="_blank"


Making my life easier, thanks.  #Bear down in London
0 Kudos
JacobMcGlade
Emerging Contributor
Is there a way to increase the amount of content that shows up on the Carousel View?  Currently, it is showing only the 10 most recent maps.  Thanks.
0 Kudos
Esriwebmap
Occasional Contributor
I have two questions regarding the functionality of users viewing the template.  Is there an option to make the full screen view available in the Carousel View or is this only possible in the simple map viewer through map.htm? Also, I am having trouble with layer descriptions appearing in the legend tab of map.htm.  These layer descriptions display in the Carousel view, but not in the simple map viewer when a user clicks on a map from index.htm. (With the addition of descriptions appearing in the legend of map.htm will these changes be affected in the full screen view? Also, will users be able to toggle layers on/off in the full screen view? I followed code in response to cstevens5802's post.)

Also, running into errors displaying web maps that use Bing Maps base layers. I registered for a Bing Maps key and inserted this into the config.js file. Is there more to editing the config.js file than simply copy/pasting Bing Maps key between the quotes?

Designing the template to display/grade student's university lab assignments.  I am encouraging the students to design purpose driven web maps with quality appeal to client-side viewing.  Thanks for any help you are able to provide.  URL is maps.UNOGIS


I figured out how to get those legend items showing in the right column. Navigate to global.css and remove the following code. It might be easiest to search for it.

#legendMenu .esriLegendServiceLabel {
    display:none;
}


Let me know if that works for you. I'll have it in the next update.

Thanks
0 Kudos
SaraJK
by
Frequent Contributor
Is anyone having trouble viewing the map gallery in IE 9? I've been playing with it on our internal network so I don't have a URL to share, unfortunately. I have been working with it in Firefox and Chrome without issue but decided to check in IE. The map will not load - the circle just spins and spins.

Thanks.

PS: Apparently, I can't see any of my maps at all on Arcgis.com with the viewer in IE 9 but I CAN see ESRI sample maps there. Strange. Thoughts?
0 Kudos
Esriwebmap
Occasional Contributor
Is anyone having trouble viewing the map gallery in IE 9? I've been playing with it on our internal network so I don't have a URL to share, unfortunately. I have been working with it in Firefox and Chrome without issue but decided to check in IE. The map will not load - the circle just spins and spins.

Thanks.

PS: Apparently, I can't see any of my maps at all on Arcgis.com with the viewer in IE 9 but I CAN see ESRI sample maps there. Strange. Thoughts?



That's odd. Do you think you could email me the URL or the web map ID that is having a problem? Maybe I can help out.

Esri_webmap@esri.com

Thanks
0 Kudos
SaraJK
by
Frequent Contributor
That's odd. Do you think you could email me the URL or the web map ID that is having a problem? Maybe I can help out.

Esri_webmap@esri.com

Thanks


Thanks for replying. I did a little digging and I guess IE can't render maps well if you don't choose to "generalize" features when setting up the map. I've got it working now.

See: http://forums.arcgis.com/threads/41299-IE8-web-map-application-problem?highlight=internet+explorer
0 Kudos
Esriwebmap
Occasional Contributor
Is there a way to increase the amount of content that shows up on the Carousel View?  Currently, it is showing only the 10 most recent maps.  Thanks.


I'll look into this one. It shouldn't have any limit on it. Only requirement is that they are web maps.
0 Kudos
ClintonSpencer
Emerging Contributor
I've downloaded the code, looked up my group, and replaced the group number in the config.js file, but it still doesn't show my maps.  Am I doing something wrong?
0 Kudos