Skip to content

Commit

Permalink
fix Settings default marker icon
Browse files Browse the repository at this point in the history
  • Loading branch information
wattnpapa committed Nov 24, 2017
1 parent e2363a7 commit f40c4ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
@@ -1,3 +1,6 @@
2.0.1
- Fix Setting default Marker Icon

1.7.0
- Compability with Leaflet >= 1.2.0 only
- Remove old Stuff
Expand Down
1 change: 1 addition & 0 deletions src/aisTrackSymbolMarker.js
Expand Up @@ -17,6 +17,7 @@ L.AISTrackSymbolMarker = L.Marker.extend({
this._leaderTime = 360;
options.course = options.cog || 0;
this._iconListByTypeOfShip = options.iconListByTypeOfShip;
this.setIcon(this._iconListByTypeOfShip[0]);

this.setName(options.name || "");

Expand Down

0 comments on commit f40c4ff

Please sign in to comment.