From 6563cce41ffcec1adcd489877d7189dc4275664a Mon Sep 17 00:00:00 2001 From: cos Date: Wed, 16 May 2018 13:59:40 +0000 Subject: Remove non-functional geoip As stated on https://dev.maxmind.com/geoip/legacy/javascript/ "Note: On October 31, 2017, we discontinued our legacy GeoIP JavaScript services, which used the endpoints http://js.maxmind.com/js/country.js and http://js.maxmind.com/js/geoip.js." How to migrate to using GeoIP2 is documented at link above, yet it is not fully trivial. --- api_gmaps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api_gmaps.js') diff --git a/api_gmaps.js b/api_gmaps.js index 52dfc61..2b69bd6 100755 --- a/api_gmaps.js +++ b/api_gmaps.js @@ -33,8 +33,8 @@ function init() { strokeWeight: 2 } mapOptions = { - center: new google.maps.LatLng(geoip_latitude(),geoip_longitude()), - zoom: 8, + center: new google.maps.LatLng(0, 0), + zoom: 1, mapTypeId: google.maps.MapTypeId.ROADMAP, scaleControl: true }; -- cgit v1.2.3