Skip to content

Panning map issue when click-drag is initiated on marker #506

@foodtruckfiesta

Description

@foodtruckfiesta

A user holds the mouse button down and drags the mouse to pan around on a map. There is an issue when the mouse down event is initiated on top of a custom icon. In that case the default web browser behavior is experienced whereby the image can be dragged off of the webpage.

With Google Maps, when you click on a custom marker and drag the map, the mouse pointer icon turns into the "move" cursor and one is able to pan around on the map.

Google Maps example behavior: http://code.google.com/apis/maps/documentation/javascript/examples/icon-complex.html
Leaflet example behavior: http://leaflet.cloudmade.com/examples/custom-icons.html

I can help develop a solution - please let me know how you would like to proceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions