[OpenLayers-Users] "interesting" cross browser problem with mouse click position

Christopher Schmidt crschmidt at metacarta.com
Thu Oct 26 10:37:12 EDT 2006


On Wed, Oct 25, 2006 at 06:33:38PM -0700, percy wrote:
> Hi All,
> 
> We are attempting to use an openlayers frontend to a kamap tiled backend.
> 
> My test page, http://ngmdb.usgs.gov/ol/examples/ngmdb4.html , works
> great in both "major" browsers. However when we integrate it into the
> main search page (which is not yet on a public site, but here's a
> simpler Kamap version: http://ngmdb.usgs.gov/ngm_compsearch_map.html) we
> get errant behaviour with regard to how the mouseclicks are handled by
> OpenLayers in FireFox!
>
> to see this in action, just edit your test file by sticking in this div 
> just after the body tag:
> 
> <div style="width:600px;height:800px;background-color:#008800;">
> Push the map down the screen
> </div>
> 
> and then load the test file in a browser. firefox will exhibit the same 
> breaking behavior as it does on the working page!"

Mistakenly sent my response to Percy, rather than to the list: This was
fixed with r1692, http://trac.openlayers.org/changeset/1692 closing bug
#333, http://trac.openlayers.org/ticket/333 , and the patch available at
the bottom of the page on r1692 should allow you to fix this issue for
older OpenLayers instances. Alternatively, this fix is included in the
2.2-rc1 currently being tested, and will be included in the final 2.2
release.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list