framework
Class MapObject
java.lang.Object
framework.MapObject
public class MapObject
- extends java.lang.Object
MapObject.java
Contains all information in a map, including its points of interest.
This is originally MapObject.java in
no.tellu.commonplatform.serviceframe.common.map, slightly changed,
to be able to use a map image. Redundant code from
no.tellu.commonplatform.serviceframe.common.map.MapObject has been
removed from this file.
Constructor Summary |
MapObject(javax.microedition.lcdui.Image mapImage,
java.util.Vector POIs,
no.tellu.commonplatform.serviceframe.common.map.MapBoundingBox mapBoundingBox)
Constructor MapObject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapObject
public MapObject(javax.microedition.lcdui.Image mapImage,
java.util.Vector POIs,
no.tellu.commonplatform.serviceframe.common.map.MapBoundingBox mapBoundingBox)
- Constructor MapObject
- Parameters:
mapImage
- An image containing a mapPOIs
- A vector with POIObject objects (points of interest)mapBoundingBox
- An object containing map coordinates
getMapImage
public javax.microedition.lcdui.Image getMapImage()
- Returns:
- the image of the map
getPOIs
public java.util.Vector getPOIs()
- Returns:
- the vector with points of interest
getMapBoundingBox
public no.tellu.commonplatform.serviceframe.common.map.MapBoundingBox getMapBoundingBox()
- Returns:
- the object with map coordinates