Here is my recent experience using Google Map API.
Using maps API, for any given longitude - latitude map could be loaded.
//
include script along with API Key
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKdQOsbtm_GOHVi1tQ1e0i5HF03rnQ53VY9Xpo-P82wAlcCYrzh-WoWZx3rhqUXsnIRipDj1bS3iXCdcChQL4UpeE2TLXnFkVhRPuBiRbk6YdmPWcGp41H-x_tzSa8s_DQ9uxMSg-Li1Py/s1600/a.jpg)
/
/ create LatLng object
var latlng = new google.maps.LatLng( 17.4155646, 78.47505330000001).val())
// Set Map Type and zoom level
var mapOptions = {
center: latlng,
zoom: 15,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
// create map object using a placeholder div tag for loading the map.
map = new google.maps.Map(document.getElementById("map-canvas"),
mapOptions);
// create a tag position on exact location of longitude and latitude
var tagPosition = new google.maps.Marker({
map:map,
position: latlng
});
As simple as that ! But it's just background work - how is this useful?
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnTGMQamU7HrXTkPypEUgd0rQCt1uHpqfgpmyjw1HkjsShxwu018u3WZuUWIjkELFOc8P9YW6Eq3skFfkNtL2O9-48wwGKKU-A6lqIWNpX2Ni-msB4qBzyt5HXGHS9MEfg20UqJtaOwFfG/s320/b.jpg)
1) You may use GeoCoder service to translate a location address to Longitude and Latitude. Typical way maps are used. Provide a text box to enter location. GeoCoder Service provides required information to load the map for that address.
2) Or something cool - use longitude and latitude information on an image to point out where the picture was taken. Consider following screenshot,
You could showoff images on a map in a pretty cool manner!