How to show map using REST API

How to embed an interactive map in a web page. And how to correctly display the logo and copyright on this map.

In the tutorial you will find:

  • Initialize the map at a specific zoom and coordinates
  • Setting up the raster layer using the Mapy.cz REST API and the correct API key. A call to a function that returns a Map Tiles.
  • Adding the correct attribution – Mapy.cz logo and copyright text

The sample is prepared in several Map libraries. Choose a sample for the library you are using in your project.