Comparing version
{ | ||
"name": "bingmaps", | ||
"version": "1.0.15", | ||
"version": "2.0.0", | ||
"description": "These are the official TypeScript definitions for the Bing Maps V8 SDK. These can be used to provide intellisense and rich error detection to your IDE.", | ||
@@ -5,0 +5,0 @@ "typings": "Microsoft.Maps.All.d.ts", |
 | ||
[](https://www.nuget.org/packages/Microsoft.BingMaps.V8.TypeScript/) | ||
[](https://www.npmjs.com/package/bingmaps) | ||
[](https://www.nuget.org/packages/Microsoft.BingMaps.V8.TypeScript/) | ||
[](https://www.npmjs.com/package/bingmaps) | ||
[](LICENSE.md) | ||
@@ -13,2 +13,4 @@ | ||
**Note:** Due to popular demand, version 2.x now puts these definitions in a _**types**_ folder instead of a _**scripts**_ folder. | ||
## How to get the definitions ## | ||
@@ -36,2 +38,10 @@ | ||
**Use DefinatelyTyped** | ||
Use DefinatelyTyped version of these definitions via npm: | ||
``` | ||
npm install --save @types/bingmaps | ||
``` | ||
**Download definitions** | ||
@@ -46,4 +56,4 @@ | ||
``` | ||
/// <reference path="scripts/MicrosoftMaps/CustomMapStyles.d.ts" /> | ||
/// <reference path="scripts/MicrosoftMaps/Microsoft.Maps.d.ts" /> | ||
/// <reference path="types/MicrosoftMaps/CustomMapStyles.d.ts" /> | ||
/// <reference path="types/MicrosoftMaps/Microsoft.Maps.d.ts" /> | ||
``` | ||
@@ -53,3 +63,3 @@ If you want to also use some of the Bing Maps modules, you can either update the above reference to the following: | ||
``` | ||
/// <reference path="scripts/MicrosoftMaps/Microsoft.Maps.All.d.ts" /> | ||
/// <reference path="types/MicrosoftMaps/Microsoft.Maps.All.d.ts" /> | ||
``` | ||
@@ -61,16 +71,16 @@ | ||
|---------------------------------------------------------------------------------|----------------------------------------------------------| | ||
| [Autosuggest](https://msdn.microsoft.com/en-us/library/mt712650.aspx) | scripts/MicrosoftMaps/Modules/Autosuggest.d.ts | | ||
| [Clustering](https://msdn.microsoft.com/en-us/library/mt712807.aspx) | scripts/MicrosoftMaps/Modules/Clustering.d.ts | | ||
| [Contour](https://msdn.microsoft.com/en-us/library/mt786479.aspx) | scripts/MicrosoftMaps/Modules/Contour.d.ts | | ||
| [Data Binning](https://msdn.microsoft.com/en-us/library/mt743067.aspx) | scripts/MicrosoftMaps/Modules/DataBinning.d.ts | | ||
| [Directions](https://msdn.microsoft.com/en-US/library/mt748655.aspx) | scripts/MicrosoftMaps/Modules/Directions.d.ts | | ||
| [Drawing Tools](https://msdn.microsoft.com/en-us/library/mt750543.aspx) | scripts/MicrosoftMaps/Modules/DrawingTools.d.ts | | ||
| [GeoJson](https://msdn.microsoft.com/en-us/library/mt712806.aspx) | scripts/MicrosoftMaps/Modules/GeoJson.d.ts | | ||
| GeoXml | scripts/MicrosoftMaps/Modules/GeoXml.d.ts | | ||
| [Heat Map Layer](https://msdn.microsoft.com/en-us/library/mt712868.aspx) | scripts/MicrosoftMaps/Modules/HeatMapLayer.d.ts | | ||
| [Search](https://msdn.microsoft.com/en-us/library/mt712846.aspx) | scripts/MicrosoftMaps/Modules/Search.d.ts | | ||
| [Spatial Data Services](https://msdn.microsoft.com/en-us/library/mt712849.aspx) | scripts/MicrosoftMaps/Modules/SpatialDataServices.d.ts | | ||
| [Spatial Math](https://msdn.microsoft.com/en-us/library/mt712834.aspx) | scripts/MicrosoftMaps/Modules/SpatialMath.d.ts | | ||
| [Traffic](https://msdn.microsoft.com/en-us/library/mt712860.aspx) | scripts/MicrosoftMaps/Modules/Traffic.d.ts | | ||
| [Well Known Text](https://msdn.microsoft.com/en-us/library/mt712880.aspx) | scripts/MicrosoftMaps/Modules/WellKnownText.d.ts | | ||
| [Autosuggest](https://msdn.microsoft.com/en-us/library/mt712650.aspx) | types/MicrosoftMaps/Modules/Autosuggest.d.ts | | ||
| [Clustering](https://msdn.microsoft.com/en-us/library/mt712807.aspx) | types/MicrosoftMaps/Modules/Clustering.d.ts | | ||
| [Contour](https://msdn.microsoft.com/en-us/library/mt786479.aspx) | types/MicrosoftMaps/Modules/Contour.d.ts | | ||
| [Data Binning](https://msdn.microsoft.com/en-us/library/mt743067.aspx) | types/MicrosoftMaps/Modules/DataBinning.d.ts | | ||
| [Directions](https://msdn.microsoft.com/en-US/library/mt748655.aspx) | types/MicrosoftMaps/Modules/Directions.d.ts | | ||
| [Drawing Tools](https://msdn.microsoft.com/en-us/library/mt750543.aspx) | types/MicrosoftMaps/Modules/DrawingTools.d.ts | | ||
| [GeoJson](https://msdn.microsoft.com/en-us/library/mt712806.aspx) | types/MicrosoftMaps/Modules/GeoJson.d.ts | | ||
| [GeoXml](https://msdn.microsoft.com/en-us/library/mt825057.aspx) | types/MicrosoftMaps/Modules/GeoXml.d.ts | | ||
| [Heat Map Layer](https://msdn.microsoft.com/en-us/library/mt712868.aspx) | types/MicrosoftMaps/Modules/HeatMapLayer.d.ts | | ||
| [Search](https://msdn.microsoft.com/en-us/library/mt712846.aspx) | types/MicrosoftMaps/Modules/Search.d.ts | | ||
| [Spatial Data Services](https://msdn.microsoft.com/en-us/library/mt712849.aspx) | types/MicrosoftMaps/Modules/SpatialDataServices.d.ts | | ||
| [Spatial Math](https://msdn.microsoft.com/en-us/library/mt712834.aspx) | types/MicrosoftMaps/Modules/SpatialMath.d.ts | | ||
| [Traffic](https://msdn.microsoft.com/en-us/library/mt712860.aspx) | types/MicrosoftMaps/Modules/Traffic.d.ts | | ||
| [Well Known Text](https://msdn.microsoft.com/en-us/library/mt712880.aspx) | types/MicrosoftMaps/Modules/WellKnownText.d.ts | | ||
@@ -91,2 +101,4 @@ ## Screenshots ## | ||
- **A:** New features will be added to the definitions when they have graduated out of the experimental branch and into the main release branch of V8. This will often be done in parallel with MSDN documentation updates. A list of new features can be found in the release notes [here](https://msdn.microsoft.com/en-US/library/mt770019.aspx). | ||
- **Q: Whats the difference between version 1.x and 2.x?** | ||
- **A:** Version one put all the definitions in a _**scripts**_ folder while version 2.x adds them to a _**types**_ folder. | ||
@@ -103,11 +115,6 @@ ## Contributing ## | ||
## License ## | ||
MIT | ||
See [License](LICENSE.md) for full license text. | ||
## Related Projects ## | ||
* [Bing Maps V8 Code Samples](https://github.com/Microsoft/BingMapsV8CodeSamples) | ||
* [Bing Maps Android](https://github.com/LeonidVeremchuk/BingMapAndroid) | ||
@@ -122,1 +129,6 @@ ## Additional Resources ## | ||
## License ## | ||
MIT | ||
See [License](LICENSE.md) for full license text. |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
305039
2.4%5546
2.19%127
10.43%1
Infinity%