{"id":18421918,"url":"https://github.com/geoswift/geoswiftmapboxmaps","last_synced_at":"2025-04-13T12:11:14.930Z","repository":{"id":166223982,"uuid":"627661617","full_name":"GEOSwift/GEOSwiftMapboxMaps","owner":"GEOSwift","description":"Mapbox Maps support for GEOSwift","archived":false,"fork":false,"pushed_at":"2023-05-25T01:27:05.000Z","size":19,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T07:25:55.297Z","etag":null,"topics":[],"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/GEOSwift.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-13T23:58:36.000Z","updated_at":"2023-05-25T03:25:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3ae41b4-b053-4617-b587-e7fed9cd6c72","html_url":"https://github.com/GEOSwift/GEOSwiftMapboxMaps","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/GEOSwift%2FGEOSwiftMapboxMaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GEOSwift%2FGEOSwiftMapboxMaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GEOSwift%2FGEOSwiftMapboxMaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GEOSwift%2FGEOSwiftMapboxMaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GEOSwift","download_url":"https://codeload.github.com/GEOSwift/GEOSwiftMapboxMaps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710445,"owners_count":21149190,"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:27:18.612Z","updated_at":"2025-04-13T12:11:14.912Z","avatar_url":"https://github.com/GEOSwift.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GEOSwiftMapboxMaps\nMapbox Maps support for GEOSwift\n\nSee [GEOSwift](https://github.com/GEOSwift/GEOSwift) for full details\n\n## Requirements\n\n* iOS 11.0+\n* Swift 5.3+\n* [MapboxMaps 10+](https://github.com/mapbox/mapbox-maps-ios/)\n\n## Installation\n\n### Swift Package Manager\n\n\n## Usage\n\n```swift\n\nimport GEOSwift\nimport Mapbox\nimport GEOSwiftMapboxMaps\n\n...\n\nlet point = Point(longitude: 10, latitude: 45)\nlet polygon = try! Polygon(wkt: \"POLYGON((35 10, 45 45.5, 15 40, 10 20, 35 10),(20 30, 35 35, 30 20, 20 30))\")\n\nlet coordinate = CLLocationCoordinate2D(point)\n\n        let turfPolygon = Polygon(linerRing: linearRing)\n...\n\n```\nEasily convert between equivalent types in GEOSwift and MapboxMaps (Turf) with convenience initializers that accept\nthe corresponding GEOSwift type.\n\n| GEOSwift | MapboxMaps (Turf) |\n|:-------------:|:-----------------:|\n| `Point` | `Point` |\n| `LineString` | `LineString` |\n| `Polygon` | `Polygon` |\n| `MultiPoint` | `MultiPoint` |\n| `MultiLineString` | `MultiLineString` |\n| `MultiPolygon` | `MultiPolygon` |\n\n## Contributing\n\nTo make a contribution:\n\n* Fork the repo\n* Start from the `main` branch and create a branch with a name that describes\n  your contribution\n* Follow the Mapbox Maps SDK [installation\n  instructions](https://docs.mapbox.com/ios/maps/guides/install/) to configure\n  your `~/.netrc` file.\n* Install with SPM\n* Make your changes.\n* Push your branch and create a pull request to `main`\n* One of the maintainers will review your code and may request changes\n* If your pull request is accepted, one of the maintainers should update the\n  changelog before merging it.\n* Due to the need for a secret Mapbox token to install the Mapbox SDK, CI will\n  not run for PRs from forks. Maintainers should be sure to run the test suite\n  locally before accepting any changes.\n\n## Maintainer\n\n* Patrick Leonard ([@pjleonard37](https://github.com/pjleonard37))\n\n## GEOSwift Maintainers (current and former\n\n* Andrew Hershberger ([@macdrevx](https://github.com/macdrevx))\n* Virgilio Favero Neto ([@vfn](https://github.com/vfn))\n* Andrea Cremaschi ([@andreacremaschi](https://twitter.com/andreacremaschi))\n  (original author)\n\n## License\n\n* GEOSwiftMapboxMaps was released by Patrick\n  ([@pjleonard37](https://twitter.com/pj_leonard)) under a MIT license.\n  See LICENSE for more information.\n* GEOSwift was released by Andrea Cremaschi\n  ([@andreacremaschi](https://twitter.com/andreacremaschi)) under a MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeoswift%2Fgeoswiftmapboxmaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeoswift%2Fgeoswiftmapboxmaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeoswift%2Fgeoswiftmapboxmaps/lists"}