Ticket #513 (closed bug: duplicate)

Opened 6 years ago

Last modified 6 years ago

Pixel/coordinates readings are inconsistent between browser and layouts.

Reported by: openlayers Owned by:
Priority: major Milestone: 2.5 Release
Component: Events Version: 2.3
Keywords: Cc: marco.reis@…
State:

Description

Mouse position, and consequently coordinates (which is a function of the first) are not consistent. It varies between browsers and, more importantly in my opinion, it depends of the DOM structure above the DIV element that contains the map, namely on its parents and peers and their styles, or even the style of the map DIV itself in case of a border!

This makes a more designed layout of the page containing the map, or the use of some fancy effects using some Javascript library like Scriptaculous (to create, for example, a draggable map container) a nightmare, and prohibits the reading of precise coordinates from mouse moves, which is something very important if you’re developing online technical tools.

Marco Reis (CONEXA)

Change History

Changed 6 years ago by openlayers

  • version changed from 2.3 RC1 to 2.3

The bug applies to version 2.3 and not 2.3 RC1 as first reported.

Marco Reis (CONEXA)

Changed 6 years ago by crschmidt

  • milestone set to 2.5 Release

This probably bears investigation. An example would help.

Changed 6 years ago by tschaub

  • status changed from new to closed
  • resolution set to duplicate

marking as a duplicate of #863

Note: See TracTickets for help on using tickets.