Google Maps Styling in Flutter

<p>Version 0.5.16 of the&nbsp;<em>google_maps_flutter</em>&nbsp;plugin has arrived and it includes the ability to add a custom style to your map! This article will describe an easy way to style your Google Map in Flutter.</p> <p>The new plugin version adds the&nbsp;<em>setMapStyle</em>&nbsp;method to the&nbsp;<em>GoogleMapController</em>&nbsp;class. This method takes the String representation of your custom style as input. To create this style in JSON format, Google created a handy tool:&nbsp;<a href="https://mapstyle.withgoogle.com/" rel="noopener ugc nofollow" target="_blank">https://mapstyle.withgoogle.com/</a>. You can use any of the pre-made themes, or create your own style in detail. After you&rsquo;ve created your style, click&nbsp;<strong>finish</strong>&nbsp;and you can copy the resulting JSON. Following JSON represents a simple style that sets the water color to grey and roads to white:</p> <p><a href="https://medium.com/@matthiasschuyten/google-maps-styling-in-flutter-5c4101806e83"><strong>Website</strong></a></p>
Tags: Google Maps