Hello,
I''m trying the mapstraction library and the swap method. i noticed some
strange behavior when swapping from api to another.
Here is my page test url
http://labomedia.lobotomie.org/~maps/mapstraction/un.html
and the trange things :
swapping to google is ok ( *but marker disappear* )
*swapping to yahoo don''t work*
*swapping mapquest give me a components error in firebug* :
* uncaught exception: [Exception... "Component returned failure code:
0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.removeChild]"
nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS
frame ::
http://btilelog.access.mapquest.com/tilelog/transaction?transaction=script&key=mjtd%7Clu6t210anh%2Crn%3Do5-labwu&ipr=true&itk=true&v=5.1::
anonymous :: line 483"
*
*swapping to microsoft : the tile / map don''t appear
swapping to multimap give me an error *:
*MultimapViewer is not defined
http://labomedia.lobotomie.org/~maps/mapstraction/lib/mapstraction.js Line
466)
swapping to freeearth is ok
swapping to openlayer is ok*
*swapping to map24 give me this erreor* :
*uncaught exception: Map24.Exception.InvalidArgument {
Message: Invalid Argument _params.Latitude
Function: Map24.MapApplication.Map24.MapApplication.center()
Attachment: "_params.Latitude"
} *
I wonder if someone has already seen these pbs.
Is the swap method really efficient ?
thanks by advance for response
riccco
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080507/8a7a65f0/attachment.htm>