Releases: thomasbrueggemann/leaflet.boatmarker
v1.1.2
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 idleCircle
is set to true
, the boat icon will be displayed as a circle instead of the ship shape.
As soon as the boat speed is updated via
boatMarker.setSpeed(12.9);
the icon will update to the appropriate ship shape again.
This helps indicating the speed and motion of a vessel on the map.
v1.1.1
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 idleCircle
is set to true
, the boat icon will be displayed as a circle instead of the ship shape.
As soon as the boat speed is updated via
boatMarker.setSpeed(12.9);
the icon will update to the appropriate ship shape again.
This helps indicating the speed and motion of a vessel on the map.
v1.1.0
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 idleCircle
is set to true
, the boat icon will be displayed as a circle instead of the ship shape.
As soon as the boat speed is updated via
boatMarker.setSpeed(12.9);
the icon will update to the appropriate ship shape again.
This helps indicating the speed and motion of a vessel on the map.
v1.0.1
Update leaflet.boatmarker.js
v1.0.0
Update leaflet.boatmarker.min.js