Generate Base Code

First, create the basic code that displays a simple basemap and visualizes GeoJSON from a file. To do this, run the generator. Because we are to start simple, you should have answered "GeoJSON from a file" to the generator's question "What kind of data will you visualize on top of the Basemap?".

After finishing scaffolding the base code, you can access your app at http://localhost:8080. The webpack-dev-server listens for any changes that you make to the source code in the file system and automatically refreshes the web page in the browser according to your changes in the code.

Run this web app and check it in your browser. You should see an empty map with the Authentication form. After successful authentication (see the Credentials chapter), you will see a basemap that points to the center of Berlin:

Figure 1. Basemap

results matching ""

    No results matching ""