{"id":25232974,"url":"https://github.com/mestackcodes/fmx.mapsutils","last_synced_at":"2026-01-20T10:32:44.488Z","repository":{"id":276356074,"uuid":"929036610","full_name":"MEStackCodes/FMX.MapsUtils","owner":"MEStackCodes","description":"It is a unit for Delphi with several complex conversion functions for working with TMapView","archived":false,"fork":false,"pushed_at":"2025-02-07T18:13:11.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T17:11:10.434Z","etag":null,"topics":["delphi","fmx","maps"],"latest_commit_sha":null,"homepage":"","language":"Pascal","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/MEStackCodes.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":"2025-02-07T17:32:56.000Z","updated_at":"2025-02-08T11:10:08.000Z","dependencies_parsed_at":"2025-02-07T18:43:46.221Z","dependency_job_id":"768fd482-3166-4ecc-a65b-65ef3f7ef6fe","html_url":"https://github.com/MEStackCodes/FMX.MapsUtils","commit_stats":null,"previous_names":["mestackcodes/fmx.mapsutils"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MEStackCodes/FMX.MapsUtils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FFMX.MapsUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FFMX.MapsUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FFMX.MapsUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FFMX.MapsUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MEStackCodes","download_url":"https://codeload.github.com/MEStackCodes/FMX.MapsUtils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MEStackCodes%2FFMX.MapsUtils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28601841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T09:39:28.479Z","status":"ssl_error","status_checked_at":"2026-01-20T09:38:10.511Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["delphi","fmx","maps"],"created_at":"2025-02-11T13:55:53.638Z","updated_at":"2026-01-20T10:32:44.473Z","avatar_url":"https://github.com/MEStackCodes.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FMX.MapsUtils\n\nIt is a unit for Delphi with several complex conversion functions for working with maps and that can be used in conjunction with the TMapView Maps component.\n\n## Description\n\n```pascal\nfunction GooglePolylineToCoord(const Str: String; Precision: Integer): TArray\u003cTMapCoordinate\u003e;\n```\nIt decodes a Google polyline and converts it to an array of type TMapCoordinate that can be directly manipulated by TMapView to draw a route. The precision value contains the number of decimal places in the coordinate values, the common value is 5.\n\n##\n\n```pascal\nfunction GetCenterCoord(MapCoordinates: TArray\u003cTMapCoordinate\u003e): TMapCoordinate;\n```\n Calculates and returns the center of a route, useful for pointing the camera to the center of a polyline.\n##\n\n```pascal\nfunction CoordinatesToFitZoom(LatitudeA, LongitudeA, LatitudeB, LongitudeB: Double): Double;\n```\nReturns the corresponding Zoom value to adjust the display of 2 distant points on the map, the value can be passed directly to the \nTMapView component.\n\n##\n\n```pascal\nfunction HaversineDistance(LatitudeA, LongitudeA, LatitudeB, LongitudeB: Double): Double;\n```\nCalculates the angular distance between two points on the Earth's surface. It is calculated from the longitude and latitude coordinates of each point. The result value is in meters.\n\n\n## Share\nIf you liked and found this repository useful for your projects, star it. Thank you for your support! ⭐","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmestackcodes%2Ffmx.mapsutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmestackcodes%2Ffmx.mapsutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmestackcodes%2Ffmx.mapsutils/lists"}