{"id":43,"date":"2008-09-11T21:04:54","date_gmt":"2008-09-12T01:04:54","guid":{"rendered":"http:\/\/www.openbible.info\/blog\/?p=43"},"modified":"2016-02-06T10:56:52","modified_gmt":"2016-02-06T14:56:52","slug":"google-static-maps-api","status":"publish","type":"post","link":"https:\/\/www.openbible.info\/blog\/2008\/09\/google-static-maps-api\/","title":{"rendered":"Google Static Maps API"},"content":{"rendered":"<p>Google just updated their <a href=\"https:\/\/developers.google.com\/maps\/documentation\/static-maps\/\">Static Maps API<\/a> to include satellite imagery, and the <a href=\"https:\/\/www.openbible.info\/geo\/atlas\/\">atlas<\/a> now uses this API to display thumbnail maps.<\/p>\n<p>The atlas previously used pregenerated images that looked like this:<\/p>\n<p><img loading=\"lazy\" src=\"https:\/\/a.openbible.info\/geo\/atlas\/jerusalem.jpg\" alt=\"A custom satellite map of Jerusalem shows about two degrees of latitude and longitude as context. Jerusalem appears near the top of the map.\" width=\"200\" height=\"200\" \/><\/p>\n<p>Now the image for <a href=\"https:\/\/www.openbible.info\/geo\/atlas\/j#jerusalem\">Jerusalem<\/a> looks like this:<\/p>\n<p><img loading=\"lazy\" src=\"https:\/\/a.openbible.info\/blog\/2008-09-jerusalem.jpg\" alt=\"A Google Map of Jerusalem also shows two degrees of latitude and two degrees of longitude, but Jerusalem appears centered in the map.\" width=\"200\" height=\"200\" \/><\/p>\n<p>The Google Static Maps API is a way to get all the nice imagery of Google Maps without incurring the interactive overhead. It&#8217;s useful in situations where, like an atlas, you just want to show a static image. Until yesterday, you could only get street maps in the Static Maps API.<\/p>\n<p>This change benefits you\u2014you always see up-to-date imagery&#8212;and it&#8217;s easier for me, since I don&#8217;t need to regenerate images if the locations change.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google just updated their Static Maps API to include satellite imagery, and the atlas now uses this API to display thumbnail maps. The atlas previously used pregenerated images that looked like this: Now the image for Jerusalem looks like this: The Google Static Maps API is a way to get all the nice imagery of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/posts\/43"}],"collection":[{"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":5,"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"predecessor-version":[{"id":1178,"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/posts\/43\/revisions\/1178"}],"wp:attachment":[{"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.openbible.info\/blog\/wp-json\/wp\/v2\/tags?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}