2

I use ArcGIS API for JS 4.0 but I didn't find a widget to add a scalebar to my web application. So, I tried to use ArcGIS API for JS 3.16 which has a scalebar widget, but I don't know if it's a good idea to mix these different versions.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jun 15, 2016 at 9:26

1 Answer 1

1

You can't mix the 3.16 scalebar into a 4.0 app.

You could either make your own scalebar or wait the for ScaleBar widget to be part of a future 4.x release. - See https://developers.arcgis.com/javascript/latest/guide/functionality-matrix/index.html

answered Jun 20, 2016 at 18:25
2
  • Thank you for your answer. I will try to create my own scalebar. Commented Jun 21, 2016 at 10:02
  • I'm not moving to JS 4.x until some of the planned widgets have been completed. Don't want to spend time reinventing the wheel. Commented Jan 21, 2017 at 2:59

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.