1

I want to change the style of the control of the ScaleLine,but I have no idea where to change it,anybody can give me some advice?

map.addControl(new OpenLayers.Control.ScaleLine());

3

Please check out following links

http://dev.openlayers.org/addins/scalebar/trunk/examples/scalebar.html http://dev.openlayers.org/addins/scalebar/trunk/examples/scalebar-custom.html

will be helpful for you.

1
  • @ethelhao My Pleasure :) Oct 30 '13 at 10:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.