Commit Graph

290 Commits

Author SHA1 Message Date
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