addT0() not working properly

4 posts / 0 new
Last post
c90gray
addT0() not working properly

Hi, I'm just starting using the mapquest api, but whenever I try to add a marker to my map, I have an Uncaught TypeError: t.addLayer is not a function within the mapquest.js:10 file.
I've tried many things to fix this problem, but even when i copy the example code straight off your documentation, I still get an error. Any help would be appreciated. 


MQBrianCoakley
Are all of the supporting
Are all of the supporting files downloading as expected? If the map is showing up then I suspect they are. But if it works in the Developer Network sample, then it should work in your code if you're including the same supporting files. Do you have a sample you can post?

c90gray
Thanks for the replly, I made

Thanks for the replly, I made a super novice mistake that i don't care to even include in this forum. I got it figurured out now. Thanks again


MQBrianCoakley
HA! We've all been there.
HA! We've all been there. Glad you got it working.