Tutorial - Simple Map

We need a little bit of html to import the geojs library and to create a div to show our map:

Step 1
Active
Inactive

Some CSS will make our map fill the page:

Step 2
Active
Inactive

And some javascript to ask for a map and place the default map tiles on it:

Step 3
Active
Inactive

Move the map to Kensington Gardens, London and zoom in.

Step 4
Active
Inactive

We could have started the map at this location by adding the center and zoom parameters to the initial map() call:

Step 3-B
Active
Inactive