Permalink
Browse files

Formatting, code

  • Loading branch information...
1 parent d20c766 commit 6f4c09eddcaae75a4a2dd8342cec2f6fba683796 @purplecabbage committed Jul 25, 2012
Showing with 11 additions and 13 deletions.
  1. +11 −13 WindowsPhone/PGMapLauncher/README.md
@@ -13,23 +13,21 @@ The user will need to press the back button to return to your app.
In your doc head :
---
-[script type="text/javascript" charset="utf-8" src="PGMapLauncher.js"][/script]
+ [script type="text/javascript" charset="utf-8" src="PGMapLauncher.js"][/script]
Somewhere in your code :
---
+ // Search near the current location using a keyword :
+ navigator.plugins.pgMapLauncher.searchNear("Malaysian Food");
+ // Search for a keyword near a specific location :
+ navigator.plugins.pgMapLauncher.searchNear("Wedding Chapel",{latitude:36.111224, longitude:-115.172194});
-// Search near the current location using a keyword :
-navigator.plugins.pgMapLauncher.searchNear("Malaysian Food");
+ // Get directions from the current location to a nearby keyword :
+ navigator.plugins.pgMapLauncher.getDirections({label:"Malaysian Food"});
-// Search for a keyword near a specific location :
-navigator.plugins.pgMapLauncher.searchNear("Wedding Chapel",{latitude:36.111224, longitude:-115.172194});
-
-
-
-// Get directions from the current location to a nearby keyword :
-navigator.plugins.pgMapLauncher.getDirections({label:"Malaysian Food"});
-
-// Get directions from a specific location to a nearby keyword :
-navigator.plugins.pgMapLauncher.getDirections({label:"Malaysian Food"},{coordinates:{latitude:36.111224, longitude:-115.172194}});
+ // Get directions from a specific location to a nearby keyword :
+ navigator.plugins.pgMapLauncher.getDirections({label:"Malaysian Food"},{coordinates:{latitude:36.111224, longitude:-115.172194}});
+
+

0 comments on commit 6f4c09e

Please sign in to comment.