Android Phonegap - How to Open Native Google Maps Application

This work for me...

var addressLongLat = yourLatitude+','+yourLongitude

For Android Maps App:

window.open("geo:"+addressLongLat);

For iOs Maps App:

window.open("http://maps.apple.com/?q="+addressLongLat, '_system');

For Google Maps in App Browser:

window.open("http://maps.google.com/?q="+addressLongLat, '_system');

Use the geo: type uri.

<a href="geo:38.897096,-77.036545">open map</a>

and the user will get the choice of opening any of the mapping applications installed on their device.