Skip to content

Commit a4a9100

Browse files
committed
improve description for pitch and bearing
1 parent 911e872 commit a4a9100

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/plots/mapbox/layout_attributes.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,16 @@ module.exports = {
8080
valType: 'number',
8181
dflt: 0,
8282
role: 'info',
83-
description: 'Sets the bearing angle of the map (in degrees).'
83+
description: 'Sets the bearing angle of the map (in degrees counter-clockwise from North).'
8484
},
8585
pitch: {
8686
valType: 'number',
8787
dflt: 0,
8888
role: 'info',
89-
description: 'Sets the pitch angle of the map (in degrees).'
89+
description: [
90+
'Sets the pitch angle of the map',
91+
'(in degrees, where *0* means perpendicular to the surface of the map).'
92+
].join(' ')
9093
},
9194

9295
layers: {

0 commit comments

Comments
 (0)