Skip to content

Commit

Permalink
move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
birkskyum committed Sep 28, 2023
1 parent 727975d commit debee89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/style/style_layer/custom_style_layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import {Transform} from '../../geo/transform';
/**
* @param gl - The map's gl context.
* @param matrix - The map's camera matrix. It projects spherical mercator
* @param transform - The map's transform object. It contains properties and methods used to calculate
* the map's matrix transformations.
* coordinates to gl coordinates. The spherical mercator coordinate `[0, 0]` represents the
* top left corner of the mercator world and `[1, 1]` represents the bottom right corner. When
* the `renderingMode` is `"3d"`, the z coordinate is conformal. A box with identical x, y, and z
* lengths in mercator units would be rendered as a cube. {@link MercatorCoordinate.fromLngLat}
* can be used to project a `LngLat` to a mercator coordinate.
* @param transform - The map's transform object. It contains properties and methods used to calculate
* the map's matrix transformations.
*/
type CustomRenderMethod = (gl: WebGLRenderingContext|WebGL2RenderingContext, matrix: mat4, transform: Transform) => void;

Expand Down

0 comments on commit debee89

Please sign in to comment.