|
@@ -70,19 +70,8 @@ L.TileLayer.BetterWMS = L.TileLayer.WMS.extend({
|
|
|
},
|
|
|
|
|
|
showGetFeatureInfo: function (err, latlng, content) {
|
|
|
- /*
|
|
|
- window.map.eachLayer(function (layer) {
|
|
|
- console.log(layer);
|
|
|
- });
|
|
|
- */
|
|
|
|
|
|
- console.log(content);
|
|
|
-
|
|
|
- string = "ONU: " + content.id + "<br /> Tx: " + content.tx + "<br /> Rx: " + content.rx + "<br /> Status: " + content.status + "<br /> Muestreo: " + content.muestreo;
|
|
|
- popup = L.popup()
|
|
|
- .setLatLng(latlng)
|
|
|
- .setContent(string)
|
|
|
- .openOn(window.map);
|
|
|
+ customPopupFeature(latlng, content);
|
|
|
}
|
|
|
});
|
|
|
|