PositionScheme constructor
const
PositionScheme({
- required CreatePosition<
Position> position, - required CreateBox<
Box> box,
A position scheme with position
and bounding box
factories.
Normally you should not need to create an instance of PositionScheme but rather use one of static constant instances available:
Position.scheme
to create positions and boxes for any position data (geographic, projected or any other)Projected.scheme
to create projected positions and boxesGeographic.scheme
to create geographic positions and boxes
Implementation
const PositionScheme({
required CreatePosition position,
required CreateBox box,
}) : _position = position,
_box = box;