{"id":13573524,"url":"https://github.com/mapbox/flutter-mapbox-gl","last_synced_at":"2025-04-04T12:31:09.811Z","repository":{"id":40589281,"uuid":"126533773","full_name":"mapbox/flutter-mapbox-gl","owner":"mapbox","description":"Moved to https://github.com/tobrun/flutter-mapbox-gl","archived":false,"fork":false,"pushed_at":"2019-03-06T20:35:27.000Z","size":36347,"stargazers_count":271,"open_issues_count":2,"forks_count":62,"subscribers_count":129,"default_branch":"master","last_synced_at":"2024-11-05T08:37:01.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapbox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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-23T20:05:35.000Z","updated_at":"2024-10-04T17:17:39.000Z","dependencies_parsed_at":"2022-07-13T15:59:30.067Z","dependency_job_id":null,"html_url":"https://github.com/mapbox/flutter-mapbox-gl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fflutter-mapbox-gl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fflutter-mapbox-gl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fflutter-mapbox-gl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fflutter-mapbox-gl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapbox","download_url":"https://codeload.github.com/mapbox/flutter-mapbox-gl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247179601,"owners_count":20897072,"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-08-01T15:00:37.180Z","updated_at":"2025-04-04T12:31:04.805Z","avatar_url":"https://github.com/mapbox.png","language":"Java","readme":"\u003e **Please note that this project has moved.** Please head to https://github.com/tobrun/flutter-mapbox-gl for updates.\n\n---\n\n# Flutter Mapbox GL Native\n\nThis Flutter plugin for [mapbox-gl-native](https://github.com/mapbox/mapbox-gl-native) enables\nembedded interactive and customizable vector maps inside of a Flutter widget. This project plugin is in early development stage. Only Android is supported for now.\n\n![screenshot.png](screenshot.png)\n\n## Getting Started\n\n### Android\n\nFollowing examples use Mapbox vector tiles, which require a Mapbox account and a Mapbox access token. Obtain a free access token on [your Mapbox account page](https://www.mapbox.com/account/access-tokens/). After you get the key, place it in project's Android directory:\n- Create a `local.properties` file with the following path: `$project_dir/android/local.properties`\n- Add `mapbox.accessToken=\"YOUR MAPBOX ACCESS TOKEN\"`\n token to the **local.properties** file.\n\n#### Demo app\n\n- Install [Flutter](https://flutter.io/get-started/) and validate its installation with `flutter doctor`\n- Clone this repository with `git clone git@github.com:mapbox/flutter-mapbox-gl.git`\n- Run the app with `cd flutter_mapbox/example \u0026\u0026 flutter run`\n\n#### New project\n\n- Create new Flutter project in your IDE or via terminal\n- Add `mapbox_gl: ^0.0.1` dependency to `pubspec.yaml` file and [get the package](https://flutter.io/using-packages/#adding-a-package-dependency-to-an-app)\n- Add Mapbox read token value in the application manifest `android/app/src/main/AndroidManifest.xml`:\n\n```xml\n\u003cmanifest ...\n  \u003capplication ...\n    \u003cmeta-data android:name=\"com.mapbox.token\" android:value=\"YOUR_TOKEN_HERE\" /\u003e\n```\n\n- Import Mapbox widgets and add them to your widget tree\n```\nimport 'package:mapbox_gl/mapbox_gl.dart';\n```\n\n## Documentation\n\nThis README file currently houses all of the documentation for this Flutter project. Please visit [mapbox.com/android-docs](https://www.mapbox.com/android-docs/) if you'd like more information about the Mapbox Maps SDK for Android and [mapbox.com/ios-sdk](https://www.mapbox.com/ios-sdk/) for more information about the Mapbox Maps SDK for iOS.\n\n## Getting Help\n\n- **Need help with your code?**: Look for previous questions on the [#mapbox tag](https://stackoverflow.com/questions/tagged/mapbox+android) — or [ask a new question](https://stackoverflow.com/questions/tagged/mapbox+android).\n- **Have a bug to report?** [Open an issue](https://github.com/mapbox/flutter-mapbox-gl/issues/new). If possible, include a full log and information which shows the issue.\n- **Have a feature request?** [Open an issue](https://github.com/mapbox/flutter-mapbox-gl/issues/new). Tell us what the feature should do and why you want the feature.\n\n## Sample code\n\n[This repository's example library](https://github.com/mapbox/flutter-mapbox-gl/tree/master/example/lib) is currently the best place for you to find reference code for this project.\n\n## Contributing\n\nWe welcome contributions to this repository!\n\nIf you're interested in helping build this Mapbox/Flutter integration, please read [the contribution guide](https://github.com/mapbox/flutter-mapbox-gl/blob/master/CONTRIBUTING.md) to learn how to get started.\n","funding_links":[],"categories":["组件","Components","Map [🔝](#readme)"],"sub_categories":["地图","Map"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbox%2Fflutter-mapbox-gl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapbox%2Fflutter-mapbox-gl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbox%2Fflutter-mapbox-gl/lists"}