setCenter

supports a zoom argument, but I did not found how to get the current applied zoom level.

Within JavaScript, exists a kind of get method to access the zoom level?

asked 24 Oct '13, 12:30

juer's gravatar image

juer
11112
accept rate: 0%

closed 24 Oct '13, 12:44

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
73.8k866671144

The question has been closed for the following reason "Question is off-topic or not relevant" by Frederik Ramm 24 Oct '13, 12:44


It is unclear what you are talking about. It is certainly not an OpenStreetMap question - sounds like it might be an OpenLayers or Leaflet issue, and if that's true you should ask in the appropriate support forums/mailing lists. (If you are talking OpenLayers, there's a getZoom function on the Map object.)

permanent link

answered 24 Oct '13, 12:44

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
73.8k866671144
accept rate: 24%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×322
×84

question asked: 24 Oct '13, 12:30

question was seen: 1,504 times

last updated: 24 Oct '13, 12:44

powered by OSQA