{"id":30,"date":"2012-06-11T13:20:30","date_gmt":"2012-06-11T13:20:30","guid":{"rendered":"http:\/\/www.tvarwebu.cz\/blog\/?p=30"},"modified":"2012-06-11T13:20:30","modified_gmt":"2012-06-11T13:20:30","slug":"android-showing-google-map-in-webview","status":"publish","type":"post","link":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/","title":{"rendered":"Android &#8211; showing Google map in WebView"},"content":{"rendered":"<p>Hi everyone,<\/p>\n<p>I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution was very simple &#8211; I had to set myWebView.getSettings().setJavaScriptEnabled(true); &#8230; Simple, isn&#8217;t it? \ud83d\ude42 I hope that it will be helpful for someone who will has similar stupid problem. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone, I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/\">Continue reading<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-android","item-wrap"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi everyone, I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Roman\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tv\u00e1\u0159 Webu Blog | Blog about webdesign, web, adroid and iphone development\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Android \u2013 showing Google map in WebView | Tv\u00e1\u0159 Webu Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi everyone, I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-06-11T13:20:30+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-06-11T13:20:30+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Android \u2013 showing Google map in WebView | Tv\u00e1\u0159 Webu Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi everyone, I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/#article\",\"name\":\"Android \\u2013 showing Google map in WebView | Tv\\u00e1\\u0159 Webu Blog\",\"headline\":\"Android &#8211; showing Google map in WebView\",\"author\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\"},\"datePublished\":\"2012-06-11T13:20:30+00:00\",\"dateModified\":\"2012-06-11T13:20:30+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/#webpage\"},\"articleSection\":\"Android Development\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/android\\\/#listItem\",\"name\":\"Android Development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/android\\\/#listItem\",\"position\":2,\"name\":\"Android Development\",\"item\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/android\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/#listItem\",\"name\":\"Android &#8211; showing Google map in WebView\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/#listItem\",\"position\":3,\"name\":\"Android &#8211; showing Google map in WebView\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/android\\\/#listItem\",\"name\":\"Android Development\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\",\"name\":\"Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Blog about webdesign, web, adroid and iphone development\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/#author\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/\",\"name\":\"Roman\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3fb2ba5d16295e8eb091051b3df18b6d67649a2ac98d04c1701f07a0bed876aa?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Roman\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/\",\"name\":\"Android \\u2013 showing Google map in WebView | Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Hi everyone, I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2012\\\/06\\\/android-showing-google-map-in-webview\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/#author\"},\"datePublished\":\"2012-06-11T13:20:30+00:00\",\"dateModified\":\"2012-06-11T13:20:30+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/\",\"name\":\"Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Blog about webdesign, web, adroid and iphone development\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Android \u2013 showing Google map in WebView | Tv\u00e1\u0159 Webu Blog","description":"Hi everyone, I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution","canonical_url":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/#article","name":"Android \u2013 showing Google map in WebView | Tv\u00e1\u0159 Webu Blog","headline":"Android &#8211; showing Google map in WebView","author":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/#author"},"publisher":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization"},"datePublished":"2012-06-11T13:20:30+00:00","dateModified":"2012-06-11T13:20:30+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/#webpage"},"articleSection":"Android Development"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tvarwebu.cz\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/android\/#listItem","name":"Android Development"}},{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/android\/#listItem","position":2,"name":"Android Development","item":"https:\/\/www.tvarwebu.cz\/blog\/category\/android\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/#listItem","name":"Android &#8211; showing Google map in WebView"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/#listItem","position":3,"name":"Android &#8211; showing Google map in WebView","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/android\/#listItem","name":"Android Development"}}]},{"@type":"Organization","@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization","name":"Tv\u00e1\u0159 Webu Blog","description":"Blog about webdesign, web, adroid and iphone development","url":"https:\/\/www.tvarwebu.cz\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/#author","url":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/","name":"Roman","image":{"@type":"ImageObject","@id":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3fb2ba5d16295e8eb091051b3df18b6d67649a2ac98d04c1701f07a0bed876aa?s=96&d=mm&r=g","width":96,"height":96,"caption":"Roman"}},{"@type":"WebPage","@id":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/#webpage","url":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/","name":"Android \u2013 showing Google map in WebView | Tv\u00e1\u0159 Webu Blog","description":"Hi everyone, I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/#author"},"creator":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/#author"},"datePublished":"2012-06-11T13:20:30+00:00","dateModified":"2012-06-11T13:20:30+00:00"},{"@type":"WebSite","@id":"https:\/\/www.tvarwebu.cz\/blog\/#website","url":"https:\/\/www.tvarwebu.cz\/blog\/","name":"Tv\u00e1\u0159 Webu Blog","description":"Blog about webdesign, web, adroid and iphone development","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Tv\u00e1\u0159 Webu Blog | Blog about webdesign, web, adroid and iphone development","og:type":"article","og:title":"Android \u2013 showing Google map in WebView | Tv\u00e1\u0159 Webu Blog","og:description":"Hi everyone, I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution","og:url":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/","article:published_time":"2012-06-11T13:20:30+00:00","article:modified_time":"2012-06-11T13:20:30+00:00","twitter:card":"summary_large_image","twitter:title":"Android \u2013 showing Google map in WebView | Tv\u00e1\u0159 Webu Blog","twitter:description":"Hi everyone, I have resolved my little problem with showing Google map via WebView. When I tried to show map in WebView, I had seen only white box and nothing more, after short delay loading animation appeared and it was all. I was finding solution, but nowhere was described what I am doing wrong. Solution"},"aioseo_meta_data":{"post_id":"30","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-07-15 07:33:19","updated":"2025-07-15 07:43:22","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tvarwebu.cz\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tvarwebu.cz\/blog\/category\/android\/\" title=\"Android Development\">Android Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAndroid \u2013 showing Google map in WebView\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tvarwebu.cz\/blog"},{"label":"Android Development","link":"https:\/\/www.tvarwebu.cz\/blog\/category\/android\/"},{"label":"Android &#8211; showing Google map in WebView","link":"https:\/\/www.tvarwebu.cz\/blog\/2012\/06\/android-showing-google-map-in-webview\/"}],"_links":{"self":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":1,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":31,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/30\/revisions\/31"}],"wp:attachment":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}