|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.spatial.mapper.Map
This class represents a mapping result. This mapping result contains more detail than just a map image URL. Further, it describes the actual corner coordinates of the map. These corner coordinates might differ from the originally requested bounding box. One reason for this is that the requested bounding box and the requested image size (in pixels) might not have the same aspect ratio. In such a the actual map will show more than just the bounding box. Another reason is that the mapping provider might not be able to show exactly the requested bounding box, which might be due to the projection, for example. It might, though, be able to provide the exact corner coordinates actually shown on the resulting map. One little issue with the corner coordinates is that the map might well use a projected, rather than geographic coordinate system. Then, the (lat/lon) corner coordinates might not form a rectangle, although the (pixel) map image will.
Constructor Summary | |
Map(java.lang.String url, Point upperLeftCorner, Point upperRightCorner, Point lowerLeftCorner, Point lowerRightCorner, Provider provider) |
Method Summary | |
Point |
getLowerLeftCorner() This returns the lower left corner of the map. |
Point |
getLowerRightCorner() This returns the lower right corner of the map. |
java.lang.String |
getMapUrl() This returns the map image URL. |
Provider |
getProvider() This returns the provider of the map. |
Point |
getUpperLeftCorner() This returns the upper left corner of the map. |
Point |
getUpperRightCorner() This returns the upper right corner of the map. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Map(java.lang.String url, Point upperLeftCorner, Point upperRightCorner, Point lowerLeftCorner, Point lowerRightCorner, Provider provider)
Method Detail |
public java.lang.String getMapUrl()
public Point getUpperLeftCorner()
public Point getUpperRightCorner()
public Point getLowerLeftCorner()
public Point getLowerRightCorner()
public Provider getProvider()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |