From 95a61601f3c8d15bdaa8bbd7cbb7eee50595da2e Mon Sep 17 00:00:00 2001 From: Mark Campbell-Smith Date: Wed, 2 Apr 2014 11:50:11 +1100 Subject: add geolocation for initial map --- api_gmaps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api_gmaps.js') diff --git a/api_gmaps.js b/api_gmaps.js index 26a787c..2ca65f7 100755 --- a/api_gmaps.js +++ b/api_gmaps.js @@ -33,7 +33,7 @@ function init() { strokeWeight: 2 } mapOptions = { - center: new google.maps.LatLng(52.23, 21.01), + center: new google.maps.LatLng(geoip_latitude(),geoip_longitude()), zoom: 8, mapTypeId: google.maps.MapTypeId.ROADMAP, scaleControl: true -- cgit v1.2.3