OpenLayers OpenLayers

Ticket #168 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

add OpenLayers.Map.getScale() method

Reported by: tschaub Assigned to:
Priority: minor Milestone: 2.0 Release
Component: general Version:
Keywords: Cc:
State:

Description

Doesn't look to me like there is a quick way to get the map scale. I'll attach a patch that adds a getScale() method.

Attachments

Map.js.patch (0.8 kB) - added by tschaub on 08/11/06 13:10:19.
Patch to add OpenLayers.Map.getScale() method

Change History

08/11/06 13:10:19 changed by tschaub

  • attachment Map.js.patch added.

Patch to add OpenLayers.Map.getScale() method

08/15/06 21:10:58 changed by euzuro

  • status changed from new to closed.
  • resolution set to fixed.

patch applied in 1227 -- great code, thanks tim!

08/16/06 00:54:54 changed by euzuro

  • milestone set to 2.0 Release.