Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
saanobhaai committed Dec 8, 2023
2 parents 0d18497 + c0e67d4 commit 23e7fc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 2 additions & 10 deletions src/components/LeafletMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,7 @@ const generateClusterIconStyle = ({
}

const miniMapLayer = L.tileLayer(
'https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}{r}.{extension}',
{
attribution:
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a> &mdash; Data by &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a>, under <a href="https://www.openstreetmap.org/copyright">ODbL</a>',
subdomains: 'abcd',
minZoom: 0,
maxZoom: 13,
extension: 'png',
},
'https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}',
)

const worldImageryMapLayer = L.tileLayer(
Expand All @@ -101,7 +93,7 @@ const worldImageryMapLayer = L.tileLayer(
)

const labelLayer = L.tileLayer(
'https://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{z}/{y}/{x} ',
'https://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{z}/{y}/{x}',
)

const mapProperty = {
Expand Down
4 changes: 0 additions & 4 deletions src/customStyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ body {
overflow: hidden;
}

.leaflet-bottom .leaflet-control {
opacity: 0.6 !important;
}

.leaflet-popup-content {
margin: 5px 15px !important;
}
Expand Down

0 comments on commit 23e7fc6

Please sign in to comment.