{"id":16684505,"url":"https://github.com/rushisangani/maphelperkit","last_synced_at":"2025-04-09T23:41:37.338Z","repository":{"id":62447521,"uuid":"124347884","full_name":"rushisangani/MapHelperKit","owner":"rushisangani","description":"MapHelperKit provides an elegant way to show locations or directions in Google Maps or Apple Maps.","archived":false,"fork":false,"pushed_at":"2018-03-08T11:51:43.000Z","size":2164,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T01:35:19.581Z","etag":null,"topics":["applemaps","directions","googlemaps","ios","location","map","maphelperkit","places","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/rushisangani.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":"2018-03-08T06:34:13.000Z","updated_at":"2024-01-21T16:20:38.000Z","dependencies_parsed_at":"2022-11-01T23:08:02.823Z","dependency_job_id":null,"html_url":"https://github.com/rushisangani/MapHelperKit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushisangani%2FMapHelperKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushisangani%2FMapHelperKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushisangani%2FMapHelperKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rushisangani%2FMapHelperKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rushisangani","download_url":"https://codeload.github.com/rushisangani/MapHelperKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131468,"owners_count":21052819,"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":["applemaps","directions","googlemaps","ios","location","map","maphelperkit","places","swift"],"created_at":"2024-10-12T14:44:07.725Z","updated_at":"2025-04-09T23:41:37.313Z","avatar_url":"https://github.com/rushisangani.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MapHelperKit\nMapHelperKit provides an elegant way to show locations or directions in Google Maps or Apple Maps.\n\n![Alt text](/Images/video.gif?raw=true \"Video\")\n![Alt text](/Images/image1.png?raw=true \"Google Map\")\n![Alt text](/Images/image2.png?raw=true \"Apple Map\")\n\n## Features\n\n- Easiest way to show locations or directions in map.\n- MapHelperKit opens Apple Maps automatically, if Google Map is not installed on the device.\n- Default mode asks user to show address in Google Map or Apple Map.\n- Show directions with different direction mode.\n\n## Requirements\n\n- iOS 9.0+\n- Xcode 8.3+\n- Swift 4.0\n\n## Installation\n\n### CocoaPods\n\n```ruby\npod 'MapHelperKit'\nor\npod 'MapHelperKit', '~\u003e 1.2'\n```\n\n## Usage\n\n**Note:** - To open Google Maps from iOS App please include following in your info.plist\n```swift\n\u003ckey\u003eLSApplicationQueriesSchemes\u003c/key\u003e\n\u003carray\u003e\n    \u003cstring\u003ecomgooglemaps\u003c/string\u003e\n\u003c/array\u003e\n```\n### Show Place In Map\n\n```swift\nlet address = \"One Infinite Loop Cupertino, CA\"\nlet mapHelper = MapHelper(placeName: address)\nmapHelper.openInMap()\n```\n- Provide MapViewMode\n```swift\nmapHelper.mapViewMode = .satellite    // Default is StandardView\n```\n- Provide Zoom Level\n```swift\nmapHelper.zoomLevel = 10             // Default is 14\n```\n\n- Provide Map Type\n```swift\nmapHelper.mapType = .googleMap      // Default is '.default', let's ask user to select map to open\n```\n\n### Show Directions In Map\n- Show directions from Current Location\n\n```swift\nlet address = \"One Infinite Loop Cupertino, CA\"\nlet directionHelper = DirectionHelper(destination: address)\ndirectionHelper.showDirection()\n```\n\n- Show Direction from Source to Destination\n\n```swift\nlet address1 = \"One Infinite Loop Cupertino, CA\"\nlet address2 = \"Apple Fitness Center, 10627 Bandley Dr, Cupertino, CA\"\nlet directionHelper = DirectionHelper(source: address1, destination: address2)\ndirectionHelper.showDirection()\n```\n\n- Provide Direction Mode\n```swift\ndirectionHelper.directionMode = .walking      // Default is 'Driving'\n```\n\n### Example\nSee [Example](https://github.com/rushisangani/MapHelperKit/tree/master/MapHelperKitExample) for more details.\n\n## License\n\nMapHelperKit is released under the MIT license. [See LICENSE](https://github.com/rushisangani/MapHelperKit/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frushisangani%2Fmaphelperkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frushisangani%2Fmaphelperkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frushisangani%2Fmaphelperkit/lists"}