Skip to content

Commit 6f4fbf4

Browse files
committed
easy readable
1 parent 31cc97e commit 6f4fbf4

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

docs/types.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,12 @@ type: ["step", ["zoom"],
169169
"stereographic",
170170
11, "mercator"
171171
]
172-
```
173172

174-
`output at zoom 10.9: ["stereographic", "stereographic", 1]`
175-
`output at zoom 11.0: ["stereographic", "stereographic", 1]`
176-
`output at zoom 11.1: ["mercator", "mercator", 1]`
173+
174+
output at zoom 10.9: ["stereographic", "stereographic", 1]
175+
output at zoom 11.0: ["stereographic", "stereographic", 1]
176+
output at zoom 11.1: ["mercator", "mercator", 1]
177+
```
177178

178179
#### Animate between different projections based on zoom level**
179180

@@ -185,11 +186,13 @@ type: ["interpolate-projection", ["linear"], ["zoom"],
185186
10,"stereographic",
186187
12,"mercator"
187188
]
189+
190+
191+
output at zoom 10: ["stereographic", "stereographic", 1]
192+
output at zoom 11: ["stereographic", "mercator", 0.5]
193+
output at zoom 12: ["mercator", "mercator", 1]
188194
```
189195

190-
`output at zoom 10: ["stereographic", "stereographic", 1]`
191-
`output at zoom 11: ["stereographic", "mercator", 0.5]`
192-
`output at zoom 12: ["mercator", "mercator", 1]`
193196

194197
#### Provide a constant `projection` transition
195198

0 commit comments

Comments
 (0)