make jshin happy
This commit is contained in:
parent
4d7f96d534
commit
cce6dc8030
@ -88,11 +88,11 @@ var AbstractIconOverlay = L.LayerGroup.extend({
|
||||
objects.forEach(function(obj){
|
||||
var hash = self.hashPos(obj.x, obj.y, obj.z);
|
||||
var marker = self.currentObjects[hash];
|
||||
var popup;
|
||||
var popup, icon;
|
||||
|
||||
if (marker) {
|
||||
//marker exists
|
||||
var icon = self.getIcon(obj);
|
||||
icon = self.getIcon(obj);
|
||||
|
||||
if (!icon) {
|
||||
//icon does not wanna be displayed anymore
|
||||
@ -109,7 +109,7 @@ var AbstractIconOverlay = L.LayerGroup.extend({
|
||||
|
||||
} else {
|
||||
//marker does not exist
|
||||
var icon = self.getIcon(obj);
|
||||
icon = self.getIcon(obj);
|
||||
|
||||
if (!icon) {
|
||||
//icon does not want to be displayed
|
||||
|
@ -70,7 +70,7 @@ var BorderOverlay = AbstractGeoJsonOverlay.extend({
|
||||
coords.push([
|
||||
borders[bordername][0].x,
|
||||
borders[bordername][0].z
|
||||
])
|
||||
]);
|
||||
|
||||
var feature = {
|
||||
"type":"Feature",
|
||||
|
@ -32,7 +32,7 @@ var TrainlineOverlay = AbstractGeoJsonOverlay.extend({
|
||||
});
|
||||
|
||||
var lines = {}; // { "A1":[] }
|
||||
var lineColors = {} // { "A1": "red" }
|
||||
var lineColors = {}; // { "A1": "red" }
|
||||
|
||||
//Sort and add lines
|
||||
objects.forEach(function(obj){
|
||||
|
Loading…
Reference in New Issue
Block a user