none
Migration Bing 7 to Bing 8 Canvas Push pin RRS feed

  • Question

  • Hello,

    We are migrating our applications using Bing map 7  API, to use Bing Map 8 API.

    The function below is used to create a Canvas pushpin with Bing Map V7 API.

    How do I customize this code in order to use Bing map V8 pushpin options with the same result ?

    How can I adapt this code to keep using the value of [htmlContent] as well as the value of [typeName] in bing Map 8 ?

    Note : Most of the pushpin options like [htmlContent], [typeName]... present in Bing 7 are depracated in bing 8.

    Thanks a lot for your help.

    HK


    • Edited by HK2319 Thursday, June 22, 2017 2:08 PM
    Thursday, June 22, 2017 2:07 PM

Answers

  • html content is no longer supported in v8 pushpins, nor is the css typeName property as all pushpins in v8 are rendered on a canvas.

    it is actually easier to render canvas based pushpins in v8. Here is a sample http://bingmapsv8samples.azurewebsites.net/#Pushpin_CanvasImage


    [Blog] [twitter] [LinkedIn]

    Thursday, June 22, 2017 3:16 PM