@@ -1026,35 +1026,28 @@ export default defineComponent({
1026
1026
zoomHome .addTo (this .map );
1027
1027
this .addCoastlines ();
1028
1028
1029
- // this.basemap = new L.TileLayer.WMS('https://{s}.basemaps.cartocdn.com/light_nolabels /{z}/{x}/{y}.png', {
1030
- // crs: L.CRS.EPSG4326
1031
- // }).addTo(this.map as Map);
1029
+ this .basemap = new L .TileLayer .WMS (' https://{s}.basemaps.cartocdn.com/light_all /{z}/{x}/{y}.png' , {
1030
+ crs: L .CRS .EPSG4326
1031
+ }).addTo (this .map as Map );
1032
1032
1033
1033
const labelPane = this .map .createPane (" labels" );
1034
1034
labelPane .style .zIndex = " 650" ;
1035
1035
labelPane .style .pointerEvents = " none" ;
1036
1036
1037
- this .basemap = L .tileLayer (' https://tiles.stadiamaps.com/tiles/stamen_toner_lines/{z}/{x}/{y}{r}.png' , {
1038
- minZoom: 0 ,
1039
- maxZoom: 20 ,
1040
- attribution: ' © <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' ,
1041
- // crs: L.CRS.EPSG4326
1042
- pane: ' labels'
1043
- }).addTo (this .map as Map );
1044
-
1045
-
1046
-
1047
- // L.tileLayer('https://{s}.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png', {
1048
- // attribution: 'OpenStreetMap, CartoDB',
1037
+ // this.basemap = L.tileLayer('https://tiles.stadiamaps.com/tiles/stamen_toner_lines/{z}/{x}/{y}{r}.png', {
1038
+ // minZoom: 0,
1039
+ // maxZoom: 20,
1040
+ // attribution: '© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
1041
+ // // crs: L.CRS.EPSG4326
1049
1042
// pane: 'labels'
1050
1043
// }).addTo(this.map as Map);
1051
1044
1052
- L .tileLayer (' https://tiles.stadiamaps.com/tiles/stamen_toner_labels/{z}/{x}/{y}{r}.png' , {
1053
- minZoom: 0 ,
1054
- maxZoom: 20 ,
1055
- attribution: ' © <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' ,
1056
- pane: ' labels'
1057
- }).addTo (this .map as Map );
1045
+ // L.tileLayer('https://tiles.stadiamaps.com/tiles/stamen_toner_labels/{z}/{x}/{y}{r}.png', {
1046
+ // minZoom: 0,
1047
+ // maxZoom: 20,
1048
+ // attribution: '© <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> © <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> © <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
1049
+ // pane: 'labels'
1050
+ // }).addTo(this.map as Map);
1058
1051
1059
1052
this .singleDateSelected = this .uniqueDays [this .uniqueDays .length - 1 ];
1060
1053
this .imageOverlay .setUrl (this .imageUrl ).addTo (this .map as Map );
0 commit comments