Maps for Flutter
Native maps for Flutter, embedded as a native view using the PlatformView API.
|iOS (Apple Maps)||Android (Google Maps)|
Setup works as for any Flutter plugin, expect the caveats outlined below:
Since the PlatformView api is still only a preview, you need to set the following key to true in your
<plist> <dict> <key>io.flutter.embedded_views_preview</key> <true/> </dict> </plist>
Google Maps requires that you get an API key, place it in your
<manifest> <application> <meta-data android:name="com.google.android.geo.API_KEY" android:value="YOUR API KEY HERE" /> </application> </manifest>
Currently no features at all are implemented, it only shows an empty map not centered on anything in particular.
The goal is to follow
google_maps_flutter closely, and have the same features where it makes sense and can be reasonably implemented on both iOS and Android.