Git Product home page Git Product logo

bingmaps-docs's Introduction

bingmaps-docs's People

Contributors

928pjy avatar alexbuckgit avatar aqmoh avatar brittmsantos avatar damabe avatar davidbuerer avatar dereklh7 avatar drmap avatar eriklindeman avatar flavius-stoichescu avatar heptazane avatar iotgirl avatar jbotchek avatar jesselgit avatar jkebeck avatar jmart1428 avatar jnwhitbeck avatar kgoseng avatar khass891891 avatar microsoft-github-policy-service[bot] avatar msalma786 avatar pramik avatar rbrundritt avatar saisang avatar simonshapiromsft avatar stevemunk avatar v-chrfr avatar v-emilypr avatar v-jacwh avatar yasong-ashley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bingmaps-docs's Issues

Possible Error In Examples for Calculating Distance Matrix Billable Transactions

In this page: https://docs.microsoft.com/en-us/bingmaps/rest-services/routes/calculate-a-distance-matrix#api-limits
We are told that

A billable transaction is generated for every 4 cells in a matrix, rounded up to the nearest whole integer

It shows the formula to calculate billable transactions for distance matrix requests as

Total # of billable transactions = Ceiling(# origins * # destinations * 1/4)

Using an example of 2 origins and 5 destinations, the docs calculates the total billable hours as 5
Ceiling(0.5 * 2 * 5 ) = 5

I am wondering where the 0.5 came from, isn't the correct calculation meant to be:
Ceiling(2 * 5 * 0.25) = 3

0.5 is also used when calculating billable transactions for a matrix with a histogram. I stared at this page a very long time, either I have completely forgotten my basic math or I may be missing something. So I'd appreciate any help.
PS: if this is an actual issue can I make a PR? It'll be my first OSS contribution.

Issue with sample tile system code

I use the tile system class as documented here

This has been working well for years. However recently a bug was reported which boiled down to a lat lng of length x would generate a different key then asking for a key of length x+1.
This violates the rule that removing characters at the end gets you a key to a bigger tile that enconmpasses the smaller one.

I've added a sample test case that fails given the code that's on the page right now.

break the tiles.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.