decodeCollectionHex<T extends Geometry> static method
GeometryCollection<T>
decodeCollectionHex<T extends Geometry>(
- String bytesHex, {
- BinaryFormat<
GeometryContent> format = WKB.geometry, - CoordRefSys? crs,
- Map<
String, dynamic> ? options,
Decodes a geometry collection with elements of T
from bytesHex
(as a
hex string) conforming to format
.
See decodeCollection for more information.
Implementation
static GeometryCollection<T> decodeCollectionHex<T extends Geometry>(
String bytesHex, {
BinaryFormat<GeometryContent> format = WKB.geometry,
CoordRefSys? crs,
Map<String, dynamic>? options,
}) =>
decodeCollection(
Uint8ListUtils.fromHex(bytesHex),
format: format,
crs: crs,
options: options,
);