Map object

Create map object

Leaflet is an open-source JavaScript Library made for fast and lightweight maps. Aside of standard map displaying and data visualization on top of the map, Leaflet offers wide palette of plugins for customized experience.
Well documented library makes it extremely easy to implement Sygic Maps into any web based solution.

Leaflet is continuously updated and developed solution lead by enthusiast in the most recent technology with focus on actual requirements from the market. We do not want to set restrictions on your creativity in terms of working with map. Leaflet and its plugins let you do almost anything with our maps.

Thanks to the Sygic extension library for Leaflet, integration is very easy.

Leaflet CSS style: Include Leaflet CSS file in the head section of your document:

Leaflet library: Include Leaflet JavaScript file. Although Leaflet library is free to download or include from various CDNs, for production use we recommend using only the specific version mentioned by this documentation, and include it directly from Sygic servers:

Custom integration

You can also implement Sygic Raster Maps without Leaflet using other JavaScript mapping frameworks, or your custom code in desktop or mobile applications.
In that case your application will have to compose correct URLs for all the tiles needed, download them from Sygic servers and properly cache them to achieve good performance and user experience.

Retrieve the tile files (PNGs) using the composed URLs. Please note that you MUST respect HTTP redirect (302) status codes - all the responses from the API are redirecting to CDN. Also, always use the URL template provided - never link directly to CDN servers from your code - these URLs are short-lived and are subject to change without notice.