From fa448837b8703bd44d5536cf74bc0f4e5b5b196f Mon Sep 17 00:00:00 2001 From: Jason Dekarske Date: Mon, 25 Apr 2022 22:55:58 -0700 Subject: [PATCH] prototype course search --- apps/golfview/custom.html | 92 ++++++++++++++++++++++++++++++--------- 1 file changed, 72 insertions(+), 20 deletions(-) diff --git a/apps/golfview/custom.html b/apps/golfview/custom.html index 94bc551c0..48bfce5bc 100644 --- a/apps/golfview/custom.html +++ b/apps/golfview/custom.html @@ -7,30 +7,56 @@ integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"> + +
- + -

+
+

No course loaded.

-

A course needs a few things to be parsed correctly by this tool.

- - Example Course - © OpenStreetMap contributors

+
+

A course needs a few things to be parsed correctly by this tool.

+
    +
  • See official mapping guidelines here.
  • +
  • All holes and features must be within the target course's area.
  • +
  • Supported features are greens, fairways, tees, bunkers, water hazards and holes.
  • +
  • All features for a given hole should have the "ref" tag with the hole number as value. Shared features + should + list ref values separated by ';'. example.
  • +
  • There must be 18 holes and they must have the following tags: handicap, par, ref, dist
  • +
  • For any mapping assistance or issues, please file in the official + repo
  • +
+ Example Course +
+
@@ -38,13 +64,21 @@