Vue Common - Utils - viz - map - projection
A namespace with methods that manipulate map projections.
add(name, projection)
Adds a new projection to the internal projections storage.
get(name)
Gets the default or custom projection from the projection storage.
By default, you can get the following projections by their names.
- "mercator" — Mercator projection.
- "equirectangular" — Equirectangular projection.
- "lambert" — Lambert cylindrical projection.
- "miller" — Miller cylindrical projection.
You can also implement your own projection/) and add it to the projections storage/#addname_projection). After that, you can get the added projection using the get(name) method.
To apply the projection, assign the returning object to the projection option of the widget.