> It it possible? Sure is.
> If yes what have I done wrong? Don't know, not enough context. http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e Maybe 'map' isn't in scope when setMap is called. Maybe the polyline isn't in scope when setMap is called. Why isn't that inside the function too? Possibly your polyline is out of view in Antartica or off-planet, what are the coordinates? Are they in scope inside the function? etc etc -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
