The blank web page seems so boring and dull when the map is still loading. You will come across such a situation quite often where you will be having a slow internet connection! We cannot do anything about the slow internet connection, but we can surely avoid the dull blank web-page by using a simple trick. We can place a "loading" image at the center of the web page so that the page doesn't look blank! An image like this:
The following code will show you how this can be done and here it is!
As you all can see the code is very very simple and the output will look as seen in the result section above.
Do let me know what you think about the examples shared here! Do leave your comments here! Till the next example, happy mapping!