Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

HybridWebView - problem with loading Google and OSM map pages on Android

$
0
0
            var webView = new HybridWebView(new JsonSerializer ()) {
//                Uri = new Uri("http://www.openstreetmap.org"),
//                Uri = new Uri("https://www.bing.com/maps/"),
                Uri = new Uri("https://www.google.pl/maps"),
                VerticalOptions = LayoutOptions.FillAndExpand, 
                HorizontalOptions = LayoutOptions.FillAndExpand 
            };

iOS works perfectly, but on Android:
http://www.openstreetmap.org - loading partially, without map rendering
https://www.google.pl/maps - does not load at all
https://www.bing.com/maps/ - seems to work ok

tested on API 19 and 22.
Windows Phone - did not test yet

why is that?
can I be able to load any page I want in HybridWebView?
can someone help me with that?

Standard Xamarin.Forms WebView works without any issues with those pages.

here is the project:
https://www.dropbox.com/s/uhdte5tc1p2xkui/TestForms.zip?dl=0


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>