Skip to content

Commit df58556

Browse files
committed
doc
1 parent 526f305 commit df58556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/codex/md/step16.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The script builds a page using the full space available, then divides it into a
99

1010
In the variable list you'll see ~code:gmap Map~. This is part of the new functionality available with the plugin loaded, as are the commands later that make reference to the ~code:Map~.
1111

12-
The map itself requires a div to place it in, then you can create the map using a very small set of commands. The first thing to add to the map is an 'API key' provided by Google to authorize the use of a map on this website. You can get your own API key by registering as a Google developer and requesting your key on the appropriate page. (Unfortunately it's beyond the scope of these notes to describe how to do it.) This particular key is one that restricts usage to pages on a limited range of websites, of which this is one.
12+
The map itself requires a div to place it in, then you can create the map using a very small set of commands. The first thing to add to the map is an 'API key' provided by Google to authorize the use of a map on this website. You can get your own API key by registering as a Google developer and requesting your key on the appropriate page. (Unfortunately it's beyond the scope of these notes to describe how to do it.) This particular key is one that restricts usage to pages on a limited range of websites, of which this is one. (The ~code:reverse~ part is to prevent GitHub detecting that an API key has been given, causing it to issue security warnings.)
1313

1414
There are only 3 items of information needed to set up a map; ~code:latitude~, ~code:longitude~ and ~code:zoom~. Experiment with each of these to discover how they work; try to get a map displaying your own home.
1515

0 commit comments

Comments
 (0)