document.getElementById('getLocationFrame').src = "ms-appx-web:///www/views/map.html";
and I have code in <div id="map" ></div>
<script>
function initMap() {
var myLatLng = { lat: -25.363, lng: 131.044 };
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 4,
center: myLatLng
});
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
title: 'Hello World!'
});
google.maps.event.addListener(marker, 'click', function () {
window.parent.postMessage("Paris!", "*");
});
}
</script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=My_Key&sensor=false&callback=initMap"></script>