|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Boxable
Provides an interface that can be implemented to retrieve a bounding box for a specified set of location coordinates (latitude and longitude). This bounding box represents a rectangular area that the mappable item occupies on the map.
| Method Summary | ||
|---|---|---|
LatLonRectangle |
getBoundingBox()
Retrieves the latitude and longitude-based bounding box of this mappable item. |
|
| Method Detail |
|---|
LatLonRectangle getBoundingBox()
Note: It's recommended that for classes that implement
Boxable that the bounding box calculation be performed at request
time, and not at modification time. When there are multiple modifications to
perform, continuous recalculation of the bounding box is unnecessary.
It's also recommended that you cache the bounding box information once it's been calculated because requests for the bounding box may be frequent.
null if
there is no bounding box.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal