This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Calculate the bearing between two positions as a value from 0-360 | |
* | |
* @param lat1 - The latitude of the first position | |
* @param lng1 - The longitude of the first position | |
* @param lat2 - The latitude of the second position | |
* @param lng2 - The longitude of the second position | |
* | |
* @return int - The bearing between 0 and 360 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <unordered_map> | |
#include <utility> | |
enum class test_e : int64_t | |
{ | |
one, | |
two, | |
three | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- this is the take survey button --> | |
<div id="take-my-survey" style="display:none;"><a onclick="PopSurvey();" class="smallbutton blue">Take my survey</a></div> | |
<!-- this is the thank-you note --> | |
<div id="thanks-boss" style="display:none;"><h3>Thanks for taking my survey!</h3></div> | |
<!-- the outer that makes up our full screen pop-up div --> | |
<div id="surveyOuter" style="background:#d4d4d4;z-index:999;overflow:hidden;position:fixed;display:none;top:0;left:0;right:0;bottom:0;"> | |
<!-- a holder for our two buttons in the upper right --> | |
<div style="display:block;position:fixed;right:16px;top:16px;overflow:none;"> | |
<div style="display:block;float:left;"><a onclick="HideSurvey(true);" class="smallbutton blue">Take Later</a></div> | |
<div style="display:block;float:left;margin-left:8px;"><a onclick="HideSurvey(false);" class="smallbutton blue">Close Survey</a></div> |