maplibre / maplibre-native-qt

MapLibre Qt Bindings and Qt Location Plugin
34 stars 12 forks source link

Add mouse events with coordinate to GLWidget #141

Closed ntadej closed 3 weeks ago

ntadej commented 3 weeks ago

Add mouse events with coordinate to GLWidget:

    void onMouseDoubleClickEvent(QMapLibre::Coordinate coordinate);
    void onMousePressEvent(QMapLibre::Coordinate coordinate);
    void onMouseReleaseEvent(QMapLibre::Coordinate coordinate);
    void onMouseMoveEvent(QMapLibre::Coordinate coordinate);

Fixes #82.

/cc @cgalvan @wecand0

cgalvan commented 3 weeks ago

Awesome, thanks for adding this! :)

wecand0 commented 1 week ago

thank you!