WPF Web browser is not showing an html page -


I am using a web browser wpf control to show an html page. This page looks fine in Chrome and other browsers (not being loaded properly in IE), but the web browser is showing an empty page in control. Please help here I am using the html page.

  & lt ;! DOCTYPE html & gt; & Lt ;! - saved from url = (0023) http://www.google.com/ - & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = UTF-8" /> & Lt; Title & gt; Google Maps offers many markers & lt; / Title & gt; & Lt; script src = "http://maps.google.com/maps/api/js?sensor=false" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "map" style = "width: 900px; height: 700px;" & Gt; & Lt; / Div & gt; & Lt; Script type = "text / javascript" & gt; Var Location = [['Bondi Beach', -33.890542, 151.274856, 4], ['Kogi Beach', -33.923036, 151.25 9 52, 5], ['Cronulla Beach', -34.02824 9, 151.157507, 3], [ 'Manly Beach', -33.80010128657071, 151.28747820854187, 2], ['Maroubra Beach', -33.950198, 151.259302, 1]]; Var map = new google.maps.Map (document.getElementById ('map'), {zoom: 10, center: new google.maps.LatLng (-33.92, 151.25), type the map: google.maps.MapTypeId.ROADMAP }); Var infowindow = new google.maps.InfoWindow (); Var marker, i; (I = 0; i & lt; locations.length; i ++) {marker = new google.maps.marker ({status: new google.maps.LatLng (places [i] [1], location [i] [ 2]), map: map}); Google.maps.event.addListener (Marker, 'click', (function (marker, i) {return function () {infowindow.setContent (places [i] [0]); infowindow.open (map, marker);} }) (Marker, I)); } & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt;    

Works fine for me, but there is a security alert to get rid of it. Are you suppressing the warning?

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -