| |
|
| java.lang.Object org.wfp.vam.intermap.kernel.map.MapMerger
MapMerger | public class MapMerger (Code) | | |
addService | public int addService(MapService service)(Code) | | Adds a service on the top
the id given to the service |
collapseService | public void collapseService(int id) throws Exception(Code) | | Collapses a service in the layer frame (used for ArcIMS services only)
|
delService | public void delService(int id) throws Exception(Code) | | Removes the service with the given id
|
expandService | public void expandService(int id) throws Exception(Code) | | Expands a service in the layer frame (used for ArcIMS services only)
|
getActiveLayerId | public int getActiveLayerId()(Code) | | Returns the active Layer id
|
getActiveServiceId | public int getActiveServiceId()(Code) | | Returns the active service id
|
getDPI | public float getDPI()(Code) | | |
getErrors | public Element getErrors()(Code) | | Get error messages from the remote servers
|
getImageLocalPath | public File getImageLocalPath()(Code) | | |
getLayerTransparency | public int getLayerTransparency(int id)(Code) | | Returns the transparency of a given layer
|
getLayerTransparencyRanked | public int getLayerTransparencyRanked(int id)(Code) | | |
getService | public MapService getService(int id)(Code) | | Returns the MapService element with the given id
|
getStructTransparencies | public Element getStructTransparencies()(Code) | | Returns an Element containing the transparency value for each service
|
hideService | public void hideService(int id) throws Exception(Code) | | ??? Collapses a service in the layer frame (used for ArcIMS services only)
|
isVisibleRanked | public boolean isVisibleRanked(int rank)(Code) | | |
merge | public String merge(int width, int height) throws Exception(Code) | |
- Fetch images from remote servers
- Merge them together
- Create a temp file containing the merged image
the image file name, or an empty string when |
moveServiceDown | public void moveServiceDown(int id)(Code) | | Moves a service down
|
moveServiceUp | public void moveServiceUp(int id)(Code) | | Moves a service up
|
reaspectWms | public void reaspectWms(boolean reaspect)(Code) | | |
setActiveLayer | public void setActiveLayer(int service, int layer) throws Exception(Code) | | Sets the active layer inside a given servce
|
setBoundingBox | public void setBoundingBox(BoundingBox bb)(Code) | | Sets the Map BoundingBox
|
setDPI | public void setDPI(float dpi)(Code) | | |
setDefaultDPI | public static void setDefaultDPI(float dpi)(Code) | | |
setServicesOrder | public void setServicesOrder(int[] order)(Code) | | |
setTransparency | public void setTransparency(int id, float transparency) throws Exception(Code) | | Sets the transparency value for a given service
|
showService | public void showService(int id) throws Exception(Code) | | ??? Expands a service in the layer frame (used for ArcIMS services only)
|
size | public int size()(Code) | | Returns number of map services contained
|
toElement | public Element toElement()(Code) | | Converts this object to a JDOM Element
|
toElementSimple | public Element toElementSimple()(Code) | | |
toggleVisibility | public boolean toggleVisibility(int id) throws Exception(Code) | | |
|
|
|