{"id":17987544,"url":"https://github.com/iammert/easymap","last_synced_at":"2025-03-25T22:32:17.067Z","repository":{"id":94173114,"uuid":"203448830","full_name":"iammert/EasyMap","owner":"iammert","description":"Ready to use Address Selection Library using Google Maps and Places API.","archived":false,"fork":false,"pushed_at":"2020-01-16T14:56:14.000Z","size":4250,"stargazers_count":83,"open_issues_count":1,"forks_count":25,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-02T23:35:42.120Z","etag":null,"topics":["address-selection","android","googlemaps","googlemaps-api","kotlin","maps","places","places-api"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iammert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-08-20T20:22:39.000Z","updated_at":"2024-03-02T15:05:19.000Z","dependencies_parsed_at":"2023-03-13T17:04:51.827Z","dependency_job_id":null,"html_url":"https://github.com/iammert/EasyMap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FEasyMap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FEasyMap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FEasyMap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FEasyMap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iammert","download_url":"https://codeload.github.com/iammert/EasyMap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222099562,"owners_count":16931438,"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":["address-selection","android","googlemaps","googlemaps-api","kotlin","maps","places","places-api"],"created_at":"2024-10-29T19:09:04.324Z","updated_at":"2024-10-29T19:09:04.834Z","avatar_url":"https://github.com/iammert.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/momento-lab/EasyMap/master/art/artcover.png\"/\u003e\n\n# EasyMap\nReady to use address selection activity using Google Maps.\n\n# Features\n- Select location from maps\n- Search address (Places api works behind)\n- Ready to use address form (Address title, floor, door, description etc.)\n- Automatically access and show current location.\n\n# Demo\n\u003cimg src=\"https://raw.githubusercontent.com/momento-lab/EasyMap/master/art/demo.gif\"/\u003e\n\n# Implementation \n\n## Enable Google Maps and Places APIs\n* Go to google maps api page from google cloud console from [here](https://console.cloud.google.com/google/maps-apis/apis/maps-android-backend.googleapis.com/metrics?). Enable it from the top of the page.\n* Go to google places api page from google cloud console from [here](https://console.cloud.google.com/google/maps-apis/apis/places-backend.googleapis.com/metrics?). Enable it from the top of the page.\n\n## Get the API Key from Console\n\n* Follow [this](https://developers.google.com/maps/documentation/android-sdk/get-api-key) link and get API key from Google Cloud Console.\n\n* In AndroidManifest.xml, add the following element as a child of the \u003capplication\u003e element, by inserting it just before the closing \u003c/application\u003e tag:\n```xml\n\u003cmeta-data\n        android:name=\"com.google.android.geo.API_KEY\"\n        android:value=\"YOUR_API_KEY\"/\u003e\n```\n\n## You are ready\n```kotlin\nstartActivityForResult(EasyMapsActivity.newIntent(context = this), REQUEST_CODE)\n// If you want to edit selected address\nstartActivityForResult(EasyMapsActivity.newIntent(context = this, selectedAddressInfo = selectedAddressInfo), REQUEST_CODE)\n```\n\n```kotlin\noverride fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {\n    if (requestCode == REQUEST_CODE \u0026\u0026 resultCode == Activity.RESULT_OK) {\n        selectedAddressInfo = data?.extras?.getParcelable(EasyMapsActivity.KEY_SELECTED_ADDRESS)\n    }\n}\n```\n\n\n# Dependency\n\n```groovy\nallprojects {\n    repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n\ndependencies {\n    implementation 'com.github.iammert:EasyMap:0.1'\n}\n```\n\n\nLicense\n--------\n\n\n    Copyright 2019 Mert Şimşek\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammert%2Feasymap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiammert%2Feasymap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammert%2Feasymap/lists"}