Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Trying to embed a Bing Map in Portal

$
0
0

I'm new to Portals, and trying to embed a Bing map in my Portal. I tried following this process with no luck:

https://readyxrm.blog/2020/09/18/portals-map/

I did, however, manage to create a simple HTML page which loads the Bing map:

<!DOCTYPEhtml>
<html>
  <head>
    <title>loadmapasyncHTML</title>
    <styletype="text/css">
      body {
        margin: 0;
        padding: 0;
        overflow: hidden;
        font-family: "Segoe UI", Helvetica, Arial, Sans-Serif;
      }
    </style>
    <metahttp-equiv="Content-Type"content="text/html; charset=utf-8"/>
    <script
      type="text/javascript"
    ></script>
    <scripttype="text/javascript">
      varmap;
      functionloadMapScenario() {
        map = newMicrosoft.Maps.Map(document.getElementById("myMap"), {});
      }
    </script>
  </head>
  <bodyonload="loadMapScenario();">
    <divid="printoutPanel"></div>

    <divid="myMap"style="width: 600px; height: 600px"></div>
  </body>
</html>

I am struggling to figure out how to use this code in my Portal app. This HTML code has a head and body section, both with required components. In the HTML code for the web page in my Portal where I want to put it, there is only <div> sections. 

How can I incorporate this into my Portal?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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