{ "info": { "author": "CodeLV", "author_email": "frmdstryr@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# 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 \n \n \n\n\n```\n\n> Note: Make sure it is __within the `` 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\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/codelv/enaml-native-maps", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "enaml-native-maps", "package_url": "https://pypi.org/project/enaml-native-maps/", "platform": "", "project_url": "https://pypi.org/project/enaml-native-maps/", "project_urls": { "Homepage": "https://github.com/codelv/enaml-native-maps" }, "release_url": "https://pypi.org/project/enaml-native-maps/1.2/", "requires_dist": [ "enaml-native (>=3.0.0)" ], "requires_python": "", "summary": "enaml-native-maps package for enaml-native-cli", "version": "1.2" }, "last_serial": 3583060, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "989fcec24109fb089ecc4d0e721baf9d", "sha256": "f34370ebfc8e0eab470bea4146942b3f13740fb922bd4ef4d92d065fc366986b" }, "downloads": -1, "filename": "enaml_native_maps-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "989fcec24109fb089ecc4d0e721baf9d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 79333, "upload_time": "2017-10-31T23:18:02", "url": "https://files.pythonhosted.org/packages/0c/49/00f31da4e4ee88eabc1406090731ccadc96357eaff6c4ace47f5f2f9b2fa/enaml_native_maps-1.0-py2-none-any.whl" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "8571f6f6d04188aad0786bc52fd8d330", "sha256": "74dead25890a442018b639bf1dda1935fb3462dc48ae21962e56040796d3ce71" }, "downloads": -1, "filename": "enaml_native_maps-1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "8571f6f6d04188aad0786bc52fd8d330", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 75536, "upload_time": "2017-11-07T00:20:32", "url": "https://files.pythonhosted.org/packages/ac/57/ef24e0be35e4a34dcabed65bf67977ef584ee5dc42b0242debb8b61be46d/enaml_native_maps-1.1-py2-none-any.whl" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "2be658dd564149b6920dc1d7e2339353", "sha256": "a6536005254f4ae75f8fb5d6986dfb7994714c6c7cec4c296a981f9dad6ade7b" }, "downloads": -1, "filename": "enaml_native_maps-1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "2be658dd564149b6920dc1d7e2339353", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 76282, "upload_time": "2018-02-15T01:39:53", "url": "https://files.pythonhosted.org/packages/cd/85/de7e8775403bf6bae0ea43ec769e4686f8ea484f390705afa262e325ed68/enaml_native_maps-1.2-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2be658dd564149b6920dc1d7e2339353", "sha256": "a6536005254f4ae75f8fb5d6986dfb7994714c6c7cec4c296a981f9dad6ade7b" }, "downloads": -1, "filename": "enaml_native_maps-1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "2be658dd564149b6920dc1d7e2339353", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 76282, "upload_time": "2018-02-15T01:39:53", "url": "https://files.pythonhosted.org/packages/cd/85/de7e8775403bf6bae0ea43ec769e4686f8ea484f390705afa262e325ed68/enaml_native_maps-1.2-py2-none-any.whl" } ] }