{"id":4947,"date":"2021-01-17T23:03:40","date_gmt":"2021-01-17T23:03:40","guid":{"rendered":"http:\/\/www.smitvision.com\/WordPress\/?p=4947"},"modified":"2021-01-18T00:08:02","modified_gmt":"2021-01-18T00:08:02","slug":"update-google-maps-api","status":"publish","type":"post","link":"https:\/\/www.smitvision.com\/WordPress\/?p=4947","title":{"rendered":"update Google Maps API"},"content":{"rendered":"<div class=\"tiled-gallery type-rectangular tiled-gallery-unresized\" data-original-width=\"584\" data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https:\\\/\\\/www.smitvision.com\\\/WordPress\\\/?p=4947&quot;,&quot;likes_blog_id&quot;:43397810}' itemscope itemtype=\"http:\/\/schema.org\/ImageGallery\" > <div class=\"gallery-row\" style=\"width: 584px; height: 509px;\" data-original-width=\"584\" data-original-height=\"509\" > <div class=\"gallery-group images-1\" style=\"width: 584px; height: 509px;\" data-original-width=\"584\" data-original-height=\"509\" > <div class=\"tiled-gallery-item tiled-gallery-item-large\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"https:\/\/www.smitvision.com\/WordPress\/?attachment_id=4951\" border=\"0\" itemprop=\"url\"> <meta itemprop=\"width\" content=\"580\"> <meta itemprop=\"height\" content=\"505\"> <img decoding=\"async\" class=\"\" data-attachment-id=\"4951\" data-orig-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Fout.jpg\" data-orig-size=\"1295,1127\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Peter&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1610926529&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Fout\" data-image-description=\"\" data-medium-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Fout-300x261.jpg\" data-large-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Fout-1024x891.jpg\" src=\"https:\/\/i0.wp.com\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Fout.jpg?w=580&#038;h=505&#038;ssl=1\" srcset=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Fout.jpg 1295w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Fout-300x261.jpg 300w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Fout-1024x891.jpg 1024w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Fout-345x300.jpg 345w\" width=\"580\" height=\"505\" loading=\"lazy\" data-original-width=\"580\" data-original-height=\"505\" itemprop=\"http:\/\/schema.org\/image\" title=\"Fout\" alt=\"heel verdrietig\" style=\"width: 580px; height: 505px;\" \/> <\/a> <div class=\"tiled-gallery-caption\" itemprop=\"caption description\"> heel verdrietig <\/div> <\/div> <\/div> <!-- close group --> <\/div> <!-- close row --> <\/div>\n<p>2021 begon met een hele vieze klus.<br \/>\nNog net in het oude jaar (op 30 december) vroeg een oud-collega me iets over Schotland en ik wilde hem een linkje sturen naar een dagboek-pagina (op mijn website) van de vakantie die we daar gemaakt hebben.<br \/>\nTot mijn afgrijzen zag ik op die pagina een foutmelding.<\/p>\n<p><strong>Al mijn vakantie-websites van v\u00f3\u00f3r 2014 hadden dit probleem.<\/strong> De dagboektekst doet het prima; maar mijn dagboeken maken veel gebruik van interactieve kaartjes. Daarbij gebruik ik dan een &#8216;API&#8217; (Application Program Interface) van Google Maps. Zeg maar &#8216;opdrachten aan Google Maps&#8217; om het kaartje te tekenen met daarop allerlei plaatsaanduidingen en gelopen wandelingen en dergelijke.<br \/>\nEen klein beetje uitzoekwerk bracht het volgende aan het licht:<\/p>\n<div class=\"tiled-gallery type-rectangular tiled-gallery-unresized\" data-original-width=\"584\" data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https:\\\/\\\/www.smitvision.com\\\/WordPress\\\/?p=4947&quot;,&quot;likes_blog_id&quot;:43397810}' itemscope itemtype=\"http:\/\/schema.org\/ImageGallery\" > <div class=\"gallery-row\" style=\"width: 584px; height: 81px;\" data-original-width=\"584\" data-original-height=\"81\" > <div class=\"gallery-group images-1\" style=\"width: 584px; height: 81px;\" data-original-width=\"584\" data-original-height=\"81\" > <div class=\"tiled-gallery-item tiled-gallery-item-large\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"https:\/\/www.smitvision.com\/WordPress\/?attachment_id=4949\" border=\"0\" itemprop=\"url\"> <meta itemprop=\"width\" content=\"580\"> <meta itemprop=\"height\" content=\"77\"> <img decoding=\"async\" class=\"\" data-attachment-id=\"4949\" data-orig-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Deprecated.jpg\" data-orig-size=\"1163,154\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Peter&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1610926011&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Deprecated\" data-image-description=\"\" data-medium-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Deprecated-300x40.jpg\" data-large-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Deprecated-1024x136.jpg\" src=\"https:\/\/i0.wp.com\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Deprecated.jpg?w=580&#038;h=77&#038;ssl=1\" srcset=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Deprecated.jpg 1163w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Deprecated-300x40.jpg 300w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Deprecated-1024x136.jpg 1024w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Deprecated-500x66.jpg 500w\" width=\"580\" height=\"77\" loading=\"lazy\" data-original-width=\"580\" data-original-height=\"77\" itemprop=\"http:\/\/schema.org\/image\" title=\"Deprecated\" alt=\"Helaas\" style=\"width: 580px; height: 77px;\" \/> <\/a> <div class=\"tiled-gallery-caption\" itemprop=\"caption description\"> Helaas <\/div> <\/div> <\/div> <!-- close group --> <\/div> <!-- close row --> <\/div>\n<p>Eerlijk gezegd verbaasde het me niet heel erg. Ergens in 2015 kwam ik erachter dat ik nodig moest overstappen op een nieuwe versie van de Google Maps API. Dat ben ik toen ook (vanaf eind 2014 dus) gaan doen. Maar om nou al die oudere websites om te gaan bouwen&#8230;. Daar had ik geen zin in. En Google kan dan wel zeggen dat ze er over 6 jaar mee gaan stoppen&#8230; Maar dat zal toch wel meevallen&#8230;. Nee hoor. Precies wat ze zeggen. Vanaf november 2020 een &#8216;darkened watermerk&#8217; met een waarschuwing&#8230;<br \/>\nEr zit niks anders op.<br \/>\nIk moet ofwel afscheid nemen van de kaarjes (in de oude dagboeken), ofwel de zaak converteren.<\/p>\n<div class=\"tiled-gallery type-rectangular tiled-gallery-unresized\" data-original-width=\"584\" data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https:\\\/\\\/www.smitvision.com\\\/WordPress\\\/?p=4947&quot;,&quot;likes_blog_id&quot;:43397810}' itemscope itemtype=\"http:\/\/schema.org\/ImageGallery\" > <div class=\"gallery-row\" style=\"width: 584px; height: 434px;\" data-original-width=\"584\" data-original-height=\"434\" > <div class=\"gallery-group images-1\" style=\"width: 584px; height: 434px;\" data-original-width=\"584\" data-original-height=\"434\" > <div class=\"tiled-gallery-item tiled-gallery-item-large\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"https:\/\/www.smitvision.com\/WordPress\/?attachment_id=4955\" border=\"0\" itemprop=\"url\"> <meta itemprop=\"width\" content=\"580\"> <meta itemprop=\"height\" content=\"430\"> <img decoding=\"async\" class=\"\" data-attachment-id=\"4955\" data-orig-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Update.jpg\" data-orig-size=\"1182,876\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Update\" data-image-description=\"\" data-medium-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Update-300x222.jpg\" data-large-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Update-1024x759.jpg\" src=\"https:\/\/i0.wp.com\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Update.jpg?w=580&#038;h=430&#038;ssl=1\" srcset=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Update.jpg 1182w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Update-300x222.jpg 300w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Update-1024x759.jpg 1024w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Update-405x300.jpg 405w\" width=\"580\" height=\"430\" loading=\"lazy\" data-original-width=\"580\" data-original-height=\"430\" itemprop=\"http:\/\/schema.org\/image\" title=\"Update\" alt=\"K-werk\" style=\"width: 580px; height: 430px;\" \/> <\/a> <div class=\"tiled-gallery-caption\" itemprop=\"caption description\"> K-werk <\/div> <\/div> <\/div> <!-- close group --> <\/div> <!-- close row --> <\/div>\n<p>Het ging om ongeveer <strong>250 pagina&#8217;s<\/strong> die ik (met de hand) moest aanpassen.<br \/>\nDe ene pagina wat meer werk dan de andere; maar ik was er toch wel tussen de 5 en 15 minuten per pagina mee bezig. Dan kom je al gauw op <strong>(netto) 40 uur<\/strong>.<br \/>\nHet was zacht gezegd geen fijn werk. Je maakt ook heel gauw een foutje (een kommaatje, een aanhalingstekentje, noem maar op).<br \/>\nEn het is ook niet erg creatief.<\/p>\n<p>Maar: <font color='#FF0000'>na 14 dagen elke dag een paar uur prutsen is het nu klaar<\/font>. Alle pagina&#8217;s doen het weer.<br \/>\nIk heb nu van elk kaartje ook maar een statisch screenshot gemaakt. Want als Google nog eens zoiets in het hoofd haalt ga ik deze ellende niet nog eens in&#8230;.<\/p>\n<div class=\"tiled-gallery type-rectangular tiled-gallery-unresized\" data-original-width=\"584\" data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https:\\\/\\\/www.smitvision.com\\\/WordPress\\\/?p=4947&quot;,&quot;likes_blog_id&quot;:43397810}' itemscope itemtype=\"http:\/\/schema.org\/ImageGallery\" > <div class=\"gallery-row\" style=\"width: 584px; height: 540px;\" data-original-width=\"584\" data-original-height=\"540\" > <div class=\"gallery-group images-1\" style=\"width: 584px; height: 540px;\" data-original-width=\"584\" data-original-height=\"540\" > <div class=\"tiled-gallery-item tiled-gallery-item-large\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"https:\/\/www.smitvision.com\/WordPress\/?attachment_id=4953\" border=\"0\" itemprop=\"url\"> <meta itemprop=\"width\" content=\"580\"> <meta itemprop=\"height\" content=\"536\"> <img decoding=\"async\" class=\"\" data-attachment-id=\"4953\" data-orig-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Goed.jpg\" data-orig-size=\"1285,1187\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Peter&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1610926446&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Goed\" data-image-description=\"\" data-medium-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Goed-300x277.jpg\" data-large-file=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Goed-1024x946.jpg\" src=\"https:\/\/i0.wp.com\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Goed.jpg?w=580&#038;h=536&#038;ssl=1\" srcset=\"https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Goed.jpg 1285w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Goed-300x277.jpg 300w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Goed-1024x946.jpg 1024w, https:\/\/www.smitvision.com\/WordPress\/wp-content\/uploads\/2021\/01\/Goed-325x300.jpg 325w\" width=\"580\" height=\"536\" loading=\"lazy\" data-original-width=\"580\" data-original-height=\"536\" itemprop=\"http:\/\/schema.org\/image\" title=\"Goed\" alt=\"Het is weer goed!\" style=\"width: 580px; height: 536px;\" \/> <\/a> <div class=\"tiled-gallery-caption\" itemprop=\"caption description\"> Het is weer goed! <\/div> <\/div> <\/div> <!-- close group --> <\/div> <!-- close row --> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>2021 begon met een hele vieze klus. Nog net in het oude jaar (op 30 december) vroeg een oud-collega me iets over Schotland en ik wilde hem een linkje sturen naar een dagboek-pagina (op mijn website) van de vakantie die &hellip; <a href=\"https:\/\/www.smitvision.com\/WordPress\/?p=4947\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4947","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2W5KG-1hN","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/4947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4947"}],"version-history":[{"count":7,"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/4947\/revisions"}],"predecessor-version":[{"id":4969,"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/4947\/revisions\/4969"}],"wp:attachment":[{"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.smitvision.com\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}