Skip to content

Commit fe79ca0

Browse files
authored
Show GPX tracks when creating map (#408)
Fixes #392
1 parent 85271bc commit fe79ca0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/map/map.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ export abstract class BaseMap extends Events implements BaseMapDefinition {
612612
data,
613613
this.gpxIcons
614614
);
615+
gpxInstance.show();
615616
gpxInstance.leafletInstance.addTo(this.gpxLayer);
616617
this.layerControl.addOverlay(
617618
gpxInstance.leafletInstance,

0 commit comments

Comments
 (0)