Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
viet nguyen committed Feb 28, 2024
1 parent bf35099 commit 71573f6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/components/maps/OBCustomLayers.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { Source, Layer } from 'react-map-gl'

/**
* OpenBeta custom map tiles
* @returns
* OpenBeta custom map tiles.
* - Crags: crag markers and labels
* - Crag groups: polygon boundaries for crag groups (TBD)
*/
export const OBCustomLayers: React.FC = () => {
return (
Expand All @@ -14,12 +15,8 @@ export const OBCustomLayers: React.FC = () => {
]}
attribution='© OpenBeta contributors'
>
{/* /**
* Can be any unique id. In order for the mouse to interact with the layer,
* the id must be specified in ReactMapGL's interactiveLayerIds prop
*/}
<Layer
id='crags'
id='crags' // can be any unique id. Must match the id in ReactMapGL.interactiveLayerIds
type='symbol'
source-layer='crags' // source-layer is the layer name in the vector tileset
layout={{
Expand Down

0 comments on commit 71573f6

Please sign in to comment.