Skip to content

Commit

Permalink
Merge pull request #81 from Woosmap/dev/transit-fix-center
Browse files Browse the repository at this point in the history
fix: edit center of the map
  • Loading branch information
lpernelle-woosmap authored Jan 6, 2025
2 parents 1104935 + 22803ef commit b35db6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions samples/transit-advanced/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ function initUI(): void {

function initMap(): void {
map = new woosmap.map.Map(document.getElementById("map") as HTMLElement, {
center: { lat: 51.5074, lng: -0.1478 },
zoom: 10,
center: { lat: 45.482604, lng: 9.16924 },
zoom: 11,
});
transitService = new woosmap.map.TransitService();
transitRenderer = new woosmap.map.TransitRenderer({});
Expand Down
4 changes: 2 additions & 2 deletions samples/transit-roadbook/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ function initUI(): void {

function initMap(): void {
map = new woosmap.map.Map(document.getElementById("map") as HTMLElement, {
center: { lat: 51.5074, lng: -0.1478 },
zoom: 10,
center: { lat: 45.482604, lng: 9.16924 },
zoom: 11,
});
transitService = new woosmap.map.TransitService();
transitRenderer = new woosmap.map.TransitRenderer({});
Expand Down

0 comments on commit b35db6b

Please sign in to comment.