{"_id":"co.medicast.plugins.maplauncher","_rev":"27-71293fd04ab47124b6a9fd5b21b3ee68","name":"co.medicast.plugins.maplauncher","description":"Google Maps Launcher Plugin for iOS","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.1":{"version":"2.0.1","name":"co.medicast.plugins.maplauncher","cordova_name":"Map Launcher Plugin","description":"Google Maps Launcher Plugin for iOS","license":"MIT License","platforms":["ios"],"engines":[{"name":"cordova","version":">=3.0.0"}],"englishdoc":"# co.medicast.plugins.MapLauncher\n\n## Installation\n\n    cordova plugin add co.medicast.plugins.MapLauncher\n\n","cordova":{"id":"co.medicast.plugins.MapLauncher","platforms":["ios"]},"repository":{"type":"git","url":"git+https://github.com/medicast/cordova-plugin-maplauncher.git"},"keywords":["ecosystem:cordova","cordova-ios"],"author":{"name":"Nafis Zebarjadi"},"bugs":{"url":"https://github.com/medicast/cordova-plugin-maplauncher/issues"},"homepage":"https://github.com/medicast/cordova-plugin-maplauncher#readme","gitHead":"a8557ab959d479c40d06496f56814802caca9311","_id":"co.medicast.plugins.maplauncher@2.0.1","scripts":{},"_shasum":"0dfd3a0dfed578fd5ff3224b7909b57087139a8e","_from":".","_npmVersion":"3.3.5","_nodeVersion":"0.12.5","_npmUser":{"name":"medicast-dev","email":"npm@medicast.co"},"dist":{"shasum":"0dfd3a0dfed578fd5ff3224b7909b57087139a8e","tarball":"https://registry.npmjs.org/co.medicast.plugins.maplauncher/-/co.medicast.plugins.maplauncher-2.0.1.tgz","integrity":"sha512-EdX0lWq+MwzJ4wHsS3R2TEZJD2LxaCQ5QbxiRiWjpR1yed5wuZIR8jkSs1U9wUCcaHMe6TO3EFYDXxfS0HBB+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkHSHimqeyRg99gvf+tyMRJ8OIxk2MbMF+p3DxiyqNqgIgBME8BZznCYUQu/vEWqETjsz9Z+cn7aSqK2Pk302bPNM="}]},"maintainers":[{"name":"medicast-dev","email":"npm@medicast.co"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/co.medicast.plugins.maplauncher-2.0.1.tgz_1466584869559_0.41997311799786985"},"directories":{}},"2.0.2":{"version":"2.0.2","name":"co.medicast.plugins.maplauncher","cordova_name":"Map Launcher Plugin","description":"Google Maps Launcher Plugin for iOS","license":"MIT License","platforms":["ios"],"engines":[{"name":"cordova","version":">=3.0.0"}],"englishdoc":"# co.medicast.plugins.MapLauncher\n\n## Installation\n\n    cordova plugin add co.medicast.plugins.MapLauncher\n\n","cordova":{"id":"co.medicast.plugins.MapLauncher","platforms":["ios"]},"repository":{"type":"git","url":"git+https://github.com/medicast/cordova-plugin-maplauncher.git"},"keywords":["ecosystem:cordova","cordova-ios"],"author":{"name":"Nafis Zebarjadi"},"bugs":{"url":"https://github.com/medicast/cordova-plugin-maplauncher/issues"},"homepage":"https://github.com/medicast/cordova-plugin-maplauncher#readme","gitHead":"0ad4d198dd64dd87becacec7f3cd64cb9bbfe77a","_id":"co.medicast.plugins.maplauncher@2.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"provalexsage","email":"alex.sage@providence.org"},"dist":{"integrity":"sha512-j+rjyXQV4PutldO4JPEgDB+de1iMBuUz0EoB3Qp3deIgT3v6dTd5KOcXCHqPSt6SGMNWJLIvLNmfJryAXatvYw==","shasum":"fc2affd8cd8e25b6bd96403df495a4dcb72a90c8","tarball":"https://registry.npmjs.org/co.medicast.plugins.maplauncher/-/co.medicast.plugins.maplauncher-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpuRitMHo47prUYyhkpk6TxdHp1nd7B1yVnzXqYTPCiwIgQZKiu04f2M1HKXhQUX2SZGWBsB12tKCjQWqvHNAqS+8="}]},"maintainers":[{"email":"mark.ayers@providence.org","name":"provmarkayers"},{"email":"alex.sage@providence.org","name":"provalexsage"},{"email":"nathaniel.gebremedhin@providence.org","name":"provnate"},{"email":"megan.archer@providence.org","name":"megan.archer"},{"email":"kyle@jacksonk.com","name":"kjacks"},{"email":"wayne.foley@providence.org","name":"provwaynefoley"},{"email":"stevi.deter@providence.org","name":"provstevi"},{"email":"nafisto@gmail.com","name":"nafisto"},{"email":"npm@medicast.co","name":"medicast-dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/co.medicast.plugins.maplauncher-2.0.2.tgz_1510271046523_0.8892620650585741"},"directories":{}}},"readme":"# MapLauncher Cordova Plugin\n\n## Installation\n\n```\n    cordova plugin add co.medicast.plugins.MapLauncher\n```\n\n## Usage\n\nThis Cordova/PhoneGap plugin lets you launch into Google Maps from your app for navigation.  If the user doesn't have Google Maps installed, the plugin falls back to using Apple Maps.\n\nAt the moment, the address or coordinates you provide will be used to set the destination address for navigation purposes.  That's what I needed so that's what I built, but it's trivial to modify the iOS source to do a search or any other behavior that the Google Maps URL scheme supports (see [https://developers.google.com/maps/documentation/ios/urlscheme]).  Pull requests appreciated!\n\n### iOS 9 Security Restrictions\n\niOS 9 introduces some additional security which will break your ability to launch Google Maps, *unless* you add the following configuration to your *-Info.plist file:\n\n```\n<array>\n    <string>comgooglemaps</string>\n    <string>comgooglemaps-x-callback</string>\n</array>\n```\n\n### Launch best map available\n\nThe ```launch``` method will first try to use Google Maps, then fallback to Apple Maps:\n\n```\n\tMapLauncher.launch(\"123 Main Street, Anytown USA\");\n\n```\n\nYou can also specify a source name and URL scheme if you want Google Maps to display a \"Return to Foo App\" button bar at the top of the map screen:\n\n```\n\tMapLauncher.launch('123 Main Street, Anytown USA', 'Foo App', 'fooapp://?dosomething');\n\n```\n\nFor more on how this works, check out [https://developers.google.com/maps/documentation/ios/urlscheme#specify_a_callback_url].\n\n### Specific Map Launchers\n\nThere are also a few methods for anyone who wants more control:\n\n```\n\tMapLauncher.launchGoogleMaps(...);\n\n\tMapLauncher.launchAppleMaps(...);\n\n\tMapLauncher.hasGoogleMaps(function(hasGoogleMaps) {\n\t\tconsole.log('Google Maps ' + (hasGoogleMaps ? 'is' + 'is not') + ' installed!');\n\t});\n```\n\n## Platform Support\n\nThis plugin is designed to run on iOS 7+.\n\n## Version Requirements\n\nThis plugin works with PhoneGap 3.0.0+, iOS 7+, and recent versions of Google Maps.\n\n## Contributing Code\n\nFeel free to submit pull requests.\n\n## License\n\nMIT License.  Not much here anyway!\n","maintainers":[{"email":"dipteshbhai.patel@providence.org","name":"dipteshbhai.patel"},{"email":"David.Valachovic@providence.org","name":"provdavidvalachovic"},{"email":"James.Heim@providence.org","name":"provjamesheim"},{"email":"Shangzhen.Wu@providence.org","name":"provshangzhenwu"},{"email":"alyssa.krueger@providence.org","name":"alyssa.krueger"},{"email":"shubhakoundinyan@gmail.com","name":"shubha.koundinyan"},{"email":"gregory.arcara@providence.org","name":"provgregarcara"},{"email":"paul.brousseau@providence.org","name":"paul.brousseau"},{"email":"jeremy.scherer@providence.org","name":"jeremy.scherer"},{"email":"michael.steinberg@providence.org","name":"provmichaelsteinberg"},{"email":"david.labine@providence.org","name":"david.labine"},{"email":"ben.knoechel@providence.org","name":"provbenknoechel"},{"email":"richard.hatcher@povidence.org","name":"richard.hatcher"},{"email":"stephen.court@providence.org","name":"provstevecourt"},{"email":"dig_systems_support@providence.org","name":"medicast-dev"},{"email":"stevi.deter@providence.org","name":"provstevi"},{"email":"wayne.foley@providence.org","name":"provwaynefoley"},{"email":"megan.archer@providence.org","name":"megan.archer"},{"email":"alex.sage@providence.org","name":"provalexsage"}],"time":{"modified":"2022-06-13T06:24:02.267Z","created":"2016-06-22T08:41:10.091Z","2.0.1":"2016-06-22T08:41:10.091Z","2.0.2":"2017-11-09T23:44:06.640Z"},"homepage":"https://github.com/medicast/cordova-plugin-maplauncher#readme","keywords":["ecosystem:cordova","cordova-ios"],"repository":{"type":"git","url":"git+https://github.com/medicast/cordova-plugin-maplauncher.git"},"author":{"name":"Nafis Zebarjadi"},"bugs":{"url":"https://github.com/medicast/cordova-plugin-maplauncher/issues"},"license":"MIT License","readmeFilename":"README.md"}