{"id":1518,"date":"2016-05-09T18:44:28","date_gmt":"2016-05-09T18:44:28","guid":{"rendered":"https:\/\/www.codexworld.com\/?p=1518"},"modified":"2016-05-09T18:44:28","modified_gmt":"2016-05-09T18:44:28","slug":"google-maps-image-using-google-static-maps-api","status":"publish","type":"post","link":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/","title":{"rendered":"Get Google Maps as an Image using Google Static Maps API"},"content":{"rendered":"<p>Sometimes you want to display Google Map as an image or save Google Map image to the server for further use. Using Google map as an image is comes when we concern about the website loading time. Also, it is useful for displaying the user&#8217;s location map in the web application. Instead of calling the Google Maps API all times, just call Google Static Maps API one time and save the location map on the server. The saved Google map image can be shown without calling the Google Maps API.<\/p>\n<p>The Google Static Maps API lets you showing a Google Maps image on the web page without any JavaScript. The Google Static Maps API creates the map based on your given address or latitude-longitude and returns the map as an image.<\/p>\n<p>This tutorial shows the simple way to get Google Map as image based on given address using Google Static Maps API. Also, we&#8217;ll provide the simple code to save the Google Maps as an image in the server for further use.<\/p>\n<p>When you want to place a marker in Google Map image, it is required to pass the latitude and longitude with the Google Maps API. Use the following resource to <a href=\"http:\/\/www.xwebtools.com\/find-latitude-longitude-from-address\/\" target=\"_blank\">get the Latitude &#038; Longitude from address online<\/a>.<\/p>\n<ul class=\"bullet_disk_list\">\n<li><a href=\"http:\/\/www.xwebtools.com\/find-latitude-longitude-from-address\/\" target=\"_blank\">Get Latitude and Longitude from Address<\/a><\/li>\n<\/ul>\n<h2>Google Map Image based on Address<\/h2>\n<pre>&lt;<span style=\"color:#bf4f24\">img<\/span> <span style=\"color:#bf4f24\">src<\/span>=<span style=\"color:#0b6125\">\"https:\/\/maps.googleapis.com\/maps\/api\/staticmap?center=Brooklyn+Bridge,New+York,NY<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>zoom=12<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>size=600x400\"<\/span>\/>\r\n<\/pre>\n<h2>Google Map Image based on Latitude &#038; Longitude<\/h2>\n<pre>&lt;<span style=\"color:#bf4f24\">img<\/span> <span style=\"color:#bf4f24\">src<\/span>=<span style=\"color:#0b6125\">\"https:\/\/maps.googleapis.com\/maps\/api\/staticmap?center=40.714728,-73.998672<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>zoom=12<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>size=600x400\"<\/span>\/>\r\n<\/pre>\n<h2>Google Map Image with Marker based on Latitude &#038; Longitude<\/h2>\n<pre>&lt;<span style=\"color:#bf4f24\">img<\/span> <span style=\"color:#bf4f24\">src<\/span>=<span style=\"color:#0b6125\">\"https:\/\/maps.googleapis.com\/maps\/api\/staticmap?center=40.714728,-73.998672<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>markers=color:red%7Clabel:C%7C40.718217,-73.998284<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>zoom=12<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>size=600x400\"<\/span>\/>\r\n<\/pre>\n<h2>Save Google Map as an Image using PHP<\/h2>\n<pre><span style=\"color: #0000BB\">&lt;?php<br \/>&nbsp;&nbsp;&nbsp;&nbsp;$src&nbsp;<\/span><span style=\"color: #007700\">=&nbsp;<\/span><span style=\"color: #DD0000\">'https:\/\/maps.googleapis.com\/maps\/api\/staticmap?center=40.714728,-73.998672&amp;markers=color:red%7Clabel:C%7C40.718217,-73.998284&amp;zoom=12&amp;size=600x400'<\/span><span style=\"color: #007700\">;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"color: #0000BB\">$time&nbsp;<\/span><span style=\"color: #007700\">=&nbsp;<\/span><span style=\"color: #0000BB\">time<\/span><span style=\"color: #007700\">();<br \/>&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"color: #0000BB\">$desFolder&nbsp;<\/span><span style=\"color: #007700\">=&nbsp;<\/span><span style=\"color: #DD0000\">'images\/'<\/span><span style=\"color: #007700\">;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"color: #0000BB\">$imageName&nbsp;<\/span><span style=\"color: #007700\">=&nbsp;<\/span><span style=\"color: #DD0000\">'google-map_'<\/span><span style=\"color: #007700\">.<\/span><span style=\"color: #0000BB\">$time<\/span><span style=\"color: #007700\">.<\/span><span style=\"color: #DD0000\">'.PNG'<\/span><span style=\"color: #007700\">;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"color: #0000BB\">$imagePath&nbsp;<\/span><span style=\"color: #007700\">=&nbsp;<\/span><span style=\"color: #0000BB\">$desFolder<\/span><span style=\"color: #007700\">.<\/span><span style=\"color: #0000BB\">$imageName<\/span><span style=\"color: #007700\">;<br \/>&nbsp;&nbsp;&nbsp;&nbsp;<\/span><span style=\"color: #0000BB\">file_put_contents<\/span><span style=\"color: #007700\">(<\/span><span style=\"color: #0000BB\">$imagePath<\/span><span style=\"color: #007700\">,<\/span><span style=\"color: #0000BB\">file_get_contents<\/span><span style=\"color: #007700\">(<\/span><span style=\"color: #0000BB\">$src<\/span><span style=\"color: #007700\">));<br \/><\/span><span style=\"color: #0000BB\">?&gt;<br \/><\/span>&lt;<span style=\"color:#bf4f24\">img<\/span> <span style=\"color:#bf4f24\">src<\/span>=<span style=\"color:#0b6125\">\"<span style=\"background:rgba(111,139,186,0.15);color:#080808\">&lt;?php <span style=\"color:#693a17\">echo<\/span> <span style=\"color:#234a97\">$imagePath<\/span>; ?><\/span>\"<\/span>\/><\/pre>\n<h2>Specify a Google API Key<\/h2>\n<p>Use key parameter with the URL of Google Static Maps API for specifying a Google API Key.<\/p>\n<pre>https:\/\/maps.googleapis.com\/maps\/api\/staticmap?center=40.714728,-73.998672<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>zoom=12<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>size=600x400<span style=\"background:#b52a1d;color:#f8f8f8;\">&amp;<\/span>key=YOUR_API_KEY\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you want to display Google Map as an image or save Google Map image to the server for further use. Using Google map as an image is comes when we concern about the website <\/p>\n","protected":false},"author":1,"featured_media":1519,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[109],"tags":[15,35,14],"class_list":["post-1518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-googlemap","tag-google-maps","tag-google-maps-api","tag-php","cat-109-id","has_thumb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Get Google Maps as an Image using Google Static Maps API - CodexWorld<\/title>\n<meta name=\"description\" content=\"Display Google Maps as an Image - Learn How to Get Google Maps as an Image using Google Static Maps API and Save Google Maps Image using PHP.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get Google Maps as an Image using Google Static Maps API - CodexWorld\" \/>\n<meta property=\"og:description\" content=\"Display Google Maps as an Image - Learn How to Get Google Maps as an Image using Google Static Maps API and Save Google Maps Image using PHP.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/\" \/>\n<meta property=\"og:site_name\" content=\"CodexWorld\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codexworld\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/codexworld\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-09T18:44:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/05\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1366\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"CodexWorld\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codexworldblog\" \/>\n<meta name=\"twitter:site\" content=\"@codexworldweb\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CodexWorld\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/\"},\"author\":{\"name\":\"CodexWorld\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#\\\/schema\\\/person\\\/9da51d8fa3cdefeb5ec9c69136d4baf0\"},\"headline\":\"Get Google Maps as an Image using Google Static Maps API\",\"datePublished\":\"2016-05-09T18:44:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/\"},\"wordCount\":280,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png\",\"keywords\":[\"Google Maps\",\"Google Maps API\",\"PHP\"],\"articleSection\":[\"GoogleMap\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/\",\"name\":\"Get Google Maps as an Image using Google Static Maps API - CodexWorld\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png\",\"datePublished\":\"2016-05-09T18:44:28+00:00\",\"description\":\"Display Google Maps as an Image - Learn How to Get Google Maps as an Image using Google Static Maps API and Save Google Maps Image using PHP.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png\",\"contentUrl\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png\",\"width\":1366,\"height\":768,\"caption\":\"get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/google-maps-image-using-google-static-maps-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.codexworld.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Google Maps as an Image using Google Static Maps API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#website\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/\",\"name\":\"CodexWorld\",\"description\":\"Web &amp; Mobile App Development Company\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.codexworld.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#organization\",\"name\":\"CodexWorld\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/codexworld-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/codexworld-logo.png\",\"width\":200,\"height\":19,\"caption\":\"CodexWorld\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/codexworld\",\"https:\\\/\\\/x.com\\\/codexworldweb\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/codexworld\",\"https:\\\/\\\/www.youtube.com\\\/codexworld\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#\\\/schema\\\/person\\\/9da51d8fa3cdefeb5ec9c69136d4baf0\",\"name\":\"CodexWorld\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g\",\"caption\":\"CodexWorld\"},\"description\":\"CodexWorld is a programming blog, one-stop destination for web professionals \u2014 developers, programmers, freelancers, and site owners.\",\"sameAs\":[\"http:\\\/\\\/www.codexworld.com\",\"https:\\\/\\\/www.facebook.com\\\/codexworld\",\"https:\\\/\\\/x.com\\\/codexworldblog\"],\"url\":\"https:\\\/\\\/www.codexworld.com\\\/author\\\/nitya192265\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Get Google Maps as an Image using Google Static Maps API - CodexWorld","description":"Display Google Maps as an Image - Learn How to Get Google Maps as an Image using Google Static Maps API and Save Google Maps Image using PHP.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/","og_locale":"en_US","og_type":"article","og_title":"Get Google Maps as an Image using Google Static Maps API - CodexWorld","og_description":"Display Google Maps as an Image - Learn How to Get Google Maps as an Image using Google Static Maps API and Save Google Maps Image using PHP.","og_url":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/","og_site_name":"CodexWorld","article_publisher":"https:\/\/www.facebook.com\/codexworld","article_author":"https:\/\/www.facebook.com\/codexworld","article_published_time":"2016-05-09T18:44:28+00:00","og_image":[{"width":1366,"height":768,"url":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/05\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png","type":"image\/png"}],"author":"CodexWorld","twitter_card":"summary_large_image","twitter_creator":"@codexworldblog","twitter_site":"@codexworldweb","twitter_misc":{"Written by":"CodexWorld","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/#article","isPartOf":{"@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/"},"author":{"name":"CodexWorld","@id":"https:\/\/www.codexworld.com\/#\/schema\/person\/9da51d8fa3cdefeb5ec9c69136d4baf0"},"headline":"Get Google Maps as an Image using Google Static Maps API","datePublished":"2016-05-09T18:44:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/"},"wordCount":280,"commentCount":2,"publisher":{"@id":"https:\/\/www.codexworld.com\/#organization"},"image":{"@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/05\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png","keywords":["Google Maps","Google Maps API","PHP"],"articleSection":["GoogleMap"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/","url":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/","name":"Get Google Maps as an Image using Google Static Maps API - CodexWorld","isPartOf":{"@id":"https:\/\/www.codexworld.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/#primaryimage"},"image":{"@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/05\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png","datePublished":"2016-05-09T18:44:28+00:00","description":"Display Google Maps as an Image - Learn How to Get Google Maps as an Image using Google Static Maps API and Save Google Maps Image using PHP.","breadcrumb":{"@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/#primaryimage","url":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/05\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png","contentUrl":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/05\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png","width":1366,"height":768,"caption":"get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld"},{"@type":"BreadcrumbList","@id":"https:\/\/www.codexworld.com\/google-maps-image-using-google-static-maps-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codexworld.com\/"},{"@type":"ListItem","position":2,"name":"Get Google Maps as an Image using Google Static Maps API"}]},{"@type":"WebSite","@id":"https:\/\/www.codexworld.com\/#website","url":"https:\/\/www.codexworld.com\/","name":"CodexWorld","description":"Web &amp; Mobile App Development Company","publisher":{"@id":"https:\/\/www.codexworld.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.codexworld.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.codexworld.com\/#organization","name":"CodexWorld","url":"https:\/\/www.codexworld.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codexworld.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2014\/09\/codexworld-logo.png","contentUrl":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2014\/09\/codexworld-logo.png","width":200,"height":19,"caption":"CodexWorld"},"image":{"@id":"https:\/\/www.codexworld.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codexworld","https:\/\/x.com\/codexworldweb","https:\/\/www.linkedin.com\/company\/codexworld","https:\/\/www.youtube.com\/codexworld"]},{"@type":"Person","@id":"https:\/\/www.codexworld.com\/#\/schema\/person\/9da51d8fa3cdefeb5ec9c69136d4baf0","name":"CodexWorld","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g","caption":"CodexWorld"},"description":"CodexWorld is a programming blog, one-stop destination for web professionals \u2014 developers, programmers, freelancers, and site owners.","sameAs":["http:\/\/www.codexworld.com","https:\/\/www.facebook.com\/codexworld","https:\/\/x.com\/codexworldblog"],"url":"https:\/\/www.codexworld.com\/author\/nitya192265\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/05\/get-google-maps-as-an-image-using-google-static-maps-api-php-codexworld.png","jetpack_shortlink":"https:\/\/wp.me\/p6bxIh-ou","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/posts\/1518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/comments?post=1518"}],"version-history":[{"count":4,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/posts\/1518\/revisions"}],"predecessor-version":[{"id":1529,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/posts\/1518\/revisions\/1529"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/media\/1519"}],"wp:attachment":[{"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/media?parent=1518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/categories?post=1518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/tags?post=1518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}