Skip to content

Commit

Permalink
changes map styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh025 committed Sep 12, 2024
1 parent cfcd91a commit f7efb80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/javascripts/clusterMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ mapboxgl.accessToken = mapToken;
const map = new mapboxgl.Map({
container: 'cluster-map',
// Choose from Mapbox's core styles, or make your own style with Mapbox Studio
style: 'mapbox://styles/mapbox/dark-v11',
style: 'mapbox://styles/mapbox/satellite-streets-v12',
center: [78.9629, 20.5937],
zoom: 3
});
Expand Down
2 changes: 1 addition & 1 deletion public/javascripts/showPageMap.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mapboxgl.accessToken = mapToken;
const map = new mapboxgl.Map({
container: 'map', // container ID
style: 'mapbox://styles/mapbox/dark-v11', // style URL
style: 'mapbox://styles/mapbox/satellite-streets-v12', // style URL
center: campground.geometry.coordinates, // starting position [lng, lat]
zoom: 10, // starting zoom
});
Expand Down

0 comments on commit f7efb80

Please sign in to comment.