https://github.com/linusu/flutter_maps
Native maps for Flutter, embedded as a native view using the PlatformView API
https://github.com/linusu/flutter_maps
Last synced: about 1 year ago
JSON representation
Native maps for Flutter, embedded as a native view using the PlatformView API
- Host: GitHub
- URL: https://github.com/linusu/flutter_maps
- Owner: LinusU
- License: mit
- Created: 2019-03-14T11:05:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T17:13:53.000Z (almost 7 years ago)
- Last Synced: 2024-12-27T01:11:34.225Z (over 1 year ago)
- Language: Kotlin
- Size: 1.47 MB
- Stars: 13
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Maps for Flutter
Native maps for Flutter, embedded as a native view using the PlatformView API.
| **iOS** (Apple Maps) | **Android** (Google Maps) |
| ---------------------- | ------------------------------ |
|  |  |
## Setup
Setup works as for any Flutter plugin, expect the caveats outlined below:
### iOS
Since the PlatformView api is still only a preview, you need to set the following key to true in your `Info.plist`:
```xml
io.flutter.embedded_views_preview
```
### Android
Google Maps requires that you [get an API key](https://developers.google.com/maps/documentation/android-sdk/signup), place it in your `AndroidManifest.xml`:
```xml
```
## Features
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`](https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter) closely, and have the same features where it makes sense and can be reasonably implemented on both iOS and Android.