Select to view content in your preferred language

Public Maps Gallery template version 1.4  --Opening post

33399
175
11-22-2011 02:57 PM
Esriwebmap
Occasional Contributor


Please reply to this opening post to submit questions and comments about the Public Maps Gallery (PMG) template version 1.4.
Tags (2)
0 Kudos
175 Replies
Esriwebmap
Occasional Contributor
How do I configure the file to open with ArcGISexplorer as the viewer map?


Hi Veronica,

You can change the file to open in explorer in the optional settings config.

Here's the line of code to look for:

// CHANGES THE MAP VIEWER TO USE 'simple' (map.html), 'explorer' (ArcGIS Explorer) or 'arcgis' (ArcGIS Javascript)
pmgConfig.mapViewer = 'simple'; // values: 'simple', 'explorer' or 'arcgis'. default: 'simple'.
0 Kudos
Esriwebmap
Occasional Contributor
I have followed the instructions for 1.4 and have a problem.

demo map

when you click on one of the maps the inbed map starts to load but then just hangs with the spinning loading icon. Am I missing something?

Thanks


Hi Charles,

It looks like you need to enter a bing maps key. It's unable to load the map because it may be using a bing maps basemap.

See the config or documentation for more.
0 Kudos
Esriwebmap
Occasional Contributor
Hey,

I would like to show 3 pages, one with apps, one with maps and services and the other with tools. I decided that I would have to have 3 installations, but I cannot get the filter to work.  I can get the apps, but the maps end up with the apps included and the tools don't show up at all.

any ideas?

Chris



Hi Chris,

Attached is a list of all the different types you can filter by. It's the left most column. Let me know if that helps. I'm not sure what the tools string is. I've only used 'Web Map' and 'Layer'.

Thanks
0 Kudos
ChrisBradberry
Deactivated User
Thanks for the file for the filters.  I got it figured out close enough, but what I was really trying to do was to filter them just like they do in the groups web page.  Go to your groups and it allows you to filter by application, maps and tools. 

Thanks, Chris
0 Kudos
CharlesDawley
Regular Contributor
Hi Charles,

It looks like you need to enter a bing maps key. It's unable to load the map because it may be using a bing maps basemap.

See the config or documentation for more.


Whoops, yeah. My bad.
0 Kudos
DavidZiff
Deactivated User
Hi David,

Have you turned on the mobileAppLink option in the optional settings config?

// USE ARCGIS iOS APP LINKS FOR USERS ON iOS DEVICES. Default: false.
pmgConfig.mobileAppLink = true;


I've verified that this works for iOS devices but I haven't for Android or Windows OS. I'm not sure if the same support exists. I'll look into it...


Thanks for getting back to me on this - we need cross platform support and if you could post the code to add the android and windows 7 support; that would be greatly appreciated.  I only see the ios support in the settings.optional.js area and no links or mention of android or WinMobile atm but if one is linked might as well go for the other.  I presupose the brouser sniffs the device and therefore this functionality would need to added as well in order to link to the coorect app...

We would like to leverage this in order to offer a cross-platform support for mobile devices and avoid developing multiple apps - 1.1 offered that and so we have chosen to go this route.  Hope you all add that back.  Thanks again, DZ
0 Kudos
DonBarker
Regular Contributor
How about a "Private Maps Gallery" template?
---

I used 1.3 successfully at San Mateo County GIS last summer (http://gis.co.sanmateo.ca.us/map_gallery) .

Now I've configured the 1.4 template to demo to an east coast metro police GIS staff.  To make this work, I had to change the Share setting on all maps in our AGO Group to "Everyone".  That is probably ok from a security standpoint, because the ops layers from the secure ArcGIS Server simply don't appear.

But the PD customers would really like these maps and their descriptions to be invisible inside our AGO group.  How about adding AGO group member login at the gallery front page?

Thanks.
0 Kudos
MichaelKlein
Emerging Contributor
How about a "Private Maps Gallery" template?
---

I used 1.3 successfully at San Mateo County GIS last summer (http://gis.co.sanmateo.ca.us/map_gallery) .

Now I've configured the 1.4 template to demo to an east coast metro police GIS staff.  To make this work, I had to change the Share setting on all maps in our AGO Group to "Everyone".  That is probably ok from a security standpoint, because the ops layers from the secure ArcGIS Server simply don't appear.

But the PD customers would really like these maps and their descriptions to be invisible inside our AGO group.  How about adding AGO group member login at the gallery front page?

Thanks.


I don't have any solution to a "Private Map Gallery" yet.  However I was just asked about the possibility of setting one up so any "Private Map Galleries" would help me too.
0 Kudos
ErikEndrulat
Regular Contributor
Is there any way to configure the Maps Gallery template so that REST services open up in the ArcGIS.com viewer, rather than the REST endpoint?

My maps gallery site is primarily geared as a catalog for ArcGIS REST web services. In the /config/settings.optional.js file, there are settings that allow you to choose the default map viewer to use (e.g., arcgis.com, arc explorer, built in 'simple' map), however, this only seems to apply to maps that are saved in arcgis.com.

By default, the services registered on arcgis.com that are listed in the gallery open to their REST endpoints, however, I don't' think this is that useful to the end-user, I'd rather it open up in the ArcGIS.com viewer.

Thanks,
Erik
0 Kudos
DavidZiff
Deactivated User
ok - so I have started using the Android AVD Manager to test the v1.4 public maps gallery with little luck.  I thought maybe it was something to do with the AVD so I went to a Sprint stoer to test it too.  They allow you to install apps so that was my choice for full selection of mobile devices to test drive the site.

Issues:

Apple iOS:

     Redirects to a bad url and then fixes itself on way to itunes...

     // IOS APP URL
     pmgConfig.iosAppURL = "itms://itunes.apple.com/us/app/arcgis/id379687930?mt=8";
     //perhaps another redirect would work better?

Android:

     A mobile device is detected but there is no pmgConfig setting to redirect android devices to the android market so this page is displayed:



something like this would be nice...

     //ANDROID APP URL
     //pmgconfig.androidAppURL = "https://market.android.com/details?id=com.esri.android.client"

Further - once the app is installed the map cannot be loaded.  So now the device cannot view the map at all unless the change the url to start with http instead of arcgis and not a likely task for standard mobile user...

WindowsMobile

The app took too long to download and left before it was complete - perhaps it is finished now and I will return to the store and check that one;)

     there is no pmgConfig setting to redirect WindowsMobile devices to their market; something like this would be nice....

     //WINDOWS MOBILE URL
     //pmgconfig.windowsMobileAppURL = "http://social.zune.net/redirect/preferences/askclient?ReturnUrl=http%3a%2f%2fsocial.zune.net%2fredir..."
0 Kudos