Flutter_map: Markers `onTap` not working with polylines

Created on 11 Jun 2019  路  2Comments  路  Source: fleaflet/flutter_map

When a polyline is present the markers onTap function is not invoked.
The polyline does not need to overlap a marker.

example:
https://github.com/FalkF/flutter_map/commit/56760dfb53d122a7a36af252c87c2a08d69f666a

Older comment: https://github.com/johnpryan/flutter_map/issues/119#issuecomment-423868626

Most helpful comment

Does it work if you change the ordering so that MarkerLayerOptions is after the PolylineLayerOptions?

All 2 comments

Does it work if you change the ordering so that MarkerLayerOptions is after the PolylineLayerOptions?

Indeed, well i should have come up with that myself :see_no_evil:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garrrettt picture garrrettt  路  3Comments

EdHubbell picture EdHubbell  路  4Comments

SamuelRioTz picture SamuelRioTz  路  4Comments

vinicentus picture vinicentus  路  3Comments

abhijithvijayan picture abhijithvijayan  路  4Comments