Does your div move?

I've noticed that if I put content above my map that can grow/shrink vertically
it causes my vector shapes to be drawn above/below where I click
by an offset equal to how much the map has shifted.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Guillaume Sueur
Sent: Thursday, February 26, 2009 10:43 AM
To: Elavazhagan. M
Cc: [email protected]
Subject: Re: [OpenLayers-Users] Vector drawing issue with IE

not sure of what I'm writing here, but shouldn't a 4326 layer be reprojected to 
allow vector layer drawing on it's top ? The problem with
WGS84 is that the y-axis is not constant. That can explain the problem, but it 
shouldn't work with firefox either.

Guillaume

Elavazhagan. M a écrit :
> I am using epsg:4326 for my MapServer layer.
> 
> The shift is NOT constant. It is varying. 
> 
> But everything works as expected with Firefox.
> 
> Thanks,
> Ela.
> 
>> -----Original Message-----
>> From: Guillaume Sueur [mailto:[email protected]]
>> Sent: Thursday, February 26, 2009 8:34 PM
>> To: Elavazhagan. M
>> Cc: 'Guillaume Sueur'; [email protected]
>> Subject: Re: [OpenLayers-Users] Vector drawing issue with IE
>>
>> any chance your mapServer layer can be in WGS84 (not projected) ?
>>
>> else, is the gap always the same or is it increasing on x or y axis ?
>> does it work as expected with firefox ?
>>
>>
>> Guillaume
>>
>> Elavazhagan. M a écrit :
>>> No, I am not using GoogleMap layer. I just use a MapServer layer as
>> my base
>>> layer and a vector layer to draw features.
>>>
>>> Thanks,
>>> Ela.
>>>
>>>> -----Original Message-----
>>>> From: Guillaume Sueur [mailto:[email protected]]
>>>> Sent: Thursday, February 26, 2009 5:38 PM
>>>> To: Elavazhagan. M
>>>> Cc: [email protected]
>>>> Subject: Re: [OpenLayers-Users] Vector drawing issue with IE
>>>>
>>>> are you using a googleMap layer ? if so, is it set to 
>>>> sphericalMercator=true ?
>>>>
>>>> Regards
>>>>
>>>> Guillaume
>>>>
>>>> Elavazhagan. M a écrit :
>>>>> Hello Folks,
>>>>>
>>>>>
>>>>>
>>>>> I am trying to draw vector features on Internet Explorer 7 (IE7),
>> but
>>>>> the features are NOT getting drawn exactly where I move my mouse 
>>>>> pointer. I mean, there seems to be some shift always when I draw.
>> Is
>>>>> there anything that can resolve this issue?
>>>>>
>>>>>
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Ela.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> -
>> --
>>>> ---
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> [email protected]
>>>>> http://openlayers.org/mailman/listinfo/users
>>>
>>>
> 
> 
> 
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to