Overlay Image Layer
Last updated
Last updated
© flutter_map Authors & Maintainers
You can overlay images on the map (for example, town or floor plans) using OverlayImageLayer
and OverlayImage
s or RotatedOverlayImage
s.
There have been issues in the past where these images failed to appear properly, sometimes not showing up at all, sometimes showing up malformed or corrupted.
If this issue occurs to you, and you're using Impeller, try disabling Impeller at launch/build time to see if the issue rectifies itself. If it does, this is an Impeller issue, and should be reported to the Flutter team.
RotatedOverlayImage
supports rotation and parallelogram skewing, by accepting 3 points instead of 2.
To calculate a rotation without skewing, given a center and a 3rd corner, see https://stackoverflow.com/a/78064659/11846040.