The InfoWindow is a separate beast from a marker. There is only ever one InfoWindow for a map and you can attach it to a marker, open and close it etc.
Before you remove the marker you should perform a marker.closeInfoWindow() which will close the info window only if it belongs to this marker. see the API reference: http://code.google.com/apis/maps/documentation/reference.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
