Scale / zoom bar on ArcGIS published service

2896
2
03-25-2015 12:39 PM
innisfilgis1
New Contributor II

I am currently migrating data from the old database to a new one. This database has a few layers that are published as services to share online and I am trying to recreate them. The old layers online have a scale / zoom bar on the side of the screen so you could see what level of zoom you are at, but the ones I am currently publishing only have a zoom in and zoom out button, rather than a scale of zoom. I have attached a photo of the new and the old, if anyone knows how I can get that scale bar back please let me know!

0 Kudos
2 Replies
TimWitt2
MVP Alum

You would have to change the map property for the sliderstyle to large.

See here ArcGIS API for JavaScript Sandbox

I just don't know where that code is located on the server.

innisfilgis1
New Contributor II

Can you give any more detail on how to do this? I have never played around with Javascript, I usually just publish the service.

0 Kudos