Click or drag to resize

UntiledLayer Class

A layer which draws a bitmap overlay on the current map section.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.LayersBaseLayer
    Ptv.XServer.Controls.Map.Layers.UntiledUntiledLayer

Namespace:  Ptv.XServer.Controls.Map.Layers.Untiled
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class UntiledLayer : BaseLayer, 
	IToolTips

The UntiledLayer type exposes the following members.

Constructors
  NameDescription
Public methodUntiledLayer
Initializes a new instance of the UntiledLayer class.
Top
Properties
  NameDescription
Public propertyCanvasCategories
Gets or sets the canvas categories for the layer.
(Inherited from BaseLayer.)
Public propertyCanvasFactories
Gets or sets the array of factory delegates. There may be existing different factory methods for canvases of different categories.
(Inherited from BaseLayer.)
Public propertyCaption
Gets or sets the caption of the layer.
(Inherited from BaseLayer.)
Public propertyCopyright
Gets or sets the copyright text of the layer.
(Inherited from BaseLayer.)
Public propertyHasSettingsDialog
Gets a value indicating whether the layer has a settings dialog describing its properties.
(Inherited from BaseLayer.)
Public propertyIcon
Gets or sets the icon of the layer.
(Inherited from BaseLayer.)
Public propertyMaxRequestSize
Gets or sets the maximum size of the bitmaps in pixels.
Public propertyMinLevel
Gets or sets the maximum level up to which images are requested.
Public propertyName
Gets or sets the name of the layer.
(Inherited from BaseLayer.)
Public propertyOpacity
Gets or sets the opacity of the layer.
(Inherited from BaseLayer.)
Public propertyPriority
Gets or sets the zIndex of the layer.
(Inherited from BaseLayer.)
Public propertyUntiledProvider
Gets or sets the provider which delivers map images as bitmaps, not in diverse tiles.
Top
Methods
  NameDescription
Public methodAddToMapView
Adds the layer to a map.
(Overrides BaseLayerAddToMapView(MapView).)
Public methodGet
Determines the tool tip texts for a given position
Public methodInitializeFactory
Initializes the base layer factory. A default category for the created canvases is set as well as a default factory method which creates the new canvas instances.
(Inherited from BaseLayer.)
Public methodRefresh
Updates the layer instances.
(Inherited from BaseLayer.)
Public methodRemoveFromMapView
Removes the layer from a map.
(Inherited from BaseLayer.)
Protected methodToolTipHitTest
Hit tests the given layer features.
Protected methodUpdateMapObjects
Takes all parameters into members, commonly provided by the corresponding provider.
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from BaseLayer.)
Top
Fields
  NameDescription
Protected fieldimageSize
xMap image size
Protected fieldmapObjects
xServer object information
Protected fieldmapView
The reference to the containing MapView, required for ToolTip hit testing.
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
Remarks
- ToolTipHitTest(IEnumerableIMapObject, Point, Double) implements the basic hit test on LayerObject information objects. Elements within a range of 10 pixels (measured taking either the reference point or the full response geometry into account - depending on what actually is available) qualify for tool tip display. Depending on the xMap content requested you may want to change this behavior. ToolTipHitTest(IEnumerableIMapObject, Point, Double) can be overridden in derived classes.
See Also