{"id":13709876,"url":"https://github.com/jamesmontemagno/LaunchMapsPlugin","last_synced_at":"2025-05-06T18:33:09.157Z","repository":{"id":56318933,"uuid":"60303675","full_name":"jamesmontemagno/LaunchMapsPlugin","owner":"jamesmontemagno","description":"Launch External Maps Plugin for Xamarin and Windows","archived":true,"fork":false,"pushed_at":"2023-04-03T20:33:34.000Z","size":443,"stargazers_count":48,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-08T12:22:43.987Z","etag":null,"topics":["uwp","xamarin","xamarin-android","xamarin-forms","xamarin-ios","xamarin-plugin"],"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/jamesmontemagno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"jamesmontemagno","patreon":"mergeconflictfm","custom":"https://www.buymeacoffee.com/jamesmontemagno"}},"created_at":"2016-06-02T23:19:38.000Z","updated_at":"2024-02-07T22:11:33.000Z","dependencies_parsed_at":"2024-06-18T15:44:34.681Z","dependency_job_id":null,"html_url":"https://github.com/jamesmontemagno/LaunchMapsPlugin","commit_stats":{"total_commits":41,"total_committers":4,"mean_commits":10.25,"dds":"0.14634146341463417","last_synced_commit":"627b633c6e104fd5ae407fb18bd4aa84aab0d651"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesmontemagno%2FLaunchMapsPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesmontemagno%2FLaunchMapsPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesmontemagno%2FLaunchMapsPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesmontemagno%2FLaunchMapsPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesmontemagno","download_url":"https://codeload.github.com/jamesmontemagno/LaunchMapsPlugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224521410,"owners_count":17325230,"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":["uwp","xamarin","xamarin-android","xamarin-forms","xamarin-ios","xamarin-plugin"],"created_at":"2024-08-02T23:00:47.731Z","updated_at":"2024-11-13T20:30:31.749Z","avatar_url":"https://github.com/jamesmontemagno.png","language":"C#","funding_links":["https://github.com/sponsors/jamesmontemagno","https://patreon.com/mergeconflictfm","https://www.buymeacoffee.com/jamesmontemagno"],"categories":["Plugins"],"sub_categories":[],"readme":"## Launch Maps Plugin for Xamarin and Windows\n\nOpen external maps to a specific geolocation or address in your Xamarin.iOS, Xamarin.Android, Windows, and Xamarin.Forms projects.\n\n### Migrate to: [Xamarin.Essentials](https://docs.microsoft.com/xamarin/essentials/index?WT.mc_id=friends-0000-jamont) or [.NET MAUI](https://learn.microsoft.com/dotnet/maui/platform-integration/?WT.mc_id=friends-0000-jamont)\n\nI have been working on Plugins for Xamarin for a long time now. Through the years I have always wanted to create a single, optimized, and official package from the Xamarin team at Microsoft that could easily be consumed by any application. The time is now with [Xamarin.Essentials](https://docs.microsoft.com/xamarin/essentials/index?WT.mc_id=friends-0000-jamont), which offers over 50 cross-platform native APIs in a single optimized package. I worked on this new library with an amazing team of developers and I highly highly highly recommend you check it out. \n\nAdditionally, Xamarin.Essentials is now included in \u0026 [.NET MAUI](https://learn.microsoft.com/dotnet/maui/platform-integration/?WT.mc_id=friends-0000-jamont).\n\nDue to the functionality being included \"in the box\" I have decided to officially archive this repo.\n       \n\n#### Setup\n* Available on NuGet: https://www.nuget.org/packages/Xam.Plugin.ExternalMaps [![NuGet](https://img.shields.io/nuget/v/Xam.Plugin.ExternalMaps.svg?label=NuGet)](https://www.nuget.org/packages/Xam.Plugin.ExternalMaps/)\n* Install into your PCL project and Client projects.\n\nBuild status: [![Build status](https://ci.appveyor.com/api/projects/status/vpw3xi2qlr41wueo?svg=true)](https://ci.appveyor.com/project/JamesMontemagno/launchmapsplugin)\n\n**Platform Support**\n\n|Platform|Version|\n| ------------------- | :------------------: |\n|Xamarin.iOS|iOS 7+|\n|Xamarin.Android|API 10+|\n|Windows 10 UWP|10+|\n|Xamarin.Mac|Yes||\n\n#### Usage\nThere are two methods that you can call to navigate either with the geolocation lat/long or with a full address to go to.\n\n```csharp\n    /// \u003csummary\u003e\n    /// Navigate to specific latitude and longitude.\n    /// \u003c/summary\u003e\n    /// \u003cparam name=\"name\"\u003eLabel to display\u003c/param\u003e\n    /// \u003cparam name=\"latitude\"\u003eLat\u003c/param\u003e\n    /// \u003cparam name=\"longitude\"\u003eLong\u003c/param\u003e\n    /// \u003cparam name=\"navigationType\"\u003eType of navigation\u003c/param\u003e\n    Task\u003cbool\u003e NavigateTo(string name, double latitude, double longitude, NavigationType navigationType = NavigationType.Default);\n    \n    /// \u003csummary\u003e\n    /// Navigate to an address\n    /// \u003c/summary\u003e\n    /// \u003cparam name=\"name\"\u003eLabel to display\u003c/param\u003e\n    /// \u003cparam name=\"street\"\u003eStreet\u003c/param\u003e\n    /// \u003cparam name=\"city\"\u003eCity\u003c/param\u003e\n    /// \u003cparam name=\"state\"\u003eSate\u003c/param\u003e\n    /// \u003cparam name=\"zip\"\u003eZip\u003c/param\u003e\n    /// \u003cparam name=\"country\"\u003eCountry\u003c/param\u003e\n    /// \u003cparam name=\"countryCode\"\u003eCountry Code if applicable\u003c/param\u003e\n    /// \u003cparam name=\"navigationType\"\u003eNavigation type\u003c/param\u003e\n    Task\u003cbool\u003e NavigateTo(string name, string street, string city, string state, string zip, string country, string countryCode, NavigationType navigationType = NavigationType.Default);\n```\n\nExamples:\n\n```csharp\nvar success = await CrossExternalMaps.Current.NavigateTo(\"Xamarin\", \"394 pacific ave.\", \"San Francisco\", \"CA\", \"94111\", \"USA\", \"USA\");\nvar success = await CrossExternalMaps.Current.NavigateTo(\"Space Needle\", 47.6204, -122.3491);\n```     \n\n\n**Platform Tweaks**\n* NavigationType only works on iOS and macOS\n* Android will try to launch Google Maps first. If it is not installed then it will ask to see if a map apps is installed. If that doesn't work then it will launch the browser.\n\n#### Contributions\nContributions are welcome! If you find a bug please report it and if you want a feature please report it.\n\nIf you want to contribute code please file an issue and create a branch off of the current dev branch and file a pull request.\n\n#### License\nUnder MIT, see LICENSE file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesmontemagno%2FLaunchMapsPlugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesmontemagno%2FLaunchMapsPlugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesmontemagno%2FLaunchMapsPlugin/lists"}