Commit Graph

499 Commits

Author SHA1 Message Date
Dave Conway-Jones
1225cb36d2
Bump for 2.37.0 (add fly to option) 2023-04-11 14:56:06 +01:00
Richard Wiseman
7ee1204cf1
Update worldmap.js to allow "flying" to new bounds (#225)
* Update worldmap.js to allow "flying" to new bounds

When the bounds command is used, give the option to "fly" (a Leaflet term meaning to animate the change of bounds: zoom out, pan, zoom in) to the new bounds rather than simply repositioning the map.  This is done very simply by providing a "fly" flag that, with a truthy value, calls map.flyToBounds instead of map.fitBounds.

There are 10 other places where map.fitBounds is used, but for my purposes, I only want to "fly" to the new bounds when I explicitly set the bounds through this command.  So perhaps these changes could/should be used in other scenarios too.

* Update worldmap.js to allow flying to bounds

I've changed almost every instance of fitBounds so that, if the "fly" property is true, then it will use flyToBounds instead.

I didn't change the search, where it does fitBounds and then panTo, as it wasn't clear how/whether "fly" could be provided there.

I also fixed a few bugs where it was checking for "fit" being a property, but then didn't check its value!  So you could provide fit:false and it would still be treated as fit:true!
2023-04-11 14:48:50 +01:00
Dave Conway-Jones
7d9c9a6603
Add Awareness for sidc icons just off edge of map (#228)
* Update worldmap.js

add edge sidc icons

* Bump edge awareness for release
2023-04-04 18:57:18 +01:00
Dave Conway-Jones
8627c03a2f
Let clickable property also work for markers 2023-03-26 15:06:10 +01:00
Dave Conway-Jones
54d855b4c2
bump for local icon path PR
version 2.34.0
2023-03-13 11:22:23 +00:00
Richard Wiseman
77083c1ac4
Allow the icon URL to be only a full path (#223) 2023-03-09 16:55:09 +00:00
Dave Conway-Jones
8009d215e5
bump version for publish 2023-01-21 13:38:22 +00:00
Dave Conway-Jones
2e930c2ade
Merge branch 'master' of https://github.com/dceejay/RedMap 2023-01-21 13:36:34 +00:00
Dave Conway-Jones
1cbefdcaa5
let shapes create click event, fix heatmap delete point bug
to close #221 and close #222
2023-01-21 13:35:20 +00:00
Dave Conway-Jones
608a2c5bd6
fix ui-worldmap not appearing 2023-01-03 16:08:26 +00:00
Dave Conway-Jones
9667df12f3
Fix split map position in iframe 2022-12-16 18:28:17 +00:00
Dave Conway-Jones
23a0aa12e1
Let heatmap be completely replaced 2022-12-13 15:45:27 +00:00
Dave Conway-Jones
1bdc44f4f9
delete markers from heatmap when removed.
to close #218
bump for release
2022-12-13 14:40:36 +00:00
Dave Conway-Jones
4e18987139
Fix numerous bad || assignments
to close #219
2022-12-13 10:47:39 +00:00
Dave Conway-Jones
efc5d49f41
Undo previous fix. Not so nice looking
to Close #217
2022-12-01 12:48:16 +00:00
Dave Conway-Jones
d6d2359016
More Antimeridian wrikles
to close #216
2022-11-30 15:52:29 +00:00
Dave Conway-Jones
05d5968c1a
Bump package for v2.31.1 2022-11-23 10:24:24 +00:00
Dave Conway-Jones
937ec40cb6
Add route distance and duration
based on PR #215
2022-11-23 10:13:51 +00:00
Dave Conway-Jones
97edd95ddd
Merge branch 'master' of https://github.com/dceejay/RedMap 2022-11-23 09:43:46 +00:00
smallf00t
606cb2d875
Update worldmap.js (#215) 2022-11-23 09:43:32 +00:00
Dave Conway-Jones
7b772d4e6c
ensure feedback value is passed back
to close #212
2022-11-23 09:42:03 +00:00
Dave Conway-Jones
ed728eb4db
Fix missing drawing type property
to close #213
2022-11-22 14:26:52 +00:00
Dave Conway-Jones
89569f5827
Use a better KML parsing library
to close #211
2022-11-10 11:08:18 +00:00
Dave Conway-Jones
ac272121d5
Fix for iframe height.
To close #210
2022-10-27 10:41:18 +01:00
Dave Conway-Jones
13926ef385
Fix for bad handling of mapbox id.
to close #208
2022-10-26 18:51:01 +01:00
Dave Conway-Jones
6236928ff5
Only send bounds if they have changed
to close Issue #209
2022-10-26 17:17:22 +01:00
Dave Conway-Jones
a56c276f33
Bump for ruler PR and add to README. 2022-09-23 14:00:10 +01:00
Zafrir Ron
6f28ffc91e
optional ruler (#206) 2022-09-23 13:41:24 +01:00
Dave Conway-Jones
027e459182
Create FUNDING.yml 2022-08-24 11:59:55 +01:00
Dave Conway-Jones
d39abf3994
Update CHANGELOG.md 2022-08-23 13:54:59 +01:00
Dave Conway-Jones
f462c97fc5
bump version for release 2022-08-23 12:13:24 +01:00
Dave Conway-Jones
ab16942e34
Add location toggle and trackme command options, also remove historic layers
to close #202 and close #201
2022-08-23 12:09:14 +01:00
Dave Conway-Jones
f602401660
fix: upgrade express from 4.17.3 to 4.18.1 (#200)
Snyk has created this PR to upgrade express from 4.17.3 to 4.18.1.

See this package in npm:
https://www.npmjs.com/package/express

See this project in Snyk:
https://app.snyk.io/org/dceejay/project/0cd1de40-e9c5-435e-b4e8-5e41b23da4db?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2022-07-19 11:21:02 +01:00
Dave Conway-Jones
21db80e180
fix: upgrade express from 4.17.2 to 4.17.3 (#197) 2022-07-07 17:44:31 +01:00
Dave Conway-Jones
5d1d99b479
fix buttons 2022-06-10 14:05:30 +01:00
Dave Conway-Jones
5787896cd5
let button settings be an array 2022-06-08 19:18:11 +01:00
Dave Conway-Jones
0e6c2505b2
Fix layer command for non core base layers
to Close #195
2022-04-08 11:53:10 +01:00
Dave Conway-Jones
cc16b81729
Create codeql-analysis.yml 2022-04-06 09:27:46 +01:00
Dave Conway-Jones
19b7679964
fix version in readme 2022-04-03 00:12:27 +01:00
Dave Conway-Jones
c4bdb031e5
better geojson sidc icon handling 2022-04-02 23:52:27 +01:00
Dave Conway-Jones
70bc32d049
Add 3d view to dashboard node, better key handling/errors 2022-03-07 21:04:08 +00:00
Dave Conway-Jones
0f61825466
Update package.json 2022-02-24 21:31:58 +00:00
Dave Conway-Jones
71111f8c8a
better smoothing for greatcircles 2022-02-24 21:28:54 +00:00
Dave Conway-Jones
0b259013bb
Add support for gc crossing antimeridian 2022-02-23 15:42:57 +00:00
Dave Conway-Jones
809ae45a3e
Fix allPoints object pass by ref feedback error
to close #194
2022-02-06 17:18:57 +00:00
Dave Conway-Jones
b5553b2acb
resend markers for late joiners 2022-02-04 11:24:48 +00:00
Dave Conway-Jones
6b898e6d3f
Add QTH option, and try connect when Ready 2022-01-29 17:49:36 +00:00
Dave Conway-Jones
eb3d4bb04e
Update worldmap.js 2022-01-25 10:03:14 +00:00
Dave Conway-Jones
cd48c56e12
Update worldmap.js 2022-01-25 09:46:19 +00:00
Dave Conway-Jones
3b1cb2056f
ad UTM and MGRS to coordinate display options 2022-01-24 09:09:14 +00:00