Skip to content

Commit

Permalink
wider popup
Browse files Browse the repository at this point in the history
  • Loading branch information
sckilcoyne authored Sep 25, 2024
1 parent 9c34925 commit a9fa364
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ <h1>${e.features[0].properties.name}</h1>
new mapboxgl.Popup()
.setLngLat(e.lngLat) // Changed to use click location instead of feature location (I think)
.setHTML(description)
.setMaxWidth("600px")
.addTo(map);
});

Expand Down

0 comments on commit a9fa364

Please sign in to comment.