Browse Source

use atlas for maps

pull/37/head
Aaron Parecki 9 years ago
parent
commit
8409b668d8
  1. 2
      lib/helpers.php

2
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) {

Loading…
Cancel
Save