Skip to content

Commit

Permalink
Merge pull request #39 from CUAHSI:basemaps
Browse files Browse the repository at this point in the history
Basemaps
  • Loading branch information
devincowan authored Jul 11, 2024
2 parents 3f971fd + 2e281fc commit 16e177a
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions frontend/src/components/TheLeafletMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,26 +70,10 @@ onMounted(() => {
maxZoom: 20
});
const Stadia_StamenTonerLite = L.tileLayer('https://tiles.stadiamaps.com/tiles/stamen_toner_lite/{z}/{x}/{y}{r}.{ext}', {
minZoom: 0,
maxZoom: 20,
attribution: '&copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> &copy; <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
ext: 'png'
});
const Stadia_StamenTonerBackground = L.tileLayer('https://tiles.stadiamaps.com/tiles/stamen_toner_background/{z}/{x}/{y}{r}.{ext}', {
minZoom: 0,
maxZoom: 20,
attribution: '&copy; <a href="https://www.stadiamaps.com/" target="_blank">Stadia Maps</a> &copy; <a href="https://www.stamen.com/" target="_blank">Stamen Design</a> &copy; <a href="https://openmaptiles.org/" target="_blank">OpenMapTiles</a> &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
ext: 'png'
});
const baselayers = {
CartoDB,
CartoDB_PositronNoLabels,
CartoDB_DarkMatterNoLabels,
Stadia_StamenTonerLite,
Stadia_StamenTonerBackground
};
CartoDB.addTo(leaflet);
Expand Down Expand Up @@ -640,7 +624,7 @@ function validate_bbox_size() {
}
#zoomIndicator {
position:fixed;
position: fixed;
bottom: 10%;
left: 10px;
/* background-color: white; */
Expand Down

0 comments on commit 16e177a

Please sign in to comment.