arkorobotics / azgen-web

AZGen Website Front End
2 stars 0 forks source link

Add URL input parameter support #4

Closed arkorobotics closed 3 years ago

arkorobotics commented 3 years ago

Add URL input parameter support to allow for external website to link to activation.zone with specific summits refs or LLA.

URL parameters should include: Association Code, Summit Code or Latitude, Longitude, and Altitude

Optionally we can have an auto submit flag to kick off the computation when the page loads.

arkorobotics commented 3 years ago

Commit 5bedea0 allows for URL parameters. Auto-submitting may cause too much server load if abused. May add a protected version of this in the future.

arkorobotics commented 3 years ago

Forgot to mention this before closing the ticket. Users and external sites can link to a specific summit or LLA using the following URL parameters:

SOTA Summit Ref - assocCode and summitCode: http://activation.zone/?assocCode=W6&summitCode=CT-001

LLA - lat,long and alt: http://activation.zone/?lat=34.1006&long=-116.8286&alt=3505

arkorobotics commented 3 years ago

Added summitRef URL Parameter for easy integration with other web apps and link sharing:

i.e.: http://activation.zone?summitRef=W6/CT-225