public final class BingMapsForEnterpriseImageGlobeOverlay extends CustomImageGlobeOverlay
CustomImageGlobeOverlay
that uses data from a Bing Maps For Enterprise server.Constructor and Description |
---|
BingMapsForEnterpriseImageGlobeOverlay()
Initializes a new instance, using the default server, the hybrid map style, and the entire Earth's extent.
|
BingMapsForEnterpriseImageGlobeOverlay(BingMapsStyle mapStyle)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(BingMapsStyle mapStyle,
CartographicExtent extent)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(BingMapsStyle mapStyle,
CartographicExtent extent,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(BingMapsStyle mapStyle,
CartographicExtent extent,
String applicationKey)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(BingMapsStyle mapStyle,
CartographicExtent extent,
String applicationKey,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(BingMapsStyle mapStyle,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(BingMapsStyle mapStyle,
String applicationKey)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(BingMapsStyle mapStyle,
String applicationKey,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(CartographicExtent extent)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(CartographicExtent extent,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(CartographicExtent extent,
String applicationKey)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(CartographicExtent extent,
String applicationKey,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(Proxy proxy)
Initializes a new instance, using the default server, the hybrid map style, and the entire Earth's extent.
|
BingMapsForEnterpriseImageGlobeOverlay(String server)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(String server,
BingMapsStyle mapStyle)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(String server,
BingMapsStyle mapStyle,
CartographicExtent extent)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(String server,
BingMapsStyle mapStyle,
CartographicExtent extent,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(String server,
BingMapsStyle mapStyle,
CartographicExtent extent,
String applicationKey)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(String server,
BingMapsStyle mapStyle,
CartographicExtent extent,
String applicationKey,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(String server,
BingMapsStyle mapStyle,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(String server,
CartographicExtent extent)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(String server,
CartographicExtent extent,
Proxy proxy)
Initializes a new instance with the provided values.
|
BingMapsForEnterpriseImageGlobeOverlay(String server,
Proxy proxy)
Initializes a new instance with the provided values.
|
Modifier and Type | Method and Description |
---|---|
BingMapsStyle |
getMapStyle()
Gets the map style.
|
Proxy |
getProxy()
Gets the proxy used for web requests.
|
URI |
getUri()
Gets the URI of the Bing Maps server.
|
boolean |
read(CartographicExtent extent,
Object userTileData,
BufferedImage image)
Reads a tile from the specified
extent , scales it to and stores the result in image . |
clearCache, dispose, getExtent, getIsTranslucent, getMaximumMetersPerPixel, getProjection, getTiler, reload, setExtent, setIsTranslucent, setMaximumMetersPerPixel, setProjection, setTiler, shutDown, shuttingDown, startingUp, startUp
getAltitudeBasedTranslucencyLowerAltitude, getAltitudeBasedTranslucencyLowerTranslucency, getAltitudeBasedTranslucencyUpperAltitude, getAltitudeBasedTranslucencyUpperTranslucency, getMoreThanOneImageGlobeOverlaySupported, getTranslucency, getUseAltitudeBasedTranslucency, setAltitudeBasedTranslucencyLowerAltitude, setAltitudeBasedTranslucencyLowerTranslucency, setAltitudeBasedTranslucencyUpperAltitude, setAltitudeBasedTranslucencyUpperTranslucency, setTranslucency, setUseAltitudeBasedTranslucency
dispose, getCentralBody, getDisplayCondition, getIsValid, getRole, getTag, setDisplayCondition, setTag
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, dispose
public BingMapsForEnterpriseImageGlobeOverlay()
public BingMapsForEnterpriseImageGlobeOverlay(String server)
server
- The server to use.RuntimeIOException
- The server
is invalid.public BingMapsForEnterpriseImageGlobeOverlay(@Nonnull BingMapsStyle mapStyle)
mapStyle
- The map style to use.public BingMapsForEnterpriseImageGlobeOverlay(CartographicExtent extent)
extent
- The CartographicExtent
of the overlay.public BingMapsForEnterpriseImageGlobeOverlay(Proxy proxy)
proxy
- The proxy to use for connecting to the server.public BingMapsForEnterpriseImageGlobeOverlay(String server, @Nonnull BingMapsStyle mapStyle)
server
- The server to use.mapStyle
- The map style to use.RuntimeIOException
- The server
is invalid.public BingMapsForEnterpriseImageGlobeOverlay(String server, CartographicExtent extent)
server
- The server to use.extent
- The CartographicExtent
of the overlay.RuntimeIOException
- The server
is invalid.public BingMapsForEnterpriseImageGlobeOverlay(String server, Proxy proxy)
server
- The server to use.proxy
- The proxy to use for connecting to the server.RuntimeIOException
- The server
is invalid.public BingMapsForEnterpriseImageGlobeOverlay(@Nonnull BingMapsStyle mapStyle, CartographicExtent extent)
mapStyle
- The map style to use.extent
- The CartographicExtent
of the overlay.public BingMapsForEnterpriseImageGlobeOverlay(@Nonnull BingMapsStyle mapStyle, String applicationKey)
mapStyle
- The map style to use.applicationKey
- The application key for the Bing Maps for Enterprise Production server.public BingMapsForEnterpriseImageGlobeOverlay(@Nonnull BingMapsStyle mapStyle, Proxy proxy)
mapStyle
- The map style to use.proxy
- The proxy to use for connecting to the server.public BingMapsForEnterpriseImageGlobeOverlay(CartographicExtent extent, String applicationKey)
extent
- The CartographicExtent
of the overlay.applicationKey
- The application key for the Bing Maps for Enterprise Production server.public BingMapsForEnterpriseImageGlobeOverlay(CartographicExtent extent, Proxy proxy)
extent
- The CartographicExtent
of the overlay.proxy
- The proxy to use for connecting to the server.public BingMapsForEnterpriseImageGlobeOverlay(String server, @Nonnull BingMapsStyle mapStyle, CartographicExtent extent)
server
- The server to use.mapStyle
- The map style to use.extent
- The CartographicExtent
of the overlay.RuntimeIOException
- The server
is invalid.public BingMapsForEnterpriseImageGlobeOverlay(String server, @Nonnull BingMapsStyle mapStyle, Proxy proxy)
server
- The server to use.mapStyle
- The map style to use.proxy
- The proxy to use for connecting to the server.RuntimeIOException
- The server
is invalid.public BingMapsForEnterpriseImageGlobeOverlay(String server, CartographicExtent extent, Proxy proxy)
server
- The server to use.extent
- The CartographicExtent
of the overlay.proxy
- The proxy to use for connecting to the server.RuntimeIOException
- The server
is invalid.public BingMapsForEnterpriseImageGlobeOverlay(@Nonnull BingMapsStyle mapStyle, CartographicExtent extent, String applicationKey)
mapStyle
- The map style to use.extent
- The CartographicExtent
of the overlay.applicationKey
- The application key for the Bing Maps for Enterprise Production server.public BingMapsForEnterpriseImageGlobeOverlay(@Nonnull BingMapsStyle mapStyle, CartographicExtent extent, Proxy proxy)
mapStyle
- The map style to use.extent
- The CartographicExtent
of the overlay.proxy
- The proxy to use for connecting to the server.public BingMapsForEnterpriseImageGlobeOverlay(@Nonnull BingMapsStyle mapStyle, String applicationKey, Proxy proxy)
mapStyle
- The map style to use.applicationKey
- The application key for the Bing Maps for Enterprise Production server.proxy
- The proxy to use for connecting to the server.public BingMapsForEnterpriseImageGlobeOverlay(CartographicExtent extent, String applicationKey, Proxy proxy)
extent
- The CartographicExtent
of the overlay.applicationKey
- The application key for the Bing Maps for Enterprise Production server.proxy
- The proxy to use for connecting to the server.public BingMapsForEnterpriseImageGlobeOverlay(String server, @Nonnull BingMapsStyle mapStyle, CartographicExtent extent, String applicationKey)
server
- The server to use.mapStyle
- The map style to use.extent
- The CartographicExtent
of the overlay.applicationKey
- The application key for the Bing Maps for Enterprise Production server.RuntimeIOException
- The server
is invalid.public BingMapsForEnterpriseImageGlobeOverlay(String server, @Nonnull BingMapsStyle mapStyle, CartographicExtent extent, Proxy proxy)
server
- The server to use.mapStyle
- The map style to use.extent
- The CartographicExtent
of the overlay.proxy
- The proxy to use for connecting to the server.RuntimeIOException
- The server
is invalid.public BingMapsForEnterpriseImageGlobeOverlay(@Nonnull BingMapsStyle mapStyle, CartographicExtent extent, String applicationKey, Proxy proxy)
mapStyle
- The map style to use.extent
- The CartographicExtent
of the overlay.applicationKey
- The application key for the Bing Maps for Enterprise Production server.proxy
- The proxy to use for connecting to the server.public BingMapsForEnterpriseImageGlobeOverlay(String server, @Nonnull BingMapsStyle mapStyle, CartographicExtent extent, String applicationKey, Proxy proxy)
server
- The server to use.mapStyle
- The map style to use.extent
- The CartographicExtent
of the overlay.applicationKey
- The application key for the Bing Maps for Enterprise Production server.proxy
- The proxy to use for connecting to the server.RuntimeIOException
- The server
is invalid.public boolean read(CartographicExtent extent, Object userTileData, BufferedImage image)
extent
, scales it to and stores the result in image
.read
in class CustomImageGlobeOverlay
extent
- The extent of the tile.userTileData
- User specified tile data for the tile. This will only be provided if Tiler
(get
/ set
) is not null
.image
- A preallocated bitmap that the tile should be drawn to. Read should always overwrite the entire contents of the image.true
if the read was successful, false
otherwise.@Nonnull public final BingMapsStyle getMapStyle()
public final Proxy getProxy()
public URI getUri()
getUri
in class CustomImageGlobeOverlay