NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have a Openlayers Map showing ESRI's World_Imagery as base map. My question is given a extent (openlayers bounds object) and a zoom level. How do I calculate the Width and Height of this box in Pixels for that zoom level?

asked 16 Oct '12, 20:53

Shaunak's gravatar image

Shaunak
11112
accept rate: 0%

closed 16 Oct '12, 21:28

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273

The question has been closed for the following reason "Your question is not OpenStreetMap related. This is the OpenStreetMap help forum. OpenLayers is a separate project. Access their documentation and mailing lists through openlayers.org." by Frederik Ramm 16 Oct '12, 21:28

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:

×122

question asked: 16 Oct '12, 20:53

question was seen: 2,626 times

last updated: 16 Oct '12, 21:28

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum