{"id":23503276,"url":"https://github.com/codelv/enaml-native-maps","last_synced_at":"2025-06-23T11:36:56.340Z","repository":{"id":57426324,"uuid":"108741854","full_name":"codelv/enaml-native-maps","owner":"codelv","description":"GoogleMaps for enaml-native","archived":false,"fork":false,"pushed_at":"2018-03-13T23:38:38.000Z","size":80,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-16T04:36:36.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codelv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-29T14:34:50.000Z","updated_at":"2020-06-22T21:47:50.000Z","dependencies_parsed_at":"2022-09-11T05:01:30.945Z","dependency_job_id":null,"html_url":"https://github.com/codelv/enaml-native-maps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codelv/enaml-native-maps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelv%2Fenaml-native-maps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelv%2Fenaml-native-maps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelv%2Fenaml-native-maps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelv%2Fenaml-native-maps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codelv","download_url":"https://codeload.github.com/codelv/enaml-native-maps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codelv%2Fenaml-native-maps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261470032,"owners_count":23163206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-25T08:26:33.069Z","updated_at":"2025-06-23T11:36:51.328Z","avatar_url":"https://github.com/codelv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# enaml-native-maps\nGoogleMaps for enaml-native\n\n[![See the demo on youtube](https://img.youtube.com/vi/qH1EByO8pwM/0.jpg)](https://youtu.be/qH1EByO8pwM)\n\n### Features\n\nThis package contains the following widgets:\n\n- `MapView` with traffic, layers, buildings, and camera control\n- `MapMarker` with customizable info windows\n- `MapPolygon`, `MapPolyline`, and `MapCirlce`\n\nYou may want to also use the [`LocationManager`](https://github.com/codelv/enaml-native/blob/master/src/enamlnative/android/android_location.py) from `enamlnative.android.api` for GPS updates. See   \n\n### Installing\n\n1. Install `enaml-native-maps` using the [enaml-native-cli](https://github.com/codelv/enaml-native-cli) (or pip)\n\n```bash\n\n#: Using the enaml-native cli\nenaml-native install enaml-native-maps\n\n#: or via pip and link it\npip install enaml-native-maps\nenaml-native link enaml-native-maps\n\n```\n\n\n2. Next, add `enaml-native-maps: \"\"` to your app's `package.json`\n\n\n3. Then update the manifest in `android/app/src/main/AndroidManifext.xml` to include:\n\n```bash\n  \n        \u003c!-- If using google maps these two are required.\n        You must also define the API key in gradle.properties--\u003e\n        \u003cmeta-data\n            android:name=\"com.google.android.gms.version\"\n            android:value=\"@integer/google_play_services_version\" /\u003e\n        \u003cmeta-data\n            android:name=\"com.google.android.geo.API_KEY\"\n            android:value=\"@string/google_maps_key\" /\u003e\n\n\n```\n\n\u003e Note: Make sure it is __within the `\u003capplication\u003e` tags__!  \n\n\n4. Now in `android/app/build.gradle` add the `resValue` lines below under the `buildTypes` \nto  tell gradle to pull your key from the `gradle.properties`\n\n\n```groovy\n\n    buildTypes {\n        debug {\n            // Add this line\n            resValue \"string\", \"google_maps_key\",\n                    (project.findProperty(\"GOOGLE_MAPS_API_KEY\") ?: \"\")\n        }\n        release {\n            minifyEnabled false\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\n            // And add this line\n            resValue \"string\", \"google_maps_key\",\n                    (project.findProperty(\"GOOGLE_MAPS_API_KEY\") ?: \"\")\n        }\n    }\n\n\n```\n\n5. Finally add your `GOOGLE_API_MAPS_KEY=yourapikey` in `android/app/gradle.properties`.\n\n\nSee [android's maps docs](https://developers.google.com/maps/documentation/android-api/map-with-marker) for help \nand to get an API key. \n \n ### Usage\n \n See the examples folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelv%2Fenaml-native-maps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodelv%2Fenaml-native-maps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodelv%2Fenaml-native-maps/lists"}