[OpenLayers-Users] [Mapbuilder-users] Why there is some offsetbetween mouseclick point and the cross?

olivier.terral olivier.terral at geomatys.fr
Mon May 21 03:49:13 EDT 2007


Christopher Schmidt a écrit :
> On Fri, May 18, 2007 at 01:55:54PM +0200, olivier.terral wrote:
>   
>> Alex Chew a ?crit :
>>     
>>> I don't know why there is such an offset between mouse click point and 
>>> the cross or the rectangle. Zoomin,zoomout,dragpan and query are all 
>>> fall in this. It looks like the cross and rectangle is drawn with a 
>>> fixed x offset added(some value about 400px). It always on the right 
>>> of the correct positon it should be.
>>>  
>>> I checked my config file, but still puzzled with this.
>>> please help.
>>>       
>> Hi Alex,
>>
>> It's an OpenLayers (opensource project, mapbuilder use it for rendering) 
>> issue so I permit me to send this mail to the openlayers users list.
>> Probably , they are in a best position to resolve this problem.
>>     
>
> I need more context. A URL, an HTML snippet, something. If you think
> it's an OpenLayers problem, please explain why -- I don't see it in any
> of the demos, but I also don't have enough context to know why.
>
> Regards,
>   

Hi
http://www.openlayers.org/dev/examples/controls.html

In this demo when you draw an aoi for zoom in,
 you click on the map and move the mouse, and you can see the rectangle 
corner  of aoi it is a little on the bottom-right of mouse cross center.

I hope I'm clear.

Bye

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mapbuilder-users mailing list
Mapbuilder-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users



More information about the Users mailing list