Is there a way to sort the markers depending on a additional value? Im
using this script to cluster my markers:
http://www.acme.com/javascript/#Clusterer
in the "addmarker"-function im adding some additional values:
Clusterer.prototype.AddMarker = function ( marker, title, url, anz ) {
if ( marker.setMap != null )
marker.setMap( this.map );
marker.title = title;
marker.url = url;
marker.anz = anz;
marker.onMap = false;
this.markers.push( marker );
this.DisplayLater();
};
marker.anz value ist between 0 and 1 (float values).
What i wanted to do now ist to sort my markers (in the cluster.markers
array) depending on the anz value . Is this possible?
PS: Please excuse my poor english skills ...
--
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.