diff options
author | Aaron Parecki <aaron@parecki.com> | 2016-03-24 14:24:58 +0000 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2016-03-24 14:24:58 +0000 |
commit | 8409b668d89294aada62bdebb7a69c504ad3833e (patch) | |
tree | 1b4b8fe45ba5229f02005c9136346b1e1a2f38af | |
parent | de12b9ef24ab43e9241ff3c37162b5204792fd02 (diff) |
use atlas for maps
-rw-r--r-- | lib/helpers.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |