Skip to content

A JavaScript mash-up between MaxMind IP Geolocation API and Google Maps API to deliver automatic driving directions on your website that automatically detect the visitor's location and plot maps and directions to your location.

ahmadahfa/maxmind-ip-geolocate-google-maps-with-directions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

maxmind-ipgeolocate-google-maps-with-directions

A JavaScript mash-up I created using MaxMind IP Geolocation and Google Maps to deliver automatic driving directions and maps from the visitor's approximate location to a destination of your choosing.

Pre-requisites:

  • A Google Maps API key.
  • Agreement to the MaxMind Terms of Service.

Installation:

  1. Upload demo.html to your webserver.
  2. Replace the API key Portion in between with your own Google Maps API key.
  3. Replace the destination address in between with your destination.
  4. Save your changes and that's it, you're done.

Customization:

See available MaxMind params at http://dev.maxmind.com/ and all things Google Maps at https://developers.google.com/maps/ This script was originally designed using Google Maps v2, it can be adapted to work with v3 with little or no customization. A similar API exists for most driving direction services, such as Bing Maps, OpenStreetMaps, MapQuest, and many many others.

About:

I built this out during the construction of an auto-body dealership client's website several years ago.

Demo:

http://dubows.com/demo.html

About

A JavaScript mash-up between MaxMind IP Geolocation API and Google Maps API to deliver automatic driving directions on your website that automatically detect the visitor's location and plot maps and directions to your location.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published