Skip to content
ElenaPochernina edited this page May 26, 2016 · 5 revisions

Bing Maps plot is a special type of a plot representing a map to be used as a background layer for other plots. It is based on Bing Maps AJAX Control version 7. To enable the Bing Maps plot on a page:

  • Include a <script> with a link to the control.
  • Declare a plot using the “data-idd-plot” attribute equal to ”bingMaps”.
  • Set the attribute “data-idd-mapKey” with correct value (keys can be received at http://www.bingmapsportal.com/).

####IDD

How to add Bing Maps in a chart:

<script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
<body>
    <div id="chart" data-idd-plot="chart" style="width: 800px; height: 600px;">
        <div data-idd-plot="bingMaps"></div>
    </div>
</body>

####Chart Viewer

Bing Maps is automatically added in Chart Viewer, if property x has title "lon" and property y has title "lat".