Returns the points as an array of Byte.

Namespace: Reimers.Google.Map
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public static byte[] WritePointsToByteArray(
	IEnumerable<ICoordinates> points
)

Parameters

points
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'ICoordinates>)>)>
The List<(Of <(<'T>)>)> to write as a Byte array.

Return Value

A Byte array.

Remarks

Use this method to insert the List<(Of <(<'T>)>)> into a database as binary data. The Byte array can be stored in a varbinary column in a database.

A List<(Of <(<'T>)>)> written to a Byte array can be used with the BinaryLineEncloses function in the MapDb assembly.

See Also