Closed davidof1977 closed 4 years ago
Formatting is a bit messed up, so hard to read, but wondering should it be this.map instead of map ? Maybe post more of the code with fixed formatting will help.
This is most likely an error in your code as pointed out by @ibrierley. Try with this.map.fitBounds(...)
.
Hi,
I alway get these error when i try to acces any property inside the loaded event
The track shows correctly in the map. But i always get that error. And if i tried to acces any attribute of the gpx, like the distance, i can get it, but i cannot send it to the page, because i can not get acces to any atributte outside the gpx. I apologice for my english.