OpenLayers OpenLayers

Ticket #187 (closed feature: wontfix)

Opened 2 years ago

Last modified 2 years ago

since OpenLayers.Bounds supports pixels, getHeight() should return absolute values

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

Description

It seems like getHeight should return absolute values.

Attachments

abs_height.patch (464 bytes) - added by tschaub on 08/17/06 15:37:54.
patch for BaseTypes.js

Change History

08/17/06 15:37:54 changed by tschaub

  • attachment abs_height.patch added.

patch for BaseTypes.js

08/18/06 13:18:48 changed by euzuro

  • status changed from new to closed.
  • resolution set to wontfix.
  • milestone changed from 2.1 Release to 2.0 Release.

discussed on dev@ list and we are going to postpone taking action on this one until further notice:

I havent looked at your code to see where/how you are using bounds... but I think I get more or less what the problem is. It is designed for use with lonlat and you need it for pixels.

Can you give us a sense of how necessary this new functionality would be to you?

I'm only using bounds in pixel space for the bounds of the little extent rectangle on the overview map. Seems easiest for me to wrap my getHeight calls in a Math.abs(). Until another case comes up, there is probably no reason to muck with Bounds.

ok. that sounds reasonable. keep this in mind though, as if it comes up again, it might be worth reconsidering...