[OpenLayers-Dev] Event trapping by dragging... on Boxes...

Eric Lemoine eric.c2c at gmail.com
Tue Sep 16 15:16:27 EDT 2008


Hi. No, add it to your application code, right after the creation of
the select feature control. Eric

2008/9/16, Huey Brantley <hpbrantley at gmail.com>:
> Wiki says:
>
> You can add the following lines to allow for dragging the map when
> your mouse cursor is over a feature:
>
> Question is, add them to where?  The selectFeature control js or to
> your map code.  I would assume this would be added to the control
> code.
>
>
> On Tue, Sep 16, 2008 at 12:01 PM, Christopher Schmidt
> <crschmidt at metacarta.com> wrote:
>> On Tue, Sep 16, 2008 at 11:16:33AM -0500, Huey Brantley wrote:
>>> I may be wrong but I think he is seeing the same issue and me.  I have
>>> a vector layer (GML) on top of my map. The vector layer has a
>>> selectFeature control attached to it.  If you click and hold, intended
>>> to pan, while over the polygon, it won't pan.
>>
>> http://faq.openlayers.org/vector-related-questions/why-cant-i-drag-the-map-when-my-mouse-is-over-a-vector-feature/
>>
>>> Also, if hover is
>>> activated and a popup is drawn, clicking triggers a error in FireBug.
>>
>> Suggest narrowing this one down to a minimal test case and opening a
>> ticket.
>>
>> Regards,
>> --
>> Christopher Schmidt
>> MetaCarta
>>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>



More information about the Dev mailing list