Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6345195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:46:29+00:00 2026-05-24T20:46:29+00:00

Bing’s got something they call an AJAX control that can dynamically embed generated maps

  • 0

Bing’s got something they call “an AJAX control” that can dynamically embed generated maps into any webpage. There’s an online interactive demo for the control.

How can I use this control?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:46:32+00:00Added an answer on May 24, 2026 at 8:46 pm

    See the demonstration.

    enter image description here

    There’s a Javascript class library available at
    http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0

    You need to include it into your page like this:

      <script type="text/javascript" 
              src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
    

    And then call it from within javascript like this:

    var map = new Microsoft.Maps.Map(document.getElementById('SDKmap'), 
                                     {credentials: 'Your Bing Maps Key'});
    

    To get a bing maps key, go to this page.

    You need a div with that id in your HTML page, and it should be sized and styled position:relative:

    <div id="SDKmap" style="position:relative; height:400px; width:400px">
    

    You can then add information boxes and pushpins to that map.


    I also built a javascript helper that can extract custom attributes form the div element, and generate the map for you, complete with pushpins and infoboxes. like this:

      <div id='map3'
           class='map'
           data-mapdata='center: 42.3 -78.0; zoom:7;pushpin:42.323 -78.80; pushpin:42.93 -77.189; pushpin: 41.13 -78.389'></div>
    

    And then the javascript:

            bingMap.displayMap("map3");
    

    The js module containing the helper class is available on the jsfiddle link.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use the Bing Maps Ajax Control to plot pins of
Bing maps currently simplifies each polygon shape that gets put on the map. While
I'm using Infostrat's WPF wrapper for the Bing maps 3d control (blog here http://blogs.msdn.com/virtualearth3d/
I am integrating bing maps into a web page. I am calling the GetDirections()
I have an application using Bing Maps that draws polygons on a map. For
I'm developing a Windows Mobile application that uses Bing Maps Web Service to show
How can I make site that will be correclty found by Bing API, but
I need to extend the bing maps control to be more user MVVM friendly
I'm trying to use a bing maps control on a windows phone 7 silverlight
I'm using the Bing Maps / Virtual Earth control and it appears to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.