{"id":18421031,"url":"https://github.com/thunderbug1/maptiler_flutter","last_synced_at":"2025-06-26T09:40:30.685Z","repository":{"id":218210838,"uuid":"745880375","full_name":"thunderbug1/maptiler_flutter","owner":"thunderbug1","description":"Flutter wrapper of the MapTiler Apis.","archived":false,"fork":false,"pushed_at":"2024-01-22T13:27:57.000Z","size":26,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T13:38:56.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/thunderbug1.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":"2024-01-20T12:33:35.000Z","updated_at":"2024-12-04T01:35:30.000Z","dependencies_parsed_at":"2024-01-22T15:44:53.792Z","dependency_job_id":null,"html_url":"https://github.com/thunderbug1/maptiler_flutter","commit_stats":null,"previous_names":["thunderbug1/maptiler_flutter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thunderbug1/maptiler_flutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunderbug1%2Fmaptiler_flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunderbug1%2Fmaptiler_flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunderbug1%2Fmaptiler_flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunderbug1%2Fmaptiler_flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thunderbug1","download_url":"https://codeload.github.com/thunderbug1/maptiler_flutter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thunderbug1%2Fmaptiler_flutter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262040155,"owners_count":23249349,"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-11-06T04:24:01.375Z","updated_at":"2025-06-26T09:40:30.668Z","avatar_url":"https://github.com/thunderbug1.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- \nThis README describes the package. If you publish this package to pub.dev,\nthis README's contents appear on the landing page for your package.\n\nFor information about how to write a good package README, see the guide for\n[writing package pages](https://dart.dev/guides/libraries/writing-package-pages). \n\nFor general information about developing packages, see the Dart guide for\n[creating packages](https://dart.dev/guides/libraries/create-library-packages)\nand the Flutter guide for\n[developing packages and plugins](https://flutter.dev/developing-packages). \n--\u003e\n\n# MapTiler Flutter\n\nThis Flutter package provides a convenient Dart wrapper around the MapTiler Cloud API, allowing easy access to various MapTiler services like Geocoding, Coordinates, and Geolocation.\n\n# Motivation\n\nI started this package since I wanted to build a location selector with autocomplete functionality for [Activilit](https://activilit.com). \nI didn't want to use the google maps API since it is quite expensive and so I researched for alternatives and found MapTiler.\n\n## Features\n\n- Geocoding API: Forward and reverse geocoding, including batch geocoding.\n- Coordinates API: Search coordinate systems and transformations.\n- Geolocation API: IP-based geolocation services.\n- Maps API: todo\n- Static Maps API: todo\n- Tiles API: todo\n- Data API: todo\n- Other API: todo\n\n## Getting Started\n\nTo get started with this package, add it as a dependency in your Flutter project.\n\n### Installation\n\nAdd this to your package's pubspec.yaml file:\n\n```yaml\ndependencies:\n  maptiler_flutter: ^0.1.0\n```\n\n### Import the Package\n```\nimport 'package:maptiler_flutter/maptiler.dart';\n```\n\n### Usage\nBefore using the APIs, you must initialize the package with your MapTiler API key.\n\n### Setting up API Key\n```\nvoid main() {\n  MapTilerConfig.setApiKey('YOUR_MAPTILER_API_KEY');\n  runApp(MyApp());\n}\n```\n\n### API Usage\n```\n// Forward Geocoding\nMapTiler.geocodingAPI.searchByName(\"Zurich\").then((result) {\n  print(result.features);\n});\n\n// Reverse Geocoding\nMapTiler.geocodingAPI.searchByCoordinates(8.55, 47.36667).then((result) {\n  print(result.features);\n});\n\n// Search Coordinates\nMapTiler.coordinatesAPI.searchCoordinates(\"query\").then((result) {\n  print(result.results);\n});\n\n// IP Geolocation\nMapTiler.geolocationAPI.getIPGeolocation().then((result) {\n  print(result.city);\n});\n```\n\n### Models\nThis package provides several models to represent the data structures used by the MapTiler API, including SearchResults, Feature, GeolocationResult, and more.\n\n### Error Handling\nThe API methods throw exceptions in case of failure. Make sure to handle these appropriately in your application.\n\n### Contributing\nContributions to the package are welcome. Please follow the standard pull request process for your contributions.\n\n### License\nThis package is licensed under the MIT License.\n\n### Disclaimer\nThis package is not officially affiliated with MapTiler.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthunderbug1%2Fmaptiler_flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthunderbug1%2Fmaptiler_flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthunderbug1%2Fmaptiler_flutter/lists"}