Select to view content in your preferred language

How to get the +/- Zoom bar ?

875
5
06-20-2011 01:14 AM
PicheryCharles
New Contributor
Hello everyone,
I'm looking for a way to get the +/- Zoom bar.
Do you have any clue how i can do that ?
Thanks for your answers.
0 Kudos
5 Replies
KellyHutchins
Esri Notable Contributor
The +/- zoom bar displays when you use the compact build of the JSAPI. Here are some details on the compact build:

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/inside_compactbuild.htm
0 Kudos
shay-geo
Frequent Contributor
I have been trying to reach the page at http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/inside_compactbuild.ht...

It keeps on saying access denied on ie 8. Do you have any other reference for it?
0 Kudos
KellyHutchins
Esri Notable Contributor
0 Kudos
shay-geo
Frequent Contributor
The problem still persist with ie 8. Used chrome to see the page.

The compact build seems to perform way faster than the non compact one. Probably due to dojo dependencies.

But i was wondering, if i want the slider bar (for scales ) using compact build, How would i do that?

Thanks in advance.
0 Kudos
PicheryCharles
New Contributor
Thanks for the answer.
I just designed +/- buttons and used map.setLevel(), but thanks anyway 😉
0 Kudos