How can I display a number in the marker on a google map? I want to do server side clustering and I need to display how many points the cluster represents.
You can use labels over markers, here is a tutorial about GIcon.label.
You can also use GMarker.openInfoWindow.
Tip: This is the best tutorial I found about google maps api (of course after Official documentation)