jQuery/JS Common - Utils - viz - map - projection
import { projection } from "devextreme/viz/vector_map/projection"
add(name, projection)
Parameters:
get(name)
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. 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.
Feedback