[OpenLayers-Dev] Issue - vector feature following map center on map move
Alexandre Dube
adube at mapgears.com
Fri Jun 15 08:09:44 PDT 2012
Andreas,
Yup, that worked and will do nicely. Thanks for the tip.
Alexandre
On 12-06-15 09:58 AM, Andreas Hocevar wrote:
> This issue is because vector renderers create a viewport that matches
> the current map viewport (with a default ratio of 1), and this is not
> updated during dragging. What you can try is configure your vector
> layer with
>
> ratio: 3
>
> This should give you a renderer viewport big enough to pan from one
> end of the map to the other without running into this issue.
>
> Andreas.
>
> On Fri, Jun 15, 2012 at 2:36 PM, Alexandre Dube<adube at mapgears.com> wrote:
>> Hi,
>>
>> Does anyone have an idea for solving or working around this issue ?
>>
>> Regards,
>>
>> Alexandre
>>
>>
>>
>> On 12-06-08 10:21 AM, Alexandre Dube wrote:
>>> You're right, it's not an SVG issue. The issue is the same with [Canvas].
>>> I tested in IE (VML) and the feature disappears when it hits the edge.
>>>
>>> Do you know if there could be quick way to work around the issue ?
>>>
>>> [Canvas]
>>> http://dev8.mapgears.com/openlayers/2.12-rc6/examples/ad-vector-issue-map-move.html?renderer=Canvas
>>>
>>
>> --
>> Alexandre Dubé
>> Mapgears
>> www.mapgears.com
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>
>
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Dev
mailing list