forked from MTSR/mapserver
fix typo
This commit is contained in:
parent
cd54371361
commit
05fe393b80
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user