Just wondering if you have any examples of adding lines. We have referenced API info for Mapbox but receive errors. Note - we are implementing in Ionic mobile framework
TypeError: Cannot set property 'accessToken' of undefined
TypeError: Cannot set property 'accessToken' of undefined
at new create (eon.js:9935)
at Object.window.eon.map (eon.js:10169)
at HomePage.webpackJsonp.194.HomePage.ngOnInit
Just wondering if you have any examples of adding lines. We have referenced API info for Mapbox but receive errors. Note - we are implementing in Ionic mobile framework
var map = eon.map({ pubnub: pubNub, id: 'map', mbToken: this.mbToken, mbId: this.mbId, channelGroups: [this.channelGroup], connect: this.connect(this), history: false,
});
Error:
TypeError: Cannot set property 'accessToken' of undefined TypeError: Cannot set property 'accessToken' of undefined at new create (eon.js:9935) at Object.window.eon.map (eon.js:10169) at HomePage.webpackJsonp.194.HomePage.ngOnInit