Created
September 2, 2018 13:48
-
-
Save anupcowkur/ef55d3491e3a845725cd4340d510998a to your computer and use it in GitHub Desktop.
Map Selector
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
Map Selector | |
Waiting for Map Ready | |
map ready -> Waiting for GPS | |
map ready with intent -> Loading Intent Location GPS Disabled | |
Waiting for GPS | |
gps on -> Loading Current Location | |
gps off -> Loading Default Location GPS Disabled | |
Loading Intent Location | |
location loaded -> Showing Location | |
location error -> Showing Error | |
gps off -> Loading Intent Location GPS Disabled | |
back button pressed -> Cancelled | |
Loading Intent Location GPS Disabled | |
location loaded -> Showing Location | |
location error -> Showing Error GPS Disabled | |
gps on -> Loading Intent Location | |
back button pressed -> Cancelled | |
Loading Current Location | |
location loaded -> Showing Location | |
location error -> Showing Error | |
gps off -> Loading Current Location GPS Disabled | |
back button pressed -> Cancelled | |
Loading Current Location GPS Disabled | |
location loaded -> Showing Location GPS Disabled | |
location error -> Showing Error GPS Disabled | |
gps on -> Loading Current Location | |
back button pressed -> Cancelled | |
Loading Default Location | |
location loaded -> Showing Location | |
location error -> Showing Error | |
gps off -> Loading Default Location GPS Disabled | |
back button pressed -> Cancelled | |
Loading Default Location GPS Disabled | |
location loaded -> Showing Location GPS Disabled | |
location error -> Showing Error GPS Disabled | |
gps on -> Loading Default Location | |
back button pressed -> Cancelled | |
Loading Other Location | |
location loaded -> Showing Location | |
location error -> Showing Error | |
gps off -> Loading Other Location GPS Disabled | |
back button pressed -> Cancelled | |
Loading Other Location GPS Disabled | |
location loaded -> Showing Location GPS Disabled | |
location error -> Showing Error GPS Disabled | |
gps on -> Loading Other Location | |
back button pressed -> Cancelled | |
Showing Location | |
my location clicked -> Loading Current Location | |
map dragged -> Loading Other Location | |
gps off -> Showing Location GPS Disabled | |
location confirmed -> Location Confirmed | |
back button pressed -> Cancelled | |
Showing Location GPS Disabled | |
map dragged -> Loading Other Location GPS Disabled | |
gps on -> Showing Location | |
location confirmed -> Location Confirmed | |
back button pressed -> Cancelled | |
Showing Error | |
my location clicked -> Loading Current Location | |
map dragged -> Loading Other Location | |
gps off -> Showing Error GPS Disabled | |
back button pressed -> Cancelled | |
Showing Error GPS Disabled | |
map dragged -> Loading Other Location GPS Disabled | |
gps on -> Showing Error | |
back button pressed -> Cancelled | |
Location Confirmed | |
Cancelled |
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
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment