none
Spider Cluster file contain so many error RRS feed

  • Question

  • Hi,

    we are creating one sample control for spider Cluster using below link:

    https://github.com/Microsoft/BingMapsV8CodeSamples/tree/master/Samples/Clustering/SpiderClusters

    we use the .ts file in our sample code but that file contain too many error.

    we use below command by referring this link: https://www.npmjs.com/package/bingmaps 

    npm i bingmaps

    we added below reference

    /// <reference path="../../node_modules/bingmaps/types/MicrosoftMaps/Microsoft.Maps.All.d.ts" />

    /// <reference path="../../node_modules/bingmaps/types/MicrosoftMaps/Microsoft.Maps.d.ts"/>

    we are getting below error

    (property) ISpiderClusterOptions.spiralDistanceFactor?: number | undefined

    A factor that is used to grow the pixel distance of each pushpin from the center in the spiral.

    Object is possibly 'undefined'.ts(2532)

    Argument of type 'null' is not assignable to parameter of type 'ClusterPushpin'.ts(2345)

    Thanks!

    Thursday, November 14, 2019 1:00 PM

All replies

  • Hi Vikas,

    The tool is telling you that your file has errors.  As you are a Bing Maps Enterprise customer, I recommend creating a case with the Bing Maps enterprise Support team throught that option at Microsoft.com/maps and choosing support, then Enterprise Customer Support.

    Sincerely,

    IoTGirl

    Friday, November 15, 2019 7:12 PM
    Owner