Web Design
Maketx effective design and graphics for most of business and solution.
Web Development
Maketx web/network solution for small and mid-size business.
Content Management
Maketx contain management solution for save time and money.
Maketx will improve your web quality to reach every customer through different technology.

Why Us

"Let us try to help your business
and success at online business."

from the blog

February 23, 2015  |  admin  |  off

Latitude Longitude to zip code using google map api using Html and java script example :



<!DOCTYPE html>
<meta name=”viewport” content=”initial-scale=1.0, user-scalable=no”>
<meta charset=”utf-8″>
<title>Reverse Geocoding</title>
<script src=”https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true”></script>
var geocoder;
function initialize() {
geocoder = new google.maps.Geocoder();

function codeLatLng() {
var input = document.getElementById(‘latlng’).value;
var latlngStr = input.split(‘,’, 2);
var lat = parseFloat(latlngStr[0]);
var lng = parseFloat(latlngStr[1]);
var latlng = new google.maps.LatLng(lat, lng);
geocoder.geocode({‘latLng': latlng}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
if (results[0]) {

for(var i=0; i < results[0].address_components.length; i++)
var component = results[0].address_components[i];
if(component.types[0] == “postal_code”)
} //end for

} else {
alert(‘No results found’);
} else {
alert(‘Geocoder failed due to: ‘ + status);

google.maps.event.addDomListener(window, ‘load’, initialize);


<div id=”panel”>
<input id=”latlng” type=”text” value=”40.714224,-73.961452″>
<input type=”button” value=”Reverse Geocode” onclick=”codeLatLng()”>