[FEATURE] (Re-)Support absolute Marker
alignment
#1771
Labels
feature
This issue requests a new feature
P: 2 (soon™?)
S: core
Scoped to the core flutter_map functionality
Milestone
What do you want implemented?
Since v6,
Marker
s can only be aligned relatively (on a scale of 0-1) throughAlignment
. It would be good for there to be an alternative constructor that takes a number of pixels from each edge, and the size of theMarker
, and calculates the relativeAlignment
.What other alternatives are available?
As an example, given the width (
w
) and number of pixels to offset from the left (d
), the formula1.0 - 2 * d / w
can be used, as suggested by @Zverik in #1659 (comment).Can you provide any other information?
No response
Severity
Annoying: Currently have to use workarounds
The text was updated successfully, but these errors were encountered: