Skip to content

Commit

Permalink
[+] Give some coordinate for entities in Lotte World
Browse files Browse the repository at this point in the history
  • Loading branch information
cubehouse committed Nov 17, 2024
1 parent a9007dd commit 34f7174
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions lib/parks/lotteworld/lotteworld.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,14 @@ export class LotteWorld extends Destination {
entityType: entityType.attraction,
attractionType: attractionType.ride,
name: x.name,
// TODO - location?
// all locations get the same location for now
// we should/will override this in the API database if there is demand for it
// the app doesn't provide location data for attractions
// instead, we get a coordinate of the location on a "play map" that doesn't have any real-world coordinates
location: {
latitude: 37.511360,
longitude: 127.099768,
},
};
});
}
Expand Down Expand Up @@ -446,14 +453,3 @@ export class LotteWorld extends Destination {
];
}
}

const destination = new LotteWorld({
baseURL: 'https://mtadv.lotteworld.com',
});

// import fs from 'fs';
// destination._fetchRidesPage().then((data) => {
// // write to file
// fs.writeFileSync('lotteworld.html', data);
// //console.log(data);
// });

0 comments on commit 34f7174

Please sign in to comment.