| java.lang.Object org.wfp.vam.intermap.services.map.MapUtil
MapUtil | public class MapUtil (Code) | | |
Method Summary | |
public static int | addService(MapMerger mm, WMCLayer layer) Add a WMCLayer ad a service. | public static int | addService(int serverType, String serverUrl, String serviceName, String vsp, MapMerger mm) | protected static BoundingBox | getAoi(ServiceContext context) | public static String | getDefaultImageSize() | public static int | getImageHeight(ServiceContext srvContext) | public static int | getImageWidth(ServiceContext srvContext) | public static MapMerger | getMapMerger(ServiceContext context) | public static String | getTempUrl() | static String | getTool(ServiceContext srvContext) | protected static BoundingBox | move(BoundingBox bb, int deltaX, int deltaY, int width, int height) | protected static void | moveTo(BoundingBox bb, int x, int y, int width, int height) | protected static void | setActiveLayer(Element request, MapMerger mm) | public static void | setAoi(ServiceContext context, float minx, float miny, float maxx, float maxy) | protected static void | setBBoxFromUrl(String bbox, MapMerger mm) | public static String | setContext(MapMerger mm, WMCViewContext vc) | public static void | setDefBoundingBox(MapMerger mm) | public static void | setDefaultContext(MapMerger mm) | public static void | setDefaultImageSize(String s) | public static void | setImageSizes(int minh, int minw, int maxh, int maxw) | public static BoundingBox | setScale(BoundingBox bb, int imageWidth, int imageHeight, long scale, float dpi) | public static void | setTempUrl(String url) | protected static void | setVisibleLayers(Element request, MapMerger mm) | protected static void | unsetAoi(ServiceContext context) | protected static BoundingBox | zoomInBox(BoundingBox bb, int mapimgx, int mapimgy, int mapimgx2, int mapimgy2, int imageWidth, int imageHeigth) | protected static BoundingBox | zoomOutBox(BoundingBox bb, int mapimgx, int mapimgy, int mapimgx2, int mapimgy2, int imageWidth, int imageHeight) |
getDefaultImageSize | public static String getDefaultImageSize()(Code) | | |
getImageHeight | public static int getImageHeight(ServiceContext srvContext)(Code) | | |
getImageWidth | public static int getImageWidth(ServiceContext srvContext)(Code) | | |
getMapMerger | public static MapMerger getMapMerger(ServiceContext context)(Code) | | |
getTool | static String getTool(ServiceContext srvContext)(Code) | | |
setAoi | public static void setAoi(ServiceContext context, float minx, float miny, float maxx, float maxy) throws Exception(Code) | | |
setDefaultImageSize | public static void setDefaultImageSize(String s)(Code) | | |
setImageSizes | public static void setImageSizes(int minh, int minw, int maxh, int maxw)(Code) | | |
setVisibleLayers | protected static void setVisibleLayers(Element request, MapMerger mm)(Code) | | |
unsetAoi | protected static void unsetAoi(ServiceContext context) throws Exception(Code) | | |
|
|