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

Huey Brantley hpbrantley at gmail.com
Tue Sep 16 14:58:04 EDT 2008


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
>



More information about the Dev mailing list