{"id":19707229,"url":"https://github.com/johnthiriet/encodedpolyline","last_synced_at":"2025-04-29T17:30:26.829Z","repository":{"id":88449917,"uuid":"107175524","full_name":"johnthiriet/EncodedPolyline","owner":"johnthiriet","description":"A demo application of a Xamarin Forms project using Xamarin Forms Maps displaying an encoded polyline","archived":false,"fork":false,"pushed_at":"2017-10-17T17:04:23.000Z","size":59,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T18:12:40.976Z","etag":null,"topics":["android","csharp","ios","maps","polyline","sample","xamarin","xamarin-forms"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/johnthiriet.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":"2017-10-16T19:48:14.000Z","updated_at":"2022-02-24T18:13:33.000Z","dependencies_parsed_at":"2023-03-12T06:45:18.885Z","dependency_job_id":null,"html_url":"https://github.com/johnthiriet/EncodedPolyline","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/johnthiriet%2FEncodedPolyline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnthiriet%2FEncodedPolyline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnthiriet%2FEncodedPolyline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnthiriet%2FEncodedPolyline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnthiriet","download_url":"https://codeload.github.com/johnthiriet/EncodedPolyline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251549099,"owners_count":21607350,"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":["android","csharp","ios","maps","polyline","sample","xamarin","xamarin-forms"],"created_at":"2024-11-11T21:38:14.783Z","updated_at":"2025-04-29T17:30:26.814Z","avatar_url":"https://github.com/johnthiriet.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EncodedPolyline\nA demo application of a Xamarin Forms project using Xamarin Forms Maps displaying an encoded polyline\n\n# The application\nWhen first running the application the map is centered around the users geolocation using the geolocator plugin.\n\nYou then have two buttons, one for changing the polyline, one for changing the polyline's colour.\n\n# Interesting parts\n\nIn the shared project you will find a subclass of a Xamarin.Forms.Maps Map which adds support for a Google style encoded polyline and setting its colour.\nThe decoding of the polyline happens in this subclass and a dialog between this Forms control and it's custom renderer is established in order to properly display the map.\n\n# Encoded polyline format\n\nYou can find more information about the Google's encoded polyline format on this website:\n[https://developers.google.com/maps/documentation/utilities/polylinealgorithm?hl=en](https://developers.google.com/maps/documentation/utilities/polylinealgorithm?hl=en)\n\n# Polyline example\n\n```\nkegiH}{dMv`@mhBhKzDcJtx@xFfFmRj_AsJiGg@wB}FsDoAv@eLmH~DoQvGhFu@jE\n```\n\n# Android\n\nPlease don't forget to add your own Google Maps Android API key in the Manifest before running the app !\n\n# Reference\n\nI found where to decode the encoded polyline there [https://forums.xamarin.com/discussion/85684/how-can-i-draw-polyline-for-an-encoded-points-string](https://forums.xamarin.com/discussion/85684/how-can-i-draw-polyline-for-an-encoded-points-string)\n\nThanks Luiz Gustavo !\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnthiriet%2Fencodedpolyline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnthiriet%2Fencodedpolyline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnthiriet%2Fencodedpolyline/lists"}