i''ve added the right code for addPolyline in googlev3 js and changed a bit the swap function to insert markers and polyline and change maptype too sorry but i''ve put all the code on git cause i don''t know how to access svn as committer for the moment so please refer to git to get all the changes you could find usefull @all: do you know if there''s a way to get a list of active markers and polyline from google maps api so i can compare that list with current active shapes on the map and add only the new ones?? -- ----------- Tafuni Vito vito at vitotafuni.com --------------------------------------------- "Verba volant, scripta manent... data corrupted" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20100527/9a5c1acd/attachment.htm>