You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use flutter_map to show an image without a defined size and put markers on it (using coordinates).
I tried it using OverlayImageLayer and getting the bounds from the MapController but bounds from the controller seem to be the size of the parent. I this case I can scroll and zoom the image but I cannot do it if I do it outside of the image (still inside of FlutterMap widget).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to use flutter_map to show an image without a defined size and put markers on it (using coordinates).
I tried it using OverlayImageLayer and getting the bounds from the MapController but bounds from the controller seem to be the size of the parent. I this case I can scroll and zoom the image but I cannot do it if I do it outside of the image (still inside of FlutterMap widget).
This is the code that I'm using:
Is there any way to obtain the bounds of an image?
Does someone know if it is doable?
Beta Was this translation helpful? Give feedback.
All reactions