The map gallery template is a great resource. Thanks for this!
I'm using it in parallel at maps.choptankriverheritage.org and stories.choptankriverheritage.org.
The reason for both is that I have some online map presentations made for ArcGIS Explorer Online. They look very bad when they open up in the ArcGIS.com viewer, and the presentation doesn't work there, anyway. So I created two AGO groups and two separate galleries. Then I set the config option for the story items to open in Explorer.
I think that when the config file is set to open the map in Explorer, the URL parameter should be ?present=, not ?open=.
Why send the user to Explorer then make them fiddle around trying to start the presentation?
I'll look through the /scripts/ files to see if I can find and modify this function. But I'm a Javascript novice and am not sure I'll get it right.
Thanks for considering this suggestion.
/*------------------------------------*/ // GET VIEWER URL TO USE /*------------------------------------*/ function getViewerURL(){ switch(pmgConfig.mapViewer){ case 'arcgis': return pmgConfig.arcgisPortalURL + 'home/webmap/viewer.html?webmap='; break; case 'explorer': return 'http://explorer.arcgis.com/?open='; break; case 'explorer_present': return 'http://explorer.arcgis.com/?present='; break; case 'simple': return 'map.html?webmap='; break; default: return 'map.html?webmap='; } }
Hi Don,
That's a great suggestion. I'll add an option for 'explorer_present'.
If you open /scripts/query.arcgis.js and replace this function, it should fix it for you.
I've tried changed the lod variable to lower numbers, but with no luck. My data is in State Plane, I am assuming the could be an issue? Here is my rest endpoint for the tiled basemap. Is there a way to define one of the LOD's as a default zoom to location?
http://gis.arlingtonva.us/ArcGIS/rest/services/Arlington_Basemap_Plain/MapServer?f=json&pretty=true
Greetings all,
I have just become aware of the existence of the 1.4 version of the Public Maps Gallery template. One thing that I have noticed in version 1.3.1 a couple of days ago, and that still has not been pointed out, as far as I know is that the maps don't propagate their watermarks! So if I have a look at a map within ArcGIS Online which contains a basemap such as OSM, I see the following:
[ATTACH=CONFIG]11873[/ATTACH]
However, in the map gallery for the same map there is no copyright watermark. How can this be resolved?
Many thanks in advance.
Here are the beginnings of our site:
http://www.bexar.org/maps
Is there any way to control the order the maps are listed?
Thanks again, DZ
// FIELD TO ORDER YOUR GROUP BY pmgConfig.sortField = 'uploaded'; // SORTING COLUMN= The allowed field names are title, uploaded, type, owner, avgRating, numRatings, numComments and numViews. Default: 'uploaded'.
We'll take that into consideration for the next version. You should be able to modify the map.html and index.html files and remove the div with the id of "footer". Then you can change the background color of the body/html in the CSS to a different color if you like. That should be it.
Let me know if that works for you.