From 8409b668d89294aada62bdebb7a69c504ad3833e Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Thu, 24 Mar 2016 14:24:58 +0000 Subject: [PATCH] use atlas for maps --- lib/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers.php b/lib/helpers.php index 0407129..c606dab 100644 --- a/lib/helpers.php +++ b/lib/helpers.php @@ -243,7 +243,7 @@ function get_syndication_targets(&$user) { } function static_map($latitude, $longitude, $height=180, $width=700, $zoom=14) { - return 'http://static-maps.pdx.esri.com/img.php?marker[]=lat:' . $latitude . ';lng:' . $longitude . ';icon:small-blue-cutout&basemap=gray&width=' . $width . '&height=' . $height . '&zoom=' . $zoom; + return 'https://atlas.p3k.io/map/img?marker[]=lat:' . $latitude . ';lng:' . $longitude . ';icon:small-blue-cutout&basemap=gray&width=' . $width . '&height=' . $height . '&zoom=' . $zoom; } function relative_time($date) {