a14n / dart-google-maps

A library to use Google Maps JavaScript API v3 from Dart scripts.
Apache License 2.0
130 stars 66 forks source link

Add support for GoogleMap.setPadding() method. #76

Closed ghost closed 4 years ago

ghost commented 4 years ago

First of all I would like to say thank you very much for this package, it works great for flutter web.

One thing that would actually really help build fullscreen UIs would be the GoogleMap.setPadding() method -- this adds padding of all the Google Map UI elements (logo, controls, etc) while still maintaining a fullscreen map.

Unfortunately I am still a total script kiddie so I haven't been able to figure it out quite yet.

Thank you for all you do!

a14n commented 4 years ago

Thanks for the interest.

This package is a wrapper on top of the javascript api and I don't plan to add additional features not corresponding to something in the javascript api.

You should so handle padding directly in your app. Sorry.

ghost commented 4 years ago

https://github.com/flutter/flutter/issues/32149 This is the method I was referencing, sorry that I didn't include it originally. I believe it is a part of the Javascript API. Thank you for your time.