rework objitem model
This commit is contained in:
@@ -53,9 +53,15 @@
|
||||
const satellite = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
|
||||
attribution: 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'
|
||||
});
|
||||
const street_local = L.tileLayer('http://127.0.0.1:8080/styles/basic-preview/{z}/{x}/{y}.png', {
|
||||
maxZoom: 19,
|
||||
attribution: 'Local Tiles'
|
||||
});
|
||||
street_local.addTo(map);
|
||||
const baseLayers = {
|
||||
"Улицы": street,
|
||||
"Спутник": satellite
|
||||
"Спутник": satellite,
|
||||
"Локально": street_local
|
||||
};
|
||||
L.control.layers(baseLayers).addTo(map);
|
||||
map.setMaxZoom(18);
|
||||
|
||||
@@ -72,7 +72,7 @@ class GetTransponderOnSatIdView(View):
|
||||
output.append(
|
||||
{
|
||||
"name": tran.name,
|
||||
"frequency": tran.frequency,
|
||||
"frequency": tran.downlink,
|
||||
"frequency_range": tran.frequency_range,
|
||||
"zone_name": tran.zone_name,
|
||||
"polarization": tran.polarization.name
|
||||
|
||||
Reference in New Issue
Block a user