public class WeightedLocation extends JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
WeightedLocation()
|
| Modifier and Type | Method and Description |
|---|---|
LatLng |
getLocation()
Get location of the data point.
|
double |
getWeight()
Get the weighting value of the data point.
|
static WeightedLocation |
newInstance(LatLng location,
double weight)
A data point entry for a heatmap.
|
void |
setLocation(LatLng location)
The location of data point.
|
void |
setWeight(double weight)
Set the weighting value of the data point.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic static WeightedLocation newInstance(LatLng location, double weight)
location - weight - weighting valuepublic final double getWeight()
public final void setWeight(double weight)
weight - public final void setLocation(LatLng location)
location - public final LatLng getLocation()
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.