1
0
forked from MTSR/mapserver

remove debug stuff

This commit is contained in:
Thomas Rudin 2019-06-08 14:31:40 +02:00
parent 999a6f2d38
commit 75d4896930

View File

@ -10,13 +10,11 @@ var TrainlineOverlay = AbstractGeoJsonOverlay.extend({
var geoJsonLayer = L.geoJSON([], { var geoJsonLayer = L.geoJSON([], {
onEachFeature: function(feature, layer){ onEachFeature: function(feature, layer){
console.log("onEachFeature", feature)//XXX
if (feature.properties && feature.properties.popupContent) { if (feature.properties && feature.properties.popupContent) {
layer.bindPopup(feature.properties.popupContent); layer.bindPopup(feature.properties.popupContent);
} }
}, },
pointToLayer: function (feature, latlng) { pointToLayer: function (feature, latlng) {
console.log("pointToLayer", feature)//XXX
var geojsonMarkerOptions = { var geojsonMarkerOptions = {
radius: 8, radius: 8,
weight: 1, weight: 1,