/jquery.geocoder

Easily get information about the browser

Primary LanguageJavaScriptOtherNOASSERTION

jQuery Geocoder

Easily get information about the browser.

Getting Started

You can install the plugin using Bower:

bower install jquery.geocoder

Geocode

var address = '124 Apple St New Haven, CT'

$.geo.geocode(address, {
    success: function(data) {
        console.log(data);
    },
    error: function() {
        //
    }
});

Reverse Geocode

var point = {
    lat: 41.310726,
    lng: -72.929916
};

$.geo.reverseGeocode(point, {
    success: function(data) {
        console.log(data);
    },
    error: function() {
        //
    }
});