Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * In this example, we can see that on the document event DOMContentLoaded, we will load the provided account
- * account and setup the LocusLabs with the provided airport.
- */
- function venueLoaded(_venue) {
- console.log("This callback is called after venue is loaded.")
- }
- document.addEventListener("DOMContentLoaded", function(event) {
- var config = { accountId: 'ACCOUNTID', assetsBase : "ASSETBASE" }
- locuslabs.setup(config, function() {
- new locuslabs.maps.AirportDatabase().loadAirport('VENUEID', venueLoaded);
- })
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement