{"id":28803083,"url":"https://github.com/fluttercommunity/apple_maps_flutter","last_synced_at":"2026-01-11T04:42:53.811Z","repository":{"id":44532225,"uuid":"206109536","full_name":"fluttercommunity/apple_maps_flutter","owner":"fluttercommunity","description":"Apple Maps Plugin for Flutter","archived":false,"fork":false,"pushed_at":"2025-01-23T10:53:40.000Z","size":1451,"stargazers_count":78,"open_issues_count":40,"forks_count":99,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-17T12:55:31.006Z","etag":null,"topics":["flutter","flutter-plugin","ios","mkmapview"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluttercommunity.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-03T15:24:35.000Z","updated_at":"2025-05-25T18:37:17.000Z","dependencies_parsed_at":"2024-06-19T01:38:11.472Z","dependency_job_id":"f3ea8201-8c71-40c8-872a-b03f569dc342","html_url":"https://github.com/fluttercommunity/apple_maps_flutter","commit_stats":{"total_commits":108,"total_committers":11,"mean_commits":9.818181818181818,"dds":"0.11111111111111116","last_synced_commit":"2414c3481aed2b2d4b53a2f6cc4f5fc096046606"},"previous_names":["albert-heijn-technology/apple_maps_flutter","luisthein/apple_maps_flutter","fluttercommunity/apple_maps_flutter"],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/fluttercommunity/apple_maps_flutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fapple_maps_flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fapple_maps_flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fapple_maps_flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fapple_maps_flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluttercommunity","download_url":"https://codeload.github.com/fluttercommunity/apple_maps_flutter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fapple_maps_flutter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260518911,"owners_count":23021374,"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":["flutter","flutter-plugin","ios","mkmapview"],"created_at":"2025-06-18T08:31:28.310Z","updated_at":"2026-01-11T04:42:53.768Z","avatar_url":"https://github.com/fluttercommunity.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apple_maps_flutter\n\n[![codecov](https://codecov.io/gh/LuisThein/apple_maps_flutter/branch/master/graph/badge.svg)](https://codecov.io/gh/LuisThein/apple_maps_flutter)\n\nA Flutter plugin that provides an Apple Maps widget.\n\nThe plugin relies on Flutter's mechanism for embedding Android and iOS views. As that mechanism is currently in a developers preview, this plugin should also be considered a developers preview.\n\nThis plugin was based on the `google_maps_flutter` plugin. Instead of reinventing the wheel it also uses the Flutter implementation of the `google_maps_flutter` plugin. This was also done to simplify the process of combining the `google_maps_flutter` plugin with `apple_maps_flutter` to create a cross platform implementation for Android/iOS called `flutter_platform_maps`.\n\n# Screenshots\n\n|                                     Example 1                                     |                                     Example 2                                     |\n| :-------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------: |\n| ![Example 1](https://luisthein.de/apple-maps-plugin-images/example_img01-min.png) | ![Example 2](https://luisthein.de/apple-maps-plugin-images/example_img02-min.png) |\n\n# iOS\n\nTo use this plugin on iOS you need to opt-in for the embedded views preview by adding a boolean property to the app's Info.plist file, with the key `io.flutter.embedded_views_preview` and the value `YES`. You will also have to add the key `Privacy - Location When In Use Usage Description` with the value of your usage description.\n\n# Android\n\nThere is no Android implementation, but there is a package combining apple_maps_flutter and the google_maps_flutter plugin to have the typical map implementations for Android/iOS called platform_maps_flutter.\n\n## Sample Usage\n\n```dart\nclass AppleMapsExample extends StatelessWidget {\n  AppleMapController mapController;\n\n  void _onMapCreated(AppleMapController controller) {\n    mapController = controller;\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return Column(\n      mainAxisAlignment: MainAxisAlignment.spaceEvenly,\n      crossAxisAlignment: CrossAxisAlignment.stretch,\n      children: \u003cWidget\u003e[\n        Expanded(\n          child: Container(\n            child: AppleMap(\n              onMapCreated: _onMapCreated,\n              initialCameraPosition: const CameraPosition(\n                target: LatLng(0.0, 0.0),\n              ),\n            ),\n          ),\n        ),\n        Row(\n          mainAxisAlignment: MainAxisAlignment.spaceEvenly,\n          children: \u003cWidget\u003e[\n            Column(\n              children: \u003cWidget\u003e[\n                FlatButton(\n                  onPressed: () {\n                    mapController.moveCamera(\n                      CameraUpdate.newCameraPosition(\n                        const CameraPosition(\n                          heading: 270.0,\n                          target: LatLng(51.5160895, -0.1294527),\n                          pitch: 30.0,\n                          zoom: 17,\n                        ),\n                      ),\n                    );\n                  },\n                  child: const Text('newCameraPosition'),\n                ),\n                FlatButton(\n                  onPressed: () {\n                    mapController.moveCamera(\n                      CameraUpdate.newLatLngZoom(\n                        const LatLng(37.4231613, -122.087159),\n                        11.0,\n                      ),\n                    );\n                  },\n                  child: const Text('newLatLngZoom'),\n                ),\n              ],\n            ),\n            Column(\n              children: \u003cWidget\u003e[\n                FlatButton(\n                  onPressed: () {\n                    mapController.moveCamera(\n                      CameraUpdate.zoomIn(),\n                    );\n                  },\n                  child: const Text('zoomIn'),\n                ),\n                FlatButton(\n                  onPressed: () {\n                    mapController.moveCamera(\n                      CameraUpdate.zoomOut(),\n                    );\n                  },\n                  child: const Text('zoomOut'),\n                ),\n                FlatButton(\n                  onPressed: () {\n                    mapController.moveCamera(\n                      CameraUpdate.zoomTo(16.0),\n                    );\n                  },\n                  child: const Text('zoomTo'),\n                ),\n              ],\n            ),\n          ],\n        )\n      ],\n    );\n  }\n}\n```\n\nSuggestions and PR's to make this plugin better are always welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluttercommunity%2Fapple_maps_flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluttercommunity%2Fapple_maps_flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluttercommunity%2Fapple_maps_flutter/lists"}