Skip to content

Commit

Permalink
Show GPX tracks when creating map (#408)
Browse files Browse the repository at this point in the history
Fixes #392
  • Loading branch information
tgrosinger authored Jul 23, 2023
1 parent 85271bc commit fe79ca0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/map/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ export abstract class BaseMap extends Events implements BaseMapDefinition {
data,
this.gpxIcons
);
gpxInstance.show();
gpxInstance.leafletInstance.addTo(this.gpxLayer);
this.layerControl.addOverlay(
gpxInstance.leafletInstance,
Expand Down

0 comments on commit fe79ca0

Please sign in to comment.