title: Xamarin: Error trying to show WebView using OpenLayers maps with html and javascript
body: <p>I'm trying to show a map in xamarin using a WebView component, 
  try passing this code to an html file and it works fine.  The WebView is from Xamarin.Forms</p>
  
  <p>The line <code>alert('test');</code> 
  and the word App in the body of the html is shown without problems, but the map doesn't show. </p>
  
  <p>The devise for test was running android 9</p>
  
  <pre><code>    var browser = new WebView();
      browser.HeightRequest = 600;
      browser.WidthRequest = 600;
  
      var htmlSource = new HtmlWebViewSource();
      htmlSource.Html = @"&lt;html&gt;
                             &lt;head&gt;
                                &lt;script src='http://www.openlayers.org/api/OpenLayers.js'&gt;&lt;/script&gt;
                              &lt;/head&gt;
                              &lt;body&gt;
                                   App
                                    &lt;div id='mapdiv'&gt;&lt;/div&gt;
                                    &lt;script&gt;
                                         alert('test');  
                                         map = new OpenLayers.Map('mapdiv');
                                         map.addLayer(new OpenLayers.Layer.OSM());
  
                                         var lonLat = new OpenLayers.LonLat(-0.1279688, 51.5077286)
                                        .transform(
                                         new OpenLayers.Projection('EPSG:4326'), 
                                         map.getProjectionObject() 
                                      );
  
                                        var zoom = 16;
  
                                        var markers = new 
                                        OpenLayers.Layer.Markers('Markers');
                                        map.addLayer(markers);
  
                                        markers.addMarker(new OpenLayers.Marker(lonLat));
  
                                        map.setCenter(lonLat, zoom);
                                  &lt;/script&gt;
                        &lt;/body&gt;&lt;/html&gt;";
  
                      browser.Source = htmlSource;
                      Children.Add(browser);
  </code></pre>