This commit is contained in:
NatureFreshMilk 2019-02-22 15:01:44 +01:00
parent cd54371361
commit 05fe393b80

View File

@ -1,7 +1,7 @@
'use strict';
//TODO
var PlayerIcon = L.icon({
var TrainIcon = L.icon({
iconUrl: 'pics/sam.png',
iconSize: [16, 32],
@ -29,7 +29,7 @@ var TrainOverlay = L.LayerGroup.extend({
},
createMarker: function(train){
var marker = L.marker([train.pos.z, train.pos.x], {icon: PlayerIcon});
var marker = L.marker([train.pos.z, train.pos.x], {icon: TrainIcon});
marker.bindPopup("Train");
return marker;