Select to view content in your preferred language

Panel section on top of map for widgets

658
1
01-28-2014 10:04 AM
NickDeMerchant
Emerging Contributor
Hi there, I am new to the java scripting and have followed some of the documentation to create a simple map.  I have put on the basemaps control along with the Home Button.  What I was trying to find was some code examples for creating a panel or a place to put some widget buttons such as in the basic viewer sample.  Just having a hard time finding some good examples around that.  Any information would be greatly appreciated.

Thanks,

Nick
0 Kudos
1 Reply
KaitlynnDavis
Regular Contributor
Well because you say "on top" of the map, maybe the dojo Floating Panel could be what you need.

https://developers.arcgis.com/javascript/jssamples/gp_clipasync.html

Since the ArcGIS JavaScript API uses the Dojo toolkit, you can go to the Dojo website and browse their documentation for the different kinds of layout widgets you can use:

http://dojotoolkit.org/reference-guide/1.9/dojox/layout/FloatingPane.html

Tab container is another useful widget:

http://dojotoolkit.org/reference-guide/1.9/dijit/layout/TabContainer.html
0 Kudos