|
@ -243,7 +243,7 @@ function get_syndication_targets(&$user) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function static_map($latitude, $longitude, $height=180, $width=700, $zoom=14) { |
|
|
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) { |
|
|
function relative_time($date) { |
|
|