Publishing your web maps on GitHub Pages

We all have bills to pay and web maps to publish. Some are hosted on platforms such as Felt or ArcGIS online and some are standalone web maps, such as the one created here. In the case of standalone maps, you need a place to store and publish them. This article will show how to use GitHub Pages to publish them.

  1. Create a GitHub account, or log in if you already have one.
  2. Follow these steps to create your site. Make sure you name the repository correctly.
  3. Upload your standalone web map. For this demo, I used the Openrouteservice example.
  4. Visit you new site. In this case, the URL is https://gishubio.github.io/Openrouteservice_routes.html.
  5. Later on, you might want to create a landing page, such as index.html, for but for now, I will let the file be called Openrouteservice_routes.html.

To embed the web map as a part of another site, you can use the the HTML embed tag. For example:

The result is a small web map integrated in your site.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please reload

Please Wait