| com.google.gdata.data.geo.PointData |
Known Indirect Subclasses
|
Data interface for all geo-tagged extension points. This allows various entries and feeds to easily include a Point extension without dealing with the underlying implementation of the Point.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Clears the point data and removes the extension point.
| |||||||||||
Gets the geo-location of the entity.
| |||||||||||
Sets the geo-location of the entity based on the lat and long coordinates
passed in.
| |||||||||||
Sets the geo-location of the entity based on the Point extension.
| |||||||||||
Clears the point data and removes the extension point.
Gets the geo-location of the entity.
Sets the geo-location of the entity based on the lat and long coordinates passed in. This will create a new Point object if none exists, otherwise it will copy the new coordinates into the existing object.
| lat | The latitude coordinate, between -90 and 90 degrees. |
|---|---|
| lon | The longitude coordinate, between -180 and 180 degrees. |
| IllegalArgumentException | if the latitude and longitude coordinates are invalid. |
|---|
Sets the geo-location of the entity based on the Point extension. This will use the passed in extension as the geo location if none already exists, otherwise it will copy the given point's data into the existing point object.
| point | A point containing the latitude and longitude coordinates. |
|---|