Select to view content in your preferred language

Public Maps Gallery template version 1.4  --Opening post

33318
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
MarcWeinshenker1
Regular Contributor
Hey Marc,

Thanks for the feedback.

1. Yes, we made it a text string to simplify things. You can change the font with CSS but if it's a custom font you're wanting to use, you may have to use a webfont. Otherwise, just changing the value with CSS is fine. It's in global.css line 176.

I'll see if I can do an update where you can either choose text or an image to use as the banner via the config. That would solve this problem. Some people will just choose text because it's easier. We tried to make this version easier for non technical people to set up.

2. There are a couple different ways to render the legend I think. I think it depends on the kind of data and how it's stored. I'll have to look into this more but I'm not sure what I can do.

This map legend does change when zooming in/out so it's something to do with that map.

http://maps.rockvillemd.gov/gallery/map.html?webmap=4a176c17c322483bb857c18cf6df059a


Thanks.

1.  I was able to change the title font in the header using the line in global.css.  I still would like to include a logo to the left of the title, so I'll have to figure that out.  Suggestions welcome, of course.  [Edit -- I found a way to get the logo working.]

2.  I'm really not sure what to change in the map.  Maybe the problem is that I have two levels of group layers?  I'll play around with it.
0 Kudos
MarcoWagemakers
Regular Contributor
Hi,

My gallery: http://46.137.167.81//public-maps-gallery/index.html

I'm using the mapViewer of ArcGIS.com:

// CHANGES THE MAP VIEWER TO USE 'simple' (map.html), 'explorer' (ArcGIS Explorer) or 'arcgis' (ArcGIS Javascript)
pmgConfig.mapViewer = 'arcgis'; // values: 'simple', 'explorer' or 'arcgis'. default: 'simple'.

The gallery generates a wrong URL to ArcGIS.com:
http://arcgis.com/home/webmap/viewer.html?webmap=8969ca7d9cc64cb083876ff519912f80
(without www)
When there is a feature layer in the map editing will be not available (without the www)

The URL has to be: http://www.arcgis.com/home/webmap/viewer.html?webmap=8969ca7d9cc64cb083876ff519912f80

Where to change the URL setting in the code?

Thanks,

Marco
0 Kudos
Esriwebmap
Occasional Contributor
Hi,

My gallery: http://46.137.167.81//public-maps-gallery/index.html

I'm using the mapViewer of ArcGIS.com:

// CHANGES THE MAP VIEWER TO USE 'simple' (map.html), 'explorer' (ArcGIS Explorer) or 'arcgis' (ArcGIS Javascript)
pmgConfig.mapViewer = 'arcgis'; // values: 'simple', 'explorer' or 'arcgis'. default: 'simple'.

The gallery generates a wrong URL to ArcGIS.com:
http://arcgis.com/home/webmap/viewer.html?webmap=8969ca7d9cc64cb083876ff519912f80
(without www)
When there is a feature layer in the map editing will be not available (without the www)

The URL has to be: http://www.arcgis.com/home/webmap/viewer.html?webmap=8969ca7d9cc64cb083876ff519912f80

Where to change the URL setting in the code?

Thanks,

Marco


Hi Marco,

That's in the optional settings config file.

pmgConfig.arcgisPortalURL = 'http://arcgis.com/';


I've updated the code on Arcgis.com to include the www.

Thanks
0 Kudos
DavidZiff
Deactivated User
OK - most of the functionality which is built into the new version, we appreciate.  That being said I have one major issue and one minor.

MAJOR ISSUE:  It seems that mobile users are not being redirected to the their respective mobile apps.  I don't care if the index3 is brought back or the redirect is from idex, but we really need it.  It seems that some of the code is still in there but not all; perhaps I am missing something... help plz.

MINOR ISSUE:  The graphics formatting keeps changing.  We will always default to our personal logos, fonts, branding, yadda yadda ...  I wish esri would quit being so controlling in this regard.  The idea is to make it personable, etc.  I would much rather have more control over layout and such and imbed an esri logo than be constantly steered into whatever direction.  When I go to the grocery store to buy milk and sugar - i buy milk and sugar; i don't care how many times they change the store:)  It just so happens to be that the milk and sugar in this case is our look, our font, our logo (on top ribbon!) etc.  I do believe that it is important to give ESRI credit and for their logo to be included.  But esri is an intermediary; it is ESRI's job to generally help gis users put out product to the consumers.  The extent to which it is beneficial for all the templates to have the same look and feel is suspect and i believe the more personable the product is the greater the success of the template and the more restrictive - the inverse.  While the current iteration has simplified many elements, it is kinda restrictive and we will likely always cut out a lot and hard-code back w/ html. 

btw: reactivating the mobile facet is really important to us and would be greatly appreciated if someone could help me in this regard or have 1.4x come out and reinstate it... We are trying to mix and match from 1.3 and 1.4 and not being familiar with all this would be way easier to remove functionality that we don't want than to add it back from some previous version...
0 Kudos
Esriwebmap
Occasional Contributor
OK - most of the functionality which is built into the new version, we appreciate.  That being said I have one major issue and one minor.

MAJOR ISSUE:  It seems that mobile users are not being redirected to the their respective mobile apps.  I don't care if the index3 is brought back or the redirect is from idex, but we really need it.  It seems that some of the code is still in there but not all; perhaps I am missing something... help plz.

MINOR ISSUE:  The graphics formatting keeps changing.  We will always default to our personal logos, fonts, branding, yadda yadda ...  I wish esri would quit being so controlling in this regard.  The idea is to make it personable, etc.  I would much rather have more control over layout and such and imbed an esri logo than be constantly steered into whatever direction.  When I go to the grocery store to buy milk and sugar - i buy milk and sugar; i don't care how many times they change the store:)  It just so happens to be that the milk and sugar in this case is our look, our font, our logo (on top ribbon!) etc.  I do believe that it is important to give ESRI credit and for their logo to be included.  But esri is an intermediary; it is ESRI's job to generally help gis users put out product to the consumers.  The extent to which it is beneficial for all the templates to have the same look and feel is suspect and i believe the more personable the product is the greater the success of the template and the more restrictive - the inverse.  While the current iteration has simplified many elements, it is kinda restrictive and we will likely always cut out a lot and hard-code back w/ html. 

btw: reactivating the mobile facet is really important to us and would be greatly appreciated if someone could help me in this regard or have 1.4x come out and reinstate it... We are trying to mix and match from 1.3 and 1.4 and not being familiar with all this would be way easier to remove functionality that we don't want than to add it back from some previous version...


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.

A little background; The first version of this template we targeted web developers with Javascript/HTML/CSS expertise but we found that a lot of users using it didn't have that experience so we made this version simpler which is why it's more controlled.

We have discussed a version of the template that embeds into a users current site design. I'll keep you posted on that.

Thanks
0 Kudos
MichaelKlein
Emerging Contributor
Hi.  With the 1.3.1 version I was able to place layer packages within my ArcGIS Online map gallery group and the layer package would be available for downloading on the right side of the page.  Version 1.4 shows additional maps where Version 1.3.1 showed layer packages.  How do I get my layer packages available in Version 1.4 as they are in Version 1.3.1
0 Kudos
VeronicaMoore1
Emerging Contributor
How do I configure the file to open with ArcGISexplorer as the viewer map?
0 Kudos
CharlesDawley
Regular 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
0 Kudos
ChrisBradberry
Deactivated User
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
0 Kudos
Esriwebmap
Occasional Contributor
Hi.  With the 1.3.1 version I was able to place layer packages within my ArcGIS Online map gallery group and the layer package would be available for downloading on the right side of the page.  Version 1.4 shows additional maps where Version 1.3.1 showed layer packages.  How do I get my layer packages available in Version 1.4 as they are in Version 1.3.1


Hi Michael,

You can put links on the right side in the content config. It's not using a group, but you can use any link you'd like.

Thanks
0 Kudos