Hi! Well, seams that I''ve used some very very old and API. Mapquest developer site had me a bit confused, but now that I''ve found the current API (5.2.0), everything is working nicely. So, disregard this one :-) Mea culpa! Vanja ------------------------------ Message: 8 Date: Thu, 31 Jan 2008 23:15:24 +0100 From: "Vanja" <vax at hi.htnet.hr> Subject: [Mapstraction] Mapquest OpenAPI To: "''Andrew Turner''" <ajturner at highearthorbit.com> Cc: mapstraction at lists.mapstraction.com Message-ID: <000001c86456$ca00e340$5e02a9c0$@htnet.hr> Content-Type: text/plain; charset="utf-8" Hi! Well, although the routing mapquest example works on mapstraction site, I just can''t find a solution for running it from within the Rails enviroment (the openBubble still doesn''t work for me, but that can easily be my mistake). Anyway, I''m stil digging through my code, but I also wanted to check a few things regarding the Mapquest OpenAPI and mapstracion. Namely, there are two thing that confuse me: 1) Header code * one mapstraction site it goes like this: <script src="http://btilelog.access.mapquest.com/tilelog/transaction?transaction=scr ipt&key=KEY&ipr=true&itk=true&v=5.1" type="text/javascript"></script> <!-- The JSAPI Source files --> <script src="mapquest-js/mqcommon.js" type="text/javascript"></script> <script src="mapquest-js/mqutils.js" type="text/javascript"></script> <script src="mapquest-js/mqobjects.js" type="text/javascript"></script> <script src="mapquest-js/mqexec.js" type="text/javascript"></script> * and from the Mapquest OpenAPI it goes: <script src="http://web.openapi.mapquest.com/oapi/transaction?request=script&key=You rKey" type="text/javascript"></script> * I''ve picked up the examples from https://trc.mapquest.com/ and the API documentation can be found at https://trc.mapquest.com/content/oapi/docs/index.html along with a nice class diagram: https://trc.mapquest.com/content/oapi/docs/content/_0abDUGtKEdqjTrv0zWM0cg_r oot.html (I''m not sure weather it requires a loing, if so I can provide code - I think that doesn''t constitue a breach of licence) 2) MQInitOverlays * in Mapstraction.prototype.addAPI method in the library, there is mention of this method. * when I run my code, I get this error message: "MQInitOverlays is not defined" * I''ve tried searching through OpenAPI and all of the mapstraction repository, but there just isn''t any mention of the function * what could be wrong? Any help appreciated! Vanja