Trying to modify - Public Information Map gallery sample

Discussion created by bobp on Aug 2, 2012
Latest reply on Aug 6, 2012 by bobp
I am trying to modify the gallery sample - Public Information Map - 2.0. I want to include a dynamic map layer in the layers.js that will always be the active layer for map click events to display attributes in an info window but not appear in the Layers Menu for turning its display on and off. (It will be totally transparent and I do not want the user to even know the layer exists.) I have figured out the transparency and active for click event part but not how to remove it from the drop down Layers Menu. I would appreciate any help to this struggling beginner.