Skip to content

Commit

Permalink
add related example for CanvasSource (#10420)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Brassey authored Mar 1, 2021
1 parent 35b2652 commit 7325e2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/source/canvas_source.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export type CanvasSourceSpecification = {|
* ]);
*
* map.removeSource('some id'); // remove
* @see [Add a canvas source](https://docs.mapbox.com/mapbox-gl-js/example/canvas-source/)
*/
class CanvasSource extends ImageSource {
options: CanvasSourceSpecification;
Expand Down

0 comments on commit 7325e2d

Please sign in to comment.