Click or drag to resize

OpenStreetMapImageGlobeOverlay Class

A CustomImageGlobeOverlay that uses data from an OpenStreetMap server.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public sealed class OpenStreetMapImageGlobeOverlay : CustomImageGlobeOverlay

The OpenStreetMapImageGlobeOverlay type exposes the following members.

Constructors
  NameDescription
Public methodOpenStreetMapImageGlobeOverlay
Initializes a new instance, using the default server and the entire Earth's extent.
Public methodOpenStreetMapImageGlobeOverlay(CartographicExtent)
Initializes an OpenStreetMapImageGlobeOverlay with the provided values.
Public methodOpenStreetMapImageGlobeOverlay(IWebProxy)
Initializes a new instance, using the default server and the entire Earth's extent using the specified proxy.
Public methodOpenStreetMapImageGlobeOverlay(String)
Initializes an OpenStreetMapImageGlobeOverlay with the provided values.
Public methodOpenStreetMapImageGlobeOverlay(CartographicExtent, IWebProxy)
Initializes an OpenStreetMapImageGlobeOverlay with the provided values.
Public methodOpenStreetMapImageGlobeOverlay(String, CartographicExtent)
Initializes an OpenStreetMapImageGlobeOverlay with the provided values.
Public methodOpenStreetMapImageGlobeOverlay(String, IWebProxy)
Initializes an OpenStreetMapImageGlobeOverlay with the provided values.
Public methodOpenStreetMapImageGlobeOverlay(String, CartographicExtent, IWebProxy)
Initializes an OpenStreetMapImageGlobeOverlay with the provided values.
Top
Properties
  NameDescription
Public propertyAltitudeBasedTranslucencyLowerAltitude
Gets or sets the lower altitude bound used to calculate translucency for the image when UseAltitudeBasedTranslucency is set to . When the altitude of the viewer is at or below this value, the image will have the translucency specified by AltitudeBasedTranslucencyLowerTranslucency, and will be linearly interpolated at altitude values between AltitudeBasedTranslucencyLowerAltitude and AltitudeBasedTranslucencyUpperAltitude.
(Inherited from GlobeImageOverlay.)
Public propertyAltitudeBasedTranslucencyLowerTranslucency
Gets or sets the lower translucency value for the image when UseAltitudeBasedTranslucency is set to . When the altitude of the viewer is at or below AltitudeBasedTranslucencyLowerAltitude, the image will have the translucency specified by this property, and will be linearly interpolated at altitude values between AltitudeBasedTranslucencyLowerAltitude and AltitudeBasedTranslucencyUpperAltitude.
(Inherited from GlobeImageOverlay.)
Public propertyAltitudeBasedTranslucencyUpperAltitude
Gets or sets the upper altitude bound used to calculate translucency for the image when UseAltitudeBasedTranslucency is set to . When the altitude of the viewer is at or above this value, the image will have the translucency specified by AltitudeBasedTranslucencyUpperTranslucency, and will be linearly interpolated at altitude values between AltitudeBasedTranslucencyUpperAltitude and AltitudeBasedTranslucencyLowerAltitude.
(Inherited from GlobeImageOverlay.)
Public propertyAltitudeBasedTranslucencyUpperTranslucency
Gets or sets the upper translucency value for the image when UseAltitudeBasedTranslucency is set to . When the altitude of the viewer is at or above AltitudeBasedTranslucencyUpperAltitude, the image will have the translucency specified by this property, and will be linearly interpolated at altitude values between AltitudeBasedTranslucencyUpperAltitude and AltitudeBasedTranslucencyLowerAltitude.
(Inherited from GlobeImageOverlay.)
Public propertyCentralBody
Gets the CentralBody that the GlobeOverlay is displayed on. It will return if the GlobeOverlay hasn't been added to a CentralBody.
(Inherited from GlobeOverlay.)
Public propertyDisplayCondition
Gets or sets the DisplayCondition that controls whether or not the GlobeOverlay is displayed.
(Inherited from GlobeOverlay.)
Public propertyExtent
Gets the CartographicExtent that represents the area covered by the GlobeOverlay.
(Inherited from CustomImageGlobeOverlay.)
Public propertyIsTranslucent
Gets whether the overlay contains translucent imagery.
(Inherited from CustomImageGlobeOverlay.)
Public propertyIsValid
Gets whether or not the overlay is valid. It can be invalid because of a missing file, corrupt file, unlicensed file, or a file on the incorrect CentralBody.
(Inherited from GlobeOverlay.)
Public propertyMaximumMetersPerPixel
Gets the maximum resolution of the inlay in meters per pixel.
(Inherited from CustomImageGlobeOverlay.)
Public propertyProjection
Gets the map projection. Valid values are MapProjection.Mercator and MapProjection.EquidistantCylindical.
(Inherited from CustomImageGlobeOverlay.)
Public propertyProxy
Gets the proxy used for web requests.
Public propertyRole
Gets the GlobeOverlayRole of the GlobeOverlay.
(Inherited from GlobeOverlay.)
Public propertyTag
Gets or sets custom data associated with this globe overlay.
(Inherited from GlobeOverlay.)
Public propertyTiler
Gets or sets a custom tiler, if the plugin requires it. The tiler is used to control which extents are requested during a call to Read(CartographicExtent, Object, Bitmap).
(Inherited from CustomImageGlobeOverlay.)
Public propertyTranslucency
Gets or sets the translucency value for the image. The translucency is between 0 and 1, where 0 is fully opaque and 1 is invisible.
(Inherited from GlobeImageOverlay.)
Public propertyUri
Gets the URI of the OpenStreetMap server.
(Overrides CustomImageGlobeOverlayUri.)
Public propertyUseAltitudeBasedTranslucency
Gets or sets whether to use altitude to determine the translucency value for the image or not. If , the Translucency value is used. If , the translucency will be determined by the values of AltitudeBasedTranslucencyLowerTranslucency, AltitudeBasedTranslucencyUpperTranslucency, AltitudeBasedTranslucencyLowerAltitude, and AltitudeBasedTranslucencyUpperAltitude.
(Inherited from GlobeImageOverlay.)
Top
Methods
  NameDescription
Public methodClearCache
Clears the image data cache associated with this instance. This is equivalent to deleting and re-adding the overlay.
(Inherited from CustomImageGlobeOverlay.)
Public methodDispose (Inherited from GlobeOverlay.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRead
Reads a tile from the specified extent, scales it to and stores the result in image.
(Overrides CustomImageGlobeOverlayRead(CartographicExtent, Object, Bitmap).)
Public methodReload
Reloads the image data associated with this instance. Preserves the current image data until new image data replaces it.
(Inherited from CustomImageGlobeOverlay.)
Public methodShutDown
Called automatically when imagery is being removed from the globe.
(Inherited from CustomImageGlobeOverlay.)
Public methodStartUp
Called automatically when imagery is being added to the globe.
(Inherited from CustomImageGlobeOverlay.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also