Creating a simple fullscreen map
Applications can be mapped in different formats. Some of them show a map after a mouse click or an event, and some of them are shown directly in fullscreen mode.
This recipe will show you how to create a fullscreen map that will be used both in web or mobile applications.
As stated before, some recipes will show only the changed lines in the code in order to make way for more recipes. This recipe is the modified version of the previous recipe, Creating a simple map in a custom DIV element.
You can find the source code at
How to do it…
You can easily create a simple fullscreen map by following the given steps:
- Let's start by creating a new empty file named