Skip to main content

enaml-native-maps package for enaml-native-cli

Project description

# enaml-native-maps
GoogleMaps for enaml-native

[![See the demo on youtube](](

### Features

This package contains the following widgets:

- `MapView` with traffic, layers, buildings, and camera control
- `MapMarker` with customizable info windows
- `MapPolygon`, `MapPolyline`, and `MapCirlce`

You may want to also use the [`LocationManager`]( from `` for GPS updates. See

### Installing

1. Install `enaml-native-maps` using the [enaml-native-cli]( (or pip)


#: Using the enaml-native cli
enaml-native install enaml-native-maps

#: or via pip and link it
pip install enaml-native-maps
enaml-native link enaml-native-maps


2. Next, add `enaml-native-maps: ""` to your app's `package.json`

3. Then update the manifest in `android/app/src/main/AndroidManifext.xml` to include:


<!-- If using google maps these two are required.
You must also define the API key in>
android:value="@integer/google_play_services_version" />
android:value="@string/google_maps_key" />


> Note: Make sure it is __within the `<application>` tags__!

4. Now in `android/app/build.gradle` add the `resValue` lines below under the `buildTypes`
to tell gradle to pull your key from the ``


buildTypes {
debug {
// Add this line
resValue "string", "google_maps_key",
(project.findProperty("GOOGLE_MAPS_API_KEY") ?: "")
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), ''
// And add this line
resValue "string", "google_maps_key",
(project.findProperty("GOOGLE_MAPS_API_KEY") ?: "")


5. Finally add your `GOOGLE_API_MAPS_KEY=yourapikey` in `android/app/`.

See [android's maps docs]( for help
and to get an API key.

### Usage

See the examples folder.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for enaml-native-maps, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size enaml_native_maps-1.2-py2-none-any.whl (76.3 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page