Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RhumBearingTo ¶
func RhumBearingTo(point geo.Point, dest geo.Point) float64
func RhumbDestinationPoint ¶
Types ¶
type GeoJsonResult ¶
type GeoJsonResult struct {
Type string `json:"type"`
Coordinates [][][]geo.Point `json:"coordinates"`
}
type RouteBoxer ¶
type RouteBoxer struct {
// contains filtered or unexported fields
}
func NewRouteBoxer ¶
func NewRouteBoxer(distanceRange float64, vertices geo.PointSet) *RouteBoxer
func (*RouteBoxer) Boxes ¶
func (r *RouteBoxer) Boxes() RouteBoxerResult
func (*RouteBoxer) FindIntersectingCells ¶
func (r *RouteBoxer) FindIntersectingCells()
*
- Find all of the cells in the overlaid grid that the path intersects *
- @param {LatLng[]} vertices The vertices of the path
type RouteBoxerResult ¶
type RouteBoxerResult []geo.Bound
func (*RouteBoxerResult) ToGeoJson ¶
func (r *RouteBoxerResult) ToGeoJson() GeoJsonResult
Click to show internal directories.
Click to hide internal directories.