Skip to content

Commit 6769a63

Browse files
committed
map height
1 parent a5a47dc commit 6769a63

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ <h1>Demo for Open Location Codes <img src="static/pc-logo.svg" alt="Plus Codes L
7878
<p>
7979
Type a location name or coordinates and calculate the corresponding Plus+Code. Click <q>Animate</q> to show all the nested areas that make up the code on the map.
8080
<br>Click <q>Step</q> to shorten the code one step and show the result on the map.
81-
<br><br>The shortening mechanism: <pre>8FXCCP66+R2C2P<mark>X</mark> &rArr; 8FXCCP66+R2C2<mark>P</mark> &rArr; ... &rArr; 8FXCCP66+<mark>R2</mark> &rArr; 8FXCCP<mark>66</mark>+ &rArr; 8FXC<mark>CP</mark><span class="silver">00</span>+ &rArr; 8F<mark>XC</mark><span class="silver">0000</span>+ &rArr; 8F<span class="silver">000000</span>+</pre>
81+
<br><br>The shortening mechanism: <pre>8FXCCP66+R2C2P<mark>X</mark> &rArr; 8FXCCP66+R2C2<mark>P</mark> &rArr; ... &rArr; 8FXCCP66+<mark>R2</mark>
82+
&rArr; 8FXCCP<mark>66</mark>+ &rArr; 8FXC<mark>CP</mark><span class="silver">00</span>+ &rArr; 8F<mark>XC</mark><span class="silver">0000</span>+ &rArr; 8F<span class="silver">000000</span>+</pre>
8283
The first ten <abbr title="23456789CFGHJMPQRVWX">digits</abbr> encode longitude and latitude. To shorten them one needs to remove two digits. The eleventh and following digits simply divide the area in twenty rectangles and can therefore be shortened digit by digit. For more information take a look a the <a href="https://github.com/google/open-location-code/blob/master/docs/olc_definition.adoc#open-location-code-specification">specifications</a> 8. and 9.
8384
</p>
8485
</div>

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ footer {background:#e4e4ea; margin:0px; padding: 10px 0; clear:left}
55
figure {margin:0}
66
.fl {float:left}
77
#ctrl {padding-right:15px; margin-right:15px}
8-
#desc {padding-right:15px; margin-right:15px; max-width:40%}
8+
#desc {padding-right:15px; margin-right:15px; max-width:700px}
99
#attribution { font-size:smaller; padding: 5px; margin: 0 auto; max-width: 1500px}
1010
#mapid { height: 500px; width: 600px}
1111
#status { margin-top:0px}

0 commit comments

Comments
 (0)