Click or drag to resize

UntiledProviderGetImageStreamAndMapObjects Method

Returns a bitmap for a map section specified in PTV-internal Mercator format.

Namespace:  Ptv.XServer.Controls.Map.Layers.Xmap2
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public Stream GetImageStreamAndMapObjects(
	double left,
	double top,
	double right,
	double bottom,
	int width,
	int height,
	out IEnumerable<IMapObject> mapObjects
)

Parameters

left
Type: SystemDouble
Left coordinate of the requested map section.
top
Type: SystemDouble
Top coordinate of the requested map section.
right
Type: SystemDouble
Right coordinate of the requested map section.
bottom
Type: SystemDouble
Bottom coordinate of the requested map section.
width
Type: SystemInt32
Width in pixel of the bitmap.
height
Type: SystemInt32
Height in pixel of the bitmap.
mapObjects
Type: System.Collections.GenericIEnumerableIMapObject
Set of map objects.

Return Value

Type: Stream
Stream containing the bitmap.

Implements

IUntiledProviderWithMapObjectsGetImageStreamAndMapObjects(Double, Double, Double, Double, Int32, Int32, IEnumerableIMapObject)
See Also