Revamp map page layout and compass while removing GPS demo
This commit is contained in:
@@ -32,6 +32,9 @@ export class TrackLayer implements MapLayer {
|
||||
draw(context: LayerRenderContext): void {
|
||||
const { ctx, scene } = context
|
||||
const points = this.projectPoints(scene)
|
||||
if (!points.length) {
|
||||
return
|
||||
}
|
||||
|
||||
ctx.save()
|
||||
ctx.lineCap = 'round'
|
||||
|
||||
Reference in New Issue
Block a user