MapMathPoint

package
v5.1.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDistance

func GetDistance(args *ArgsGetDistance) (distanceM int64, err error)

GetDistance 计算两个坐标之间的距离 @result distanceM 距离米

func GetDistanceM

func GetDistanceM(args *ArgsGetDistance) (distance float64, err error)

GetDistanceM 计算两个坐标之间的米数

Types

type ArgsGetDistance

type ArgsGetDistance struct {
	//出发点
	StartPoint MapMathArgs.ParamsPoint `json:"startPoint"`
	//目的地
	EndPoint MapMathArgs.ParamsPoint `json:"endPoint"`
}

ArgsGetDistance 计算两个坐标之间的距离参数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL