Commit Graph

35 Commits

Author SHA1 Message Date
nakiabrewer
64f1393073 Updated msg.payload.intensity
Removed need to distinguish between int/intensity. 
Now just msg.payload.intensity regardless if lat & lon OR latitude & longitude.
2017-03-18 20:40:57 +11:00
nakiabrewer
491a17358e Added msg.payload.addtoheatmap and msg.payload.int 2017-03-18 20:31:23 +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
6dac8eb94d Add Redmap image
to close #5
2016-08-04 17:09:27 +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
4647189130 better handling of web socket listeners 2016-06-02 12:35:12 +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
7f6837fa29 add to worldmap README.md 2016-04-07 21:35:43 +01:00
Dave Conway-Jones
19fdeafdd2 update Readme 2016-04-01 11:43:24 +01:00
Dave Conway-Jones
2e195108b8 fix package.json 2016-04-01 11:34:33 +01:00
Dave Conway-Jones
f8b5755d50 initial commit 2016-04-01 11:31:07 +01:00