flutter_map icon indicating copy to clipboard operation
flutter_map copied to clipboard

Support asymmetric bounds padding

Open csjames opened this issue 8 years ago • 5 comments

FitBoundsOptions currently takes a Point, perhaps an EdgeInsets would be more appropriate, especially given the parameters name is padding.

Asymmetric padding is supported by Google maps and I believe it is a useful feature

I'll take a look at doing it myself if the boss things the padding looks crap,

Thanks, James :)

csjames avatar Sep 18 '18 16:09 csjames

Bump

csjames avatar Oct 29 '18 10:10 csjames

thanks for filing an issue. I don't currently have plans to work on this but if you would like to make a PR I agree this would make more sense.

FitBounds options I believe was part of the port from Leaflet

johnpryan avatar Oct 29 '18 17:10 johnpryan

I'll get it done, just need a bit of time :)

Thanks! James

Sent from my iPhone

On 29 Oct 2018, at 17:48, John Ryan [email protected] wrote:

thanks for filing an issue. I don't currently have plans to work on this but if you would like to make a PR I agree this would make more sense.

FitBounds options I believe was part of the port from Leaflet

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

csjames avatar Oct 29 '18 17:10 csjames

Thanks for filing an issue. I went through the PR and nitpicked a few things. If you have time to fix them up I can include them in the next release.

Thanks!

johnpryan avatar Nov 19 '18 18:11 johnpryan

This is fixed now

johnpryan avatar Jul 28 '19 05:07 johnpryan