Package hec.map.google
Class GoogleImageMap
java.lang.Object
hec.map.MapObject
hec.map.image.ImageMap
hec.map.google.GoogleImageMap
- All Implemented Interfaces:
MapObjectInterface
,Serializable
- See Also:
-
Field Summary
Fields inherited from class hec.map.image.ImageMap
_imageID, _URLstring
Fields inherited from class hec.map.MapObject
_debug, _extent, _fileOpener, _loaded, _mapId, mCoordinateReferencySystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetImage()
Returns the image for this ImageMap and increments the reference counter.protected void
load
(BufferedReader input, boolean loadImage) void
Load the image specified in _URLstring.void
unload()
Decrement the refernce counter.void
write
(BufferedWriter output) Methods inherited from class hec.map.image.ImageMap
getFilenames, getImageID, getRotation, getURLString, load, load, readImg, setImageFilePath, setRotation, write
Methods inherited from class hec.map.MapObject
equals, getCoordinateInfo, getCoordinateReferenceSystem, getExtent, getFileOpener, getMapIdentifier, getName, mapIdentifierEquals, newFile, newThenOpenFile, openFile, readProjection, setExtent, setFileOpener, setMapIdentifier, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hec.map.MapObjectInterface
getCoordinateReferenceSystem, getExtent, getMapIdentifier, getName, load, setExtent, setMapIdentifier
-
Constructor Details
-
GoogleImageMap
-
GoogleImageMap
-
GoogleImageMap
public GoogleImageMap()
-
-
Method Details
-
getImage
Description copied from class:ImageMap
Returns the image for this ImageMap and increments the reference counter. -
load
- Overrides:
load
in classImageMap
- Throws:
IOException
- See Also:
-
write
- Overrides:
write
in classImageMap
- Throws:
IOException
-
loadImage
public void loadImage()Description copied from class:ImageMap
Load the image specified in _URLstring. -
unload
public void unload()Description copied from class:ImageMap
Decrement the refernce counter. If the number of references goes below 1, unload the data for the Image.- Specified by:
unload
in interfaceMapObjectInterface
- Overrides:
unload
in classImageMap
- See Also:
-