|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.visualizationlib.WeightedLocation
public class WeightedLocation
A data point entry for a heatmap. This is a geographical data point with a weight attribute.
See WeightedLocation API Doc
| Constructor Summary | |
|---|---|
protected |
WeightedLocation()
See newInstance(com.google.gwt.maps.client.base.LatLng, double) |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected WeightedLocation()
newInstance(com.google.gwt.maps.client.base.LatLng, double)
| Method Detail |
|---|
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||