Skip to content

Commit 2d7520c

Browse files
authored
Merge pull request #8 from zhz0704/update-maps-control-version
Update azure-maps-control version
2 parents 33f3e0e + 4aa259a commit 2d7520c

9 files changed

+2095
-2184
lines changed

.github/workflows/node.js.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
node-version: [14.x, 16.x, 18.x, 20.x]
21+
node-version: [16.x, 18.x, 20.x, 22.x]
2222
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2323

2424
steps:
@@ -30,3 +30,5 @@ jobs:
3030
cache: 'npm'
3131
- run: npm ci --force
3232
- run: npm run build --if-present
33+
- run: python -m pip install linkcheckmd
34+
- run: python -m linkcheckmd README.md

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## azure-maps-animations Changelog
22

3+
<a name="0.0.2"></a>
4+
# 0.0.2 (Unreleased)
5+
6+
- Update dependencies versions.
7+
- Update readme links.
8+
39
<a name="0.0.1"></a>
410
# 0.0.1 (2020-08-21)
511

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,14 @@ The following are some ideas to take this project further.
124124

125125
* [Azure Maps Web SDK Open modules](https://github.com/microsoft/Maps/blob/master/AzureMaps.md#open-web-sdk-modules) - A collection of open source modules that extend the Azure Maps Web SDK.
126126
* [Azure Maps Web SDK Samples](https://github.com/Azure-Samples/AzureMapsCodeSamples)
127-
* [Azure Maps Gov Cloud Web SDK Samples](https://github.com/Azure-Samples/AzureMapsGovCloudCodeSamples)
128127
* [Azure Maps & Azure Active Directory Samples](https://github.com/Azure-Samples/Azure-Maps-AzureAD-Samples)
129128
* [List of open-source Azure Maps projects](https://github.com/microsoft/Maps/blob/master/AzureMaps.md)
130129

131130
## Additional Resources
132131

133-
* [Azure Maps (main site)](https://azure.com/maps)
132+
* [Azure Maps (main site)](https://azure.microsoft.com/en-us/products/azure-maps/)
134133
* [Azure Maps Documentation](https://docs.microsoft.com/azure/azure-maps/index)
135-
* [Azure Maps Blog](https://azure.microsoft.com/blog/topics/azure-maps/)
134+
* [Azure Maps Blog](https://azure.microsoft.com/en-us/blog/product/azure-maps/)
136135
* [Microsoft Q&A](https://docs.microsoft.com/answers/topics/azure-maps.html)
137136
* [Azure Maps feedback](https://feedback.azure.com/forums/909172-azure-maps)
138137

dist/azure-maps-animations.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ MIT License
2626
'use strict';
2727

2828
/*! *****************************************************************************
29-
Copyright (c) Microsoft Corporation. All rights reserved.
30-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
31-
this file except in compliance with the License. You may obtain a copy of the
32-
License at http://www.apache.org/licenses/LICENSE-2.0
29+
Copyright (c) Microsoft Corporation.
3330
34-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
35-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
36-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
37-
MERCHANTABLITY OR NON-INFRINGEMENT.
31+
Permission to use, copy, modify, and/or distribute this software for any
32+
purpose with or without fee is hereby granted.
3833
39-
See the Apache Version 2.0 License for specific language governing permissions
40-
and limitations under the License.
34+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
35+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
36+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
37+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
38+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
39+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
40+
PERFORMANCE OF THIS SOFTWARE.
4141
***************************************************************************** */
4242
/* global Reflect, Promise */
4343

@@ -688,9 +688,9 @@ MIT License
688688
case 'MultiPoint':
689689
if (feature.properties[timestampProperty] &&
690690
Array.isArray(feature.properties[timestampProperty]) &&
691-
feature.geometry.coordinates.length === feature.properties[timestampProperty]) {
691+
feature.geometry.coordinates.length === feature.properties[timestampProperty].length) {
692692
for (var i = 0, len = feature.geometry.coordinates.length; i < len; i++) {
693-
t = azmaps.math.parseTimestamp(feature.properties[timestampProperty]);
693+
t = azmaps.math.parseTimestamp(feature.properties[timestampProperty][i]);
694694
if (t) {
695695
pts.push(new azmaps.data.Feature(new azmaps.data.Point(feature.geometry.coordinates[i]), {
696696
_timestamp: t.getTime()

dist/azure-maps-animations.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)