FlowingCode / GoogleMapsAddon

Vaadin Addon based on Google Maps Web Component
https://www.flowingcode.com/en/open-source/
Apache License 2.0
20 stars 7 forks source link

Add controlSize feature #63

Closed paodb closed 2 years ago

paodb commented 2 years ago

This comes from directory:


Is there a way to set the controls size? Here is a SO answer on how it can be set.

https://stackoverflow.com/a/68389696/1490322

I notice that the controls buttons look a bit big by default. Thanks


paodb commented 2 years ago

From the oficial documentation, a controlSize property can be added to achieve this:

https://developers.google.com/maps/documentation/javascript/reference/map#MapOptions.controlSize

paodb commented 2 years ago

This depends on adding the property on the web-component first. See https://github.com/FlowingCode/google-map/issues/17.