Skip to content

Releases: thomasbrueggemann/leaflet.boatmarker

v1.1.2

06 Nov 23:55
Compare
Choose a tag to compare
var boatMarker = L.boatMarker(map.getCenter(), {
    color: "#f1c40f",   // color of the boat
    idleCircle: false   // if set to true, the icon will draw a circle if
                        // boatspeed == 0 and the ship-shape if speed > 0
});

If the marker option idleCircleis set to true, the boat icon will be displayed as a circle instead of the ship shape.

screenshot 2016-11-06 22 43 50

As soon as the boat speed is updated via

boatMarker.setSpeed(12.9);

the icon will update to the appropriate ship shape again.

screenshot 2016-11-06 22 44 00

This helps indicating the speed and motion of a vessel on the map.

v1.1.1

06 Nov 22:53
Compare
Choose a tag to compare
var boatMarker = L.boatMarker(map.getCenter(), {
    color: "#f1c40f",   // color of the boat
    idleCircle: false   // if set to true, the icon will draw a circle if
                        // boatspeed == 0 and the ship-shape if speed > 0
});

If the marker option idleCircleis set to true, the boat icon will be displayed as a circle instead of the ship shape.

screenshot 2016-11-06 22 43 50

As soon as the boat speed is updated via

boatMarker.setSpeed(12.9);

the icon will update to the appropriate ship shape again.

screenshot 2016-11-06 22 44 00

This helps indicating the speed and motion of a vessel on the map.

v1.1.0

06 Nov 22:43
Compare
Choose a tag to compare
var boatMarker = L.boatMarker(map.getCenter(), {
    color: "#f1c40f",   // color of the boat
    idleCircle: false   // if set to true, the icon will draw a circle if
                        // boatspeed == 0 and the ship-shape if speed > 0
});

If the marker option idleCircleis set to true, the boat icon will be displayed as a circle instead of the ship shape.

screenshot 2016-11-06 22 43 50

As soon as the boat speed is updated via

boatMarker.setSpeed(12.9);

the icon will update to the appropriate ship shape again.

screenshot 2016-11-06 22 44 00

This helps indicating the speed and motion of a vessel on the map.

v1.0.1

02 Mar 10:55
Compare
Choose a tag to compare
Update leaflet.boatmarker.js

v1.0.0

30 Mar 19:31
Compare
Choose a tag to compare
Update leaflet.boatmarker.min.js