Skip to content

Is there way to combine flutter_map_marker_popup and flutter_map_dragmarker? #40

@S-Man42

Description

@S-Man42

Previously I implemented my draggable marker on my own. So I was able to react on the tap to open a popup using the PopupMarker plugin.

Since their update from v3 to v4 the onPanUpdate is not called anymore (funny enough: all other events still work as onVerticalDragUpdate).

I tried to implement the onVerticalDragUpdate and onHorizontalDragUpdate instead as you did, but it worked not as expected. I only was able to drag the marker in exact horizontal and vertical direction. Reading your code did not make it clear to me how you bypassed this behaviour to enable panning in all directions, unfortunately. (Moreover it seems to me more like a dirty workaround to use these two events instead the plain onPanUpdate, which worked quite well all the time...)

However, I tried to integrate your plugin directly but I am not sure how to keep the popup functionality because both plugins are different kind of layers...

Do you see a way around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions