Commit Graph

374 Commits

Author SHA1 Message Date
Dave Conway-Jones
828fb5b3c3
tidy index html files 2019-04-21 16:01:00 +01:00
Dave Conway-Jones
110373506a
move location callback into button declaration
to close #89
2019-04-20 10:27:57 +01:00
Dave Conway-Jones
440d997c8a
Open/close popup if requested 2019-04-15 08:13:32 +01:00
Dave Conway-Jones
d4ce4ef023
Merge branch 'master' into leaflet-upgrade 2019-04-14 13:06:48 +01:00
Dave Conway-Jones
878ba17b43
Add weathericons 2019-04-12 09:50:55 +01:00
Dave Conway-Jones
3077bf87bd
update Esri layers
re-add hikeBike
2019-04-10 09:34:27 +01:00
Olivier Girondel
3e47abb693 Load buildings data over HTTPS (#88) 2019-04-08 09:42:29 +01:00
Dave Conway-Jones
3905d2d300
tidy cluster update 2019-04-02 14:03:42 +01:00
Dave Conway-Jones
91d5398339
Save object states and ignore non moving track updates 2019-04-02 13:04:06 +01:00
Dave Conway-Jones
e2e3e439cb
oops 2019-04-02 11:04:57 +01:00
Dave Conway-Jones
13b2dc0e04
avoid unnecessary unkown layer enable 2019-04-02 10:28:26 +01:00
Dave Conway-Jones
ad992245be
Turn off clustering by default. 2019-04-02 09:13:07 +01:00
Dave Conway-Jones
eda12d207b
Make greyscale wms slightly lighter
(more suitable for backgrounds)
2019-03-31 17:44:08 +01:00
Dave Conway-Jones
c202e80ec1
Properly clear marker if it changes layers.
to address Issue #85
2019-03-31 17:43:35 +01:00
Dave Conway-Jones
c8e472fb82
not so much variation in sidc sizes 2019-03-29 18:26:55 +00:00
Dave Conway-Jones
76942ad3af
Fix contextmeu $name substitution
to Close #84
2019-03-24 22:29:52 +00:00
Dave Conway-Jones
b34efbe87d
Merge branch 'master' into leaflet-upgrade 2019-03-19 14:37:48 +00:00
Dave Conway-Jones
ea9b4afcb5
Add ability to remove base layers and overlays via cmd
Add watercolor to pick list, hide hike bike (until fixed)
to close #83
2019-03-19 13:53:06 +00:00
Dave Conway-Jones
68dc1f9ad7
remove appcache 2019-03-19 12:39:01 +00:00
Dave Conway-Jones
2cf5cca09f
Tidy up dialog css, status report, readme, 1.5.34
add sessionid to status reports on connect/disconnect,
bump for 1.5.34
2019-03-18 09:03:04 +00:00
Dave Conway-Jones
5c5e8456f6
add command.conextmenu for main right click updates 2019-03-18 09:01:47 +00:00
Dave Conway-Jones
ed6c383ed1
Tidy up help, update dialog polyfill.
fix menucontext blank disable, update cache
2019-03-17 18:15:52 +00:00
Dave Conway-Jones
296fa6c910
update dialog polyfill to remove warning 2019-03-17 09:42:49 +00:00
Dave Conway-Jones
4a6c05b24f
update sockjs library 2019-03-16 20:02:05 +00:00
Dave Conway-Jones
02c9baba9a
fix lock, heat, add dynamic right menu 2019-03-16 19:50:06 +00:00
Dave Conway-Jones
9a2e0b130e
update dialog, draw, and sock.js libs 2019-03-16 18:21:22 +00:00
Dave Conway-Jones
9f54efdb16
Add context menu to README
and bump version to 1.5.32
2019-03-15 19:24:10 +00:00
Dave Conway-Jones
ed9815f889
Fix map lock once and for all...
hopefully. Close Websocket onunload.
2019-03-15 18:50:37 +00:00
Dave Conway-Jones
ca7b0165d5
close ws on close 2019-03-15 17:27:40 +00:00
Dave Conway-Jones
93d7c8e027
allow customise right click menu 2019-03-15 17:00:00 +00:00
Dave Conway-Jones
a270e53f18
keep in sync with master 2019-03-15 16:41:26 +00:00
Dave Conway-Jones
8447c768b9
Fix pan then lock, unlock then pan. And mouse coordinates at start
to close #81  and close #82
2019-03-14 23:30:07 +00:00
Dave Conway-Jones
6d82f5b347
popup improvements 2019-03-14 21:46:46 +00:00
Dave Conway-Jones
809edd3d50
revert boatmarker to better previous version 2019-03-11 22:26:46 +00:00
Dave Conway-Jones
64abc0d190
tidy up 2019-03-11 22:12:52 +00:00
Dave Conway-Jones
9b2f89c33a
fix split code to add setsplit again 2019-03-11 21:51:40 +00:00
Dave Conway-Jones
9eb5a7c48d
add draw update 2019-03-11 21:46:04 +00:00
Dave Conway-Jones
08cdba4131
First attempt at leaflet 1.4 upgrade 2019-03-11 21:08:53 +00:00
Dave Conway-Jones
baeb62427e
Tidy up for 1.5.30 2019-03-11 17:33:53 +00:00
Dave Conway-Jones
a2bdd32364
Allow layer command of none to remove base layer 2019-03-11 15:48:31 +00:00
Dave Conway-Jones
4c7a0dd2c3
add icons to search pattern.
fix http link in overalay example to be https
2019-03-11 12:59:09 +00:00
Dave Conway-Jones
7e70f169a0
Add mouse pointer co-ordinates option 2019-03-10 18:29:44 +00:00
Dave Conway-Jones
2de1b0bec5
Add msg.tooltip, and update readme 2019-03-10 14:23:53 +00:00
Dave Conway-Jones
776663e426
Add feedback via ws utility function 2019-03-07 22:28:41 +00:00
Dave Conway-Jones
56cd2d97a1
Tidy up readme 2019-03-02 23:21:47 +00:00
Zafrir Ron
4448a82330 Pass dashArray property to leaflet (#74) 2019-03-02 22:28:51 +00:00
Dave Conway-Jones
923e8592aa
remove lat/lon from popup if using .popup 2019-03-02 16:12:05 +00:00
Dave Conway-Jones
677177575b
tidy up popup location and timing
Add countries layer if no internet
2019-02-28 18:58:45 +00:00
Dave Conway-Jones
97986dca06
Add hide right click option to config 2019-02-27 22:05:02 +00:00
Dave Conway-Jones
5f074740ff
ensure all tiles loaded over https 2019-02-24 22:47:03 +00:00
Dave Conway-Jones
e605679c3b
bump package for npm 2019-02-21 12:23:45 +00:00
Dave Conway-Jones
9a00cec20e
Add user definable buttons
to close #67
2019-02-21 12:22:51 +00:00
Dave Conway-Jones
6f0af9f4bb
improve look of popup (imho) 2019-02-21 12:22:20 +00:00
Dave Conway-Jones
a8038dde66
fix right click menu not hiding , and ensure popup always has close
to close #69 and close #70
2019-02-20 22:30:19 +00:00
Dave Conway-Jones
3fa4992113
Add more side bar info 2019-02-16 17:40:28 +00:00
Dave Conway-Jones
3dee4cbbc6
add to emoji doc - allow actual emoji if required for more modern variations 2019-02-11 22:37:32 +00:00
Dave Conway-Jones
c8a75f71d4
Add emoji icon support 👍 2019-02-11 16:40:34 +00:00
Dave Conway-Jones
3b22462992
slight fixes to label position. Add .lineColor
bump to 1.5.22
2019-02-08 19:07:22 +00:00
Dave Conway-Jones
3756601cc7
Ensure popped stays popped... (again) 2019-02-07 20:52:05 +00:00
Dave Conway-Jones
2948c02fd2
Add .label option 2019-02-07 10:58:49 +00:00
Dave Conway-Jones
4402a660ba
Fix worldmap in node to start after out node ready 2019-02-06 19:17:00 +00:00
Dave Conway-Jones
6aa8643cc6
Fix node label to not truncate path 2019-02-05 15:01:45 +00:00
Dave Conway-Jones
f4eb610438
bump dates to 2019, catch small error on failed remove. 2019-01-26 16:25:25 +00:00
Manuel Mausz
d94aadf502 Update Leaflet.vector-markers to 0.0.6 (#66)
* Update Leaflet.vector-markers to 0.0.6

* Bump to v1.5.18
2019-01-26 16:00:37 +00:00
Dave Conway-Jones
c2edfbe63e
Fix maxage set to 0 not recognised
to Close #64
2019-01-11 11:11:58 +00:00
Dave Conway-Jones
3e51895d45
add panlock, zoomlock and hiderightclick control options
to close #60
2018-12-23 14:30:26 +00:00
Dave Conway-Jones
071007f11c
let clusterAt be set to 0 to disable completely
To close #61
2018-12-22 17:05:26 +00:00
Dave Conway-Jones
456354059c
bump map on npm 2018-12-13 09:15:48 +00:00
Dave Conway-Jones
0194165a8a
Stop delete marker feedback
to close #59
2018-12-07 11:27:21 +00:00
Dave Conway-Jones
7ce853145a
ensure name is part of click message
to close #57
2018-11-21 19:48:20 +00:00
Dave Conway-Jones
e68f71d9c1
Send marker click to websocket
to close #56
2018-11-17 12:10:46 +00:00
Dave Conway-Jones
d77c6e70ec
Add geocoding names to search 2018-11-17 10:53:05 +00:00
Dave Conway-Jones
f8c9a71230
fixup weblink example in readme 2018-11-09 17:26:53 +00:00
Dave Conway-Jones
28da7948d9
try again on panning with popup 2018-11-09 12:54:43 +00:00
Dave Conway-Jones
57c27d0fd9
move open popup to requested marker 2018-11-09 11:16:45 +00:00
Dave Conway-Jones
738e953549
let sidc be entered as lowercase, and be more draggable 2018-10-30 22:22:45 +00:00
Dave Conway-Jones
84ed5e3a2e
Slight reformatting / linting of search PR 2018-10-25 09:56:42 +01:00
Rohan Asmat
27dd9a1fea Basic Dynamic Search Control using the command (#54)
* Worldmap add search command and clear search command

* update in readme!

* update in readme regarding searcch results command

* removing unecessary commits
2018-10-24 23:43:26 +01:00
Dave Conway-Jones
71f868bcff
ensure clicks on country overlay pass through ok 2018-10-22 22:51:18 +01:00
Dave Conway-Jones
6838038c66
remove unnecessary logging 2018-10-22 22:29:16 +01:00
Dave Conway-Jones
24f3a066ba
Allow show/hidelayer to add multiple overlyas in one go
To close #53
2018-10-22 22:09:56 +01:00
Dave Conway-Jones
0e7484263c
Add screen split capability 2018-10-22 21:01:24 +01:00
Dave Conway-Jones
4600491b0a
Add side by side command mode 2018-10-15 23:20:38 +01:00
Dave Conway-Jones
5799b58216
Adding spacing to config menu for IE ;-(
tiny bit of dcj linting
bump version
2018-10-15 17:11:48 +01:00
Dave Conway-Jones
428d0aca55
fix add to layer, update popup lat/lon on move 2018-10-15 00:03:42 +01:00
Dave Conway-Jones
b511f97e2b
let draw layer added icons be draggable by default 2018-10-13 22:42:52 +01:00
Dave Conway-Jones
4d870dd38b
update changelog, redme, tidy for release 2018-10-13 00:08:07 +01:00
Dave Conway-Jones
3992e05cdc
multimap (#51)
* fix fa-icons links

* first go at multimaps

* Handle cleaning up old static routes

Not great but seems to be the best way...
Issue #40

* add some colour buttons

* Add topojson countries layer for disconnected use
2018-10-12 23:58:20 +01:00
Dave Conway-Jones
43765d8b89
allow fa-icon midifers to affect size more usefully
to close #49
2018-10-04 22:39:42 +01:00
Dave Conway-Jones
31fe6d5ec1
Only add layer to control if control exisits
to close #50
2018-10-04 16:16:08 +01:00
Dave Conway-Jones
68953a1747
Fix clearing overlays - to close #48 2018-10-03 14:57:14 +01:00
Dave Conway-Jones
98391b4b75
Fix overlay layer name 2018-10-02 10:42:45 +01:00
Dave Conway-Jones
e48a681623
add a couple of useful overlays 2018-10-01 19:24:58 +01:00
Dave Conway-Jones
e3b65979fc
allow GPX, KML icon 2018-09-20 22:26:17 +01:00
Thorsten von Eicken
2313d9703a allow the icon of GPX overlay markers to be chosen (#41) 2018-09-20 20:47:47 +01:00
Dave Conway-Jones
f14c7fb081
bump to 1.4.2 2018-09-19 20:50:06 +01:00
Dave Conway-Jones
fdc92c958e
add _sessionid to worldmap in node 2018-09-13 07:58:18 -04:00
Dave Conway-Jones
5bf01197c5
missing bracket 2018-09-11 17:14:34 -04:00
Dave Conway-Jones
0b7be08e70
Better scale NATO symbols 2018-09-10 21:03:52 -04:00
Dave Conway-Jones
96bb58c4d7
let icons be draggable (if so enabled) 2018-08-21 14:45:43 +01:00
Dave Conway-Jones
1914ed3b9c
Tidy up other numeric inputs
to close #39
2018-07-17 12:21:01 +01:00
Dave Conway-Jones
d7d6be036a
add ISS icon 2018-07-16 15:52:33 +01:00
Dave Conway-Jones
cacb49f611
bugfix inline satellite icon 2018-07-16 10:19:17 +01:00
Dave Conway-Jones
3bf4ef369c
bug fix for inline svg icons
pushed as 1.3.2
2018-07-09 13:32:18 +01:00
Dave Conway-Jones
15b8efe6b2
Add popup = true to auto open
to Close #37
2018-07-04 09:05:41 +01:00
Dave Conway-Jones
25ecbcb80a
Add KML and TOPOJSON,- bump to 1.3.0
Add 3d buildings as a new page
2018-07-01 16:35:35 +01:00
Dave Conway-Jones
212dc07019
Change tile links to default to https
to close  #36
2018-07-01 16:34:23 +01:00
Dave Conway-Jones
f7c1b59a35
Add topojson, gpx and kml layers 2018-06-26 20:42:24 +01:00
Dave Conway-Jones
6942c1ab12
add target property to weblink 2018-06-17 22:47:47 +02:00
Dave Conway-Jones
641ddbf5df
add higher maxZoom 2018-06-13 17:35:43 +01:00
Dave Conway-Jones
978a7be495
refix command plus payload 2018-06-11 17:08:26 +01:00
Dave Conway-Jones
5ed5ac2147
sort out map initialisation
(especially clusterAt values)
2018-06-06 23:45:06 +01:00
Dave Conway-Jones
029bc14b77
Bump to 1.2.0 - improve deletion of markers and tracks)
(should have bumped when adding velocity layer)
2018-06-06 18:13:50 +01:00
Dave Conway-Jones
deec8ffab0
Add velocity layer 2018-06-03 16:12:13 +01:00
Dave Conway-Jones
609335d4eb
Update info , readme, tidy NATO symbols code 2018-05-31 22:50:50 +01:00
Dave Conway-Jones
f2bc8b6e74
Add proper NATO symbology 2018-05-31 17:32:29 +01:00
Dave Conway-Jones
6f921380bd
Add new building support 2018-05-29 09:04:32 +01:00
Dave Conway-Jones
256e8076f5
ensure drawing at front 2018-01-31 22:54:03 +00:00
Dave Conway-Jones
4aea60ea32
Add geojson layer capability 2018-01-03 08:31:02 +00:00
Dave Conway-Jones
8b07db78df
Add videoUrl support to popup 2017-12-13 22:16:09 +00:00
Dave Conway-Jones
a478a3ac63
remove xs logging 2017-11-19 22:35:30 +00:00
Dave Conway-Jones
40dac68dab
add ability to clear a layer
v 1.1.5 to close #29
2017-11-01 17:16:58 +00:00
Dave Conway-Jones
e74c67d071
Add layer option to node edit control
To close #27
2017-10-10 23:51:18 +01:00
Dave Conway-Jones
806ea1ae63
typos 2017-09-26 15:54:36 +01:00
Dave Conway-Jones
3f8405c3c0
re-do some already implemented changes (git monday blues) 2017-09-06 16:00:37 +01:00
Dave Conway-Jones
7f33169333
typo ! 2017-09-06 14:39:14 +01:00
Dave Conway-Jones
d7cef80daa
fix adding overlay to embedded map 2017-09-06 13:08:04 +01:00
Dave Conway-Jones
c0c422075f
Move to sock.js, remove non-working overlays. 2017-08-13 18:31:53 +01:00
Dave Conway-Jones
9caa9e0a09
fix fa-icon black square issue #25 2017-08-10 16:18:54 +01:00
Dave Conway-Jones
2421e5f23b
fix for icon not specified 2017-08-03 16:09:03 +01:00
Dave Conway-Jones
a3ee1beba9
add raw fa-icons
un-“fix” web socket
2017-07-12 17:59:56 +01:00
Dave Conway-Jones
b7d4c0d999
Bump version for readme updates 2017-06-28 09:01:03 +01:00
andreasIBM
b61b149ed8 Passing in opt to imageOverlay (#22)
the developer expects identical behavior as with the other overlays/base layers
2017-06-28 08:53:42 +01:00
Dave Conway-Jones
26e4ee3603
Tidy up PRs and bump package for release 2017-06-26 16:19:05 +01:00
andreasIBM
b78c98d8a8 Allow user to pass trough more option (#19)
User can now specify:
- color
- fillColor
- stroke
- weight
- opacity
- fillOpacity
- fill
- clickable (if true sets the passed in name as Popup)
The same standard settings as before where kept.
2017-06-25 11:06:31 +01:00
andreasIBM
431f011f32 Added capability to remove polygons (#18)
* Added capability to remove polygons

Remove them in the same way as the markers get removed. I think this was a bug before in line 704. Because there was no way something is in the polygons and also the markers object.
Added the lay property to all polygon creations.

* unnecesarry line
2017-06-25 11:04:47 +01:00
Dave Conway-Jones
fb3efc020f Merge pull request #17 from andreasIBM/Image-Overlay
Added Capability for ImageOverlay
2017-06-25 11:02:26 +01:00
Dave Conway-Jones
607e5bffaf Merge pull request #20 from andreasIBM/Array
Add capability to pass in an Array of Data to the Node
2017-06-25 11:01:40 +01:00
Dave Conway-Jones
c7ce07e8d4
Map tidy up - add msg.latitude to tracks 2017-06-20 23:27:18 +01:00
andreas-froelich
8f097d6cc5 Add capability to pass in an Array of Data to the Node
Do the same code for each Element of the array
2017-06-19 12:51:06 +01:00
andreas-froelich
6d77caa0d2 Added Capability for ImageOverlay
Bounds are a 2 Dimensional Array that define the top left and bottom right coordinates (lat lng) wher the Image should be placed
2017-06-19 09:33:27 +01:00
Dave Conway-Jones
e71332dc15
Add Tracks node - and fix Windows web socket 2017-05-15 13:55:22 +01:00
Dave Conway-Jones
d507389953
move web socket to unique place
and support Joe’s satellite node
2017-05-02 19:46:48 +01:00
Dave Conway-Jones
950264ac13
Add local map server capability 2017-04-20 13:44:19 +01:00
Dave Conway-Jones
6dc383c497 Add weblink property to msg to setup a link to external page
to close #11
2017-03-20 16:05:40 +00:00
nakiabrewer
a333ac83bd addition of msg.payload.addtoheatmap and msg.payload.intensity
Removed msg.payload.int
Now just use msg.payload.intensity regardless if position is lat & lon OR latitude & longitude
2017-03-18 20:50:26 +11:00
nakiabrewer
07db902361 Addition of msg.payload.addtoheatmap and msg.payload.int/intensity
Addition of msg.payload.addtoheatmap and msg.payload.int/intensity.

To summarize.

added msg.payload.addtoheatmap. This defaults to true so you need to explicitly set it to false if you dont want that point to contribute to the heatmap. Done to make this change non breaking for other users.
added msg.payload.int or msg.payload.intensity (read notes below for when to use which one). This sets the intensity of the point you contribute to the heatmap. If you leave the heatmap max parameter at the default of 1 it will work with values of 0.1 - 1. if this parameter doesn't exist the current behavior as it stands today is applied.
Notes

there is a bug in leaflet-heat at the moment that if you change max parameter the intensity value doesn't work correctly (screws up when you zoom in and out). suggest leaving at default of 1 and scaling int/intensity between 0.1 - 1.
Looking through your code you have a few different formats that a positi
2017-03-18 20:20:53 +11:00
Dave Conway-Jones
e1d8734c1c Add heatmap options to control message options to close #10 2017-03-04 14:13:05 +00:00
Dave Conway-Jones
bf2aad4bf6 Add embedded example 2016-11-22 08:21:56 +00:00
Dave Conway-Jones
e1cc6209bf let you specify both point(icon) and radius
to Close #8
and update fa-icons to 4.7.0
2016-11-13 20:27:12 +00:00
Dave Conway-Jones
688353832d Add 3d buildings layer 2016-10-18 22:37:07 +01:00
Dave Conway-Jones
0b350cf822 Add circle mode to map 2016-09-06 13:47:58 +01:00
Dave Conway-Jones
e6ae60068b Fix .photoUrl property to match docs
To close #7
Thanks @edwin-oetelaar for spotting the mistake
2016-09-03 16:08:28 +01:00
Dave Conway-Jones
63b1ed4156 Small updates, setMaxListeners(0). 2016-08-17 09:24:16 +01:00
Dave Conway-Jones
5f8c22a3ee remove Mapquest map type 2016-07-24 11:57:22 +01:00
Dave Conway-Jones
80fbd59002 Fix web socket connect/disconnect 2016-06-27 11:55:30 +01:00
Dave Conway-Jones
7e6aec6558 update mavrkercluster, and add to options 2016-06-15 12:57:31 +01:00
Dave Conway-Jones
3ca9b2453d Add initial position ability to Worldmap 2016-06-12 12:40:29 +01:00
Dave Conway-Jones
d5efb79daf update favicon, add apache 2016-06-08 22:07:54 +01:00
Dave Conway-Jones
132dd6758d tidy up zoom levels for most maps, and
make sure lines and areas work, and fixup css
2016-06-05 18:37:17 +01:00
Dave Conway-Jones
e9c096b6d1 add location marker type 2016-06-03 09:11:48 +01:00
Dave Conway-Jones
47571bcb73 Much more reliable socket.io handling
and reconnections
2016-06-01 23:40:38 +01:00
Dave Conway-Jones
6a86dac240 Better doc for events, and allow add overlay map.
fix fullscreen bug (spelling)
2016-06-01 17:19:04 +01:00
Dave Conway-Jones
a2a8ff1316 Add fullscreen capability to world map
(and update examples to new format)
2016-05-31 09:21:25 +01:00
Dave Conway-Jones
ce9a554d39 let map sit in an iframe...
(you know where this is headed :-)
2016-05-26 22:12:56 +01:00
Dave Conway-Jones
786cee3ed9 Add status to world map node 2016-05-24 21:34:18 +01:00
Dave Conway-Jones
8629f1f017 Fix map local storage of zoom levels
and socket.io reconnect
2016-05-20 16:41:13 +01:00
Dave Conway-Jones
0fcfb24c9d Use socket.io for Worldmap
Major bump to 1.0.0
2016-05-18 23:26:08 +01:00
Dave Conway-Jones
e39dae334d allow change in cluster zoom level 2016-05-17 12:22:04 +01:00
Dave Conway-Jones
9b987b4953 Update fa-icons, fix mouse pointer in menu 2016-05-17 08:47:45 +01:00
Dave Conway-Jones
304568283b Add dialog polypill for "other" browsers
to close #1
2016-05-16 16:07:23 +01:00
Dave Conway-Jones
17cea6022a slight css change and small tweaks 2016-05-08 11:07:09 +01:00
Dave Conway-Jones
6ca7d0685f Add car sag icon 2016-04-18 16:57:31 +01:00
Dave Conway-Jones
f8b5755d50 initial commit 2016-04-01 11:31:07 +01:00