This is my bing map custom code, so now what should do?
<!DOCTYPE html>
<html>
<head>
<title>birdseyeV2HTML</title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<script type="text/javascript" src="ajax.googleapis.com/.../jquery.min.js"></script>
</head>
<body>
<div id='printoutPanel'></div>
<div id='myMap' style='width: 100vw; height: 100vh;'></div>
<script type='text/javascript'>
var key = "Key";
function loadMapScenario() {
//var navigationBarMode = Microsoft.Maps.NavigationBarMode;
var name = window.parent.Xrm.Page.getAttribute("name").getValue();
var address1_line1 = window.parent.Xrm.Page.getAttribute("address1_line1").getValue();
var address1_line2 = window.parent.Xrm.Page.getAttribute("address1_line2").getValue();
var address1_line3 = window.parent.Xrm.Page.getAttribute("address1_line3").getValue();
var address1_city = window.parent.Xrm.Page.getAttribute("address1_city").getValue();
var address1_stateorprovince = window.parent.Xrm.Page.getAttribute("address1_stateorprovince").getValue();
var address1_postalcode = window.parent.Xrm.Page.getAttribute("address1_postalcode").getValue();
var address1_country = window.parent.Xrm.Page.getAttribute("address1_country").getValue();
var url = "dev.virtualearth.net/.../Locations; + address1_country + "&adminDistrict=" + address1_stateorprovince + "&locality=" + address1_city + "&postalCode=" + address1_postalcode + "&addressLine=" + address1_line1 + " " + address1_line2 + " " + address1_line3 + "&key=" + key;
$.getJSON(url, function (result) {
if (result.resourceSets[0].estimatedTotal > 0) {
var loc = result.resourceSets[0].resources[0].point.coordinates;
var map = new Microsoft.Maps.Map(document.getElementById('myMap'), {
//navigationBarMode: navigationBarMode.compact,
center: new Microsoft.Maps.Location(loc[0], loc[1]), zoom: 9
, mapTypeId: Microsoft.Maps.MapTypeId.road
});
map.setOptions({
showCurrentAddress: false,
showExitButton: false,
showHeadingCompass: false,
showLocateMeButton: false,
showMapTypeSelector: false,
showZoomButtons: false });
var pushpin = new Microsoft.Maps.Pushpin(new Microsoft.Maps.Location(loc[0], loc[1]), { title: address1_line1 + " " + address1_city + " " + address1_stateorprovince + " " + address1_postalcode + " " + address1_country });
map.entities.push(pushpin);
}
});
}
</script>
<script type='text/javascript' src='www.bing.com/.../mapcontrol;callback=loadMapScenario' async defer></script>
</body>
</html>