Skip to content

Commit

Permalink
use right config for icon scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
joergreichert committed Apr 20, 2024
1 parent af35322 commit a270a9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/TreesMap/DeckGLMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ class DeckGLMap extends React.Component<DeckGLPropType, DeckGLStateType> {
// iconAtlas and iconMapping are required
// getIcon: return a string
getIcon: d => this._getWaterSourceIcon(d, window.location.pathname.split('/').filter(s => s.length > 0).map(_ => '../').join('')),
sizeScale: this.props.zoom ? 16 : 5,
sizeScale: 25,
sizeMinPixels: 16,
sizeUnits: 'meters',
getPosition: (d) => d.geometry.coordinates,
getSize: (d) => 1,
getColor: (d) => [140, 140, 0],
Expand Down

0 comments on commit a270a9e

Please sign in to comment.