package svg

import "b612.me/astro/internal/svgmap"

// MapProjection 控制全球月掩地图使用的投影。
// 零值根据事件几何自动选择投影。
// MapProjection controls the projection used by a global occultation map.
// The zero value selects a projection from the event geometry.
type MapProjection string

const (
	// MapProjectionAuto 根据事件几何自动选择投影。
	// MapProjectionAuto selects a projection from event geometry.
	MapProjectionAuto MapProjection = ""
	// MapProjectionEquirectangular 使用等经纬投影。
	// MapProjectionEquirectangular uses the equirectangular projection.
	MapProjectionEquirectangular MapProjection = "equirectangular"
	// MapProjectionNorthPolar 使用北极方位等距投影。
	// MapProjectionNorthPolar uses the north-polar azimuthal equidistant projection.
	MapProjectionNorthPolar MapProjection = "north-polar"
	// MapProjectionSouthPolar 使用南极方位等距投影。
	// MapProjectionSouthPolar uses the south-polar azimuthal equidistant projection.
	MapProjectionSouthPolar MapProjection = "south-polar"
)

func internalMapProjection(value MapProjection) svgmap.Projection {
	return svgmap.Projection(value)
}
