From 00c494f85ec831f0b27278fc6269167bacbcad40 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 29 Nov 2014 00:35:36 +0000 Subject: [PATCH] switch from openstreetmap nominatim search to the mapquest api version - openstreetmap has broken via https, and opemstreetmap has less limits on usage so better suits us anyway --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 4a94ba5b..52a17e35 100644 --- a/main.js +++ b/main.js @@ -168,7 +168,8 @@ window.PORTAL_RADIUS_ENLARGE_MOBILE = 5; window.DEFAULT_PORTAL_IMG = '//commondatastorage.googleapis.com/ingress.com/img/default-portal-image.png'; -window.NOMINATIM = '//nominatim.openstreetmap.org/search?format=json&limit=1&q='; +//window.NOMINATIM = '//nominatim.openstreetmap.org/search?format=json&limit=1&q='; +window.NOMINATIM = '//open.mapquestapi.com/nominatim/v1/search.php?format=json&limit=1&q='; // INGRESS CONSTANTS ///////////////////////////////////////////////// // http://decodeingress.me/2012/11/18/ingress-portal-levels-and-link-range/