> Is there a code to center the marker in middle on map.

Yes.  You already have it.

But you might like to think about the time when you run that code.
At the moment, you run it at the end of your XML reading code, so that
it works on the last marker in your XML.
I don't know if that's what you wanted to do, but it seems like an odd
idea.

If you wanted it to centre when a marker is clicked, either on the map
or in the sidebar, then you need to put the code in the click handler
instead.


> there is now overview when there are more markers in the sidebar.

Don't understand.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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.

Reply via email to