Nokia Maps API Reference

Contents

Interface nokia.maps.clustering.ITheme

Interface Summary

This interface defines how a cluster is to be shown on the map. A variety of representations are possible. For example, a cluster can be shown as a rectangle with an outline boundary, or it can be displayed as a marker, etc. All cluster display themes must conform this interface to allow instances of ClusteringProvider to communicate with them.

Method Summary
getClusterPresentation (dataPoints) : nokia.maps.map.Object This method retrieves an object that can be displayed on the map to represent a cluster.
getNoisePresentation (dataPoint) : nokia.maps.map.Object This method retrieves an object that can be displayed on the map to represent a single noise point.
Method Detail
getClusterPresentation (dataPoints) : nokia.maps.map.Object
This method retrieves an object that can be displayed on the map to represent a cluster.
Parameters:
{nokia.maps.clustering.IClusterPoint[] | nokia.maps.clustering.Cluster} dataPoints A collection of objects representing data points (each object contains latitude, longitude and optionally a value attribute to indicate the weight of the point); alternatively, the argument can be an instance of nokia.maps.clustering.Cluster
Returns:
{nokia.maps.map.Object} An object that can be displayed on the map to represent a cluster
getNoisePresentation (dataPoint) : nokia.maps.map.Object
This method retrieves an object that can be displayed on the map to represent a single noise point.
Parameters:
{nokia.maps.clustering.IClusterPoint} dataPoint An object representing a data point (contains latitude, longitude and optionally weight)
Returns:
{nokia.maps.map.Object} An object that can be displayed on the map to represent a noise point
Documentation generated on Thu Aug 30 2012 10:10:45 GMT+0200 (CEST).