Skip to content
  • REST API Mapy.cz
  • Pricing
  • FAQ
  • Further uses of Mapy.cz
  • News
  • Contact
  • My Account
Čeština Search
Help menu
  • REST API Mapy.cz
    • How to start
    • API key
    • Rest API function
      • Map tiles API
        • Map tile consumption
      • Geocoding API
      • Routing API
    • Map libraries
    • Atribution
    • REST API Tutorials
      • How to show map
      • Switching map layers
      • Markers and geometries
      • Routing
      • Geocoding
      • Suggest
      • Reverse geocoding
      • JS Panorama
      • Address validation
      • Aerial map with labels
      • Desaturated map
    • Testing labs
  • JS Panorama
  • JS SDK Mapy.cz
  • My account
    • Project and API keys
    • API key security
    • Financial settings
      • How to turn on paid consumption
    • Seznam Wallet
    • Consumption history
    • User management
  • Pricing
  • Frequently asked questions
  • Further uses of Mapy.cz
    • IFrame – embedding map into your own website
    • Calling the Mapy.cz mobile application
    • Printed products
  • Contact
  • Terms and conditions

  • My account

How to use routing API

Route planning between two points. In the example, we will use the function Routing, setting the starting point (coordinates of Prague) and the destination (coordinates of Brno). We will choose the planning type (by car – fast with consideration of traffic conditions) and won’t avoid toll roads.

We will draw the obtained route on the map and display the length and driving time in the console.

For visualization, we will use the Maplibre map library.

MapLibre


Copyright © 1996–2023, Seznam.cz, a.s.