I'm using markers on my flutter_map, using the built-in Icon class as the child, and they are drawn with the anchor at the top-left corner of the icon. This is different than the FlutterLogo() that is used in the examples that has its anchor at the middle of the logo (and therefore is centered on the location of the marker). I've played with Container alignment, Align class, etc, but cannot seem to change the anchor location of the drawn marker.
Following the leaflet.js implementation, it would be great to be able to change the anchor of the drawn marker. See, e.g., http://leafletjs.com/examples/custom-icons/. for a good example.
Can this currently be done? If so, how, and if not, do you plan to add support for that?
Thanks!
I'm using markers on my flutter_map, using the built-in Icon class as the child, and they are drawn with the anchor at the top-left corner of the icon. This is different than the FlutterLogo() that is used in the examples that has its anchor at the middle of the logo (and therefore is centered on the location of the marker). I've played with Container alignment, Align class, etc, but cannot seem to change the anchor location of the drawn marker.
Following the leaflet.js implementation, it would be great to be able to change the anchor of the drawn marker. See, e.g., http://leafletjs.com/examples/custom-icons/. for a good example.
Can this currently be done? If so, how, and if not, do you plan to add support for that?
Thanks!