Lu Liu
2010-Jul-26 14:50 UTC
[Mapstraction] is the old v1 mapstraction already out of date?
Dear all, I keep using the v1 for my multimodal routing online service with no problem. But just now I found that the map could not be displayed since an js error occurred when loading the web page: Marker is not defined var start = new Marker(new LatLonPoint(52.514556, 13.498307)); Is the v1 already unavailable? Do I have to migrate the app from v1 to v2 and add all the missing "mxn" namespace prefix? If yes, I will do that and another question comes: what is the javascript url of v2? I keep using these two: <script type="text/javascript" src="http://www.mapstraction.com/mapstraction-js/mapstraction.js"></script> <script type="text/javascript" src="http://www.mapstraction.com/mapstraction-js/mapstraction-geocode.js"></script> thanks a lot in advance! -- M. Eng. Lu LIU Lehrstuhl f?r Kartographie, Technische Universit?t M?nchen Arcisstra?e 21 D-80333 M?nchen, Deutschland ------- Department of Cartography, Technische Universitaet Muenchen Arcis street 21 80333 Munich, Germany Website: http://www.carto-tum.de
Adam DuVander
2010-Jul-26 16:37 UTC
[Mapstraction] is the old v1 mapstraction already out of date?
V1 is not being actively developed, but V2 is. Going forward, V2 is the version to use. You can keep using V1, but you should host the JavaScript files yourself. I''m not sure we have them available for download any longer, but I have copies if you need them. --Adam On Mon, Jul 26, 2010 at 7:50 AM, Lu Liu <nudtlliu at gmail.com> wrote:> Dear all, > > I keep using the v1 for my multimodal routing online service with no > problem. But just now I found that the map could not be displayed > since an js error occurred when loading the web page: > > Marker is not defined > var start = new Marker(new LatLonPoint(52.514556, 13.498307)); > > Is the v1 already unavailable? Do I have to migrate the app from v1 to > v2 and add all the missing "mxn" namespace prefix? If yes, I will do > that and another question comes: what is the javascript url of v2? I > keep using these two: > > <script type="text/javascript" > src="http://www.mapstraction.com/mapstraction-js/mapstraction.js > "></script> > <script type="text/javascript" > src="http://www.mapstraction.com/mapstraction-js/mapstraction-geocode.js > "></script> > > thanks a lot in advance! > > -- > M. Eng. Lu LIU > Lehrstuhl f?r Kartographie, > Technische Universit?t M?nchen > Arcisstra?e 21 > D-80333 M?nchen, Deutschland > ------- > Department of Cartography, > Technische Universitaet Muenchen > Arcis street 21 > 80333 Munich, Germany > Website: http://www.carto-tum.de > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20100726/d77f0cf6/attachment.htm>