---
title: "How to work with map styles in MapTiler Server | Guides | Self hosting | Map server"
description: "Using and customizing map styles within MapTiler Server environment."
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# How to work with map styles in MapTiler Server

Map Style is a style.JSON document that defines the visual appearance of a map. Style includes information about data sources, such as OpenMapTiles or MapTiler Planet, and the specific styling of the selected layers. All this information can be modified based on the needed purpose of the map.

![](./4409875635601_7409495a38.webp)

The data on the left is a raw OpenMapTiles dataset (Dallas). On the right is the same are with the Streets map style applied.

We prepared **ready-to-use map styles** that cover most of the use cases and fit perfectly with the MapTiler data. Alternatively, you can download a third-party map style and adjust it or create your own from scratch.

## MapTiler sample data package

To get the sample data package and learn more about it, go to [MapTiler Server sample package](https://docs.maptiler.com/guides/on-prem/server/getting-started/).

### Preview the sample data with map styles

Once you load your **map styles zip file** into the software, you will be able to preview the content of the sample data. In the **Tiles** tab, you can preview the raw osm dataset of the Zurich area. In **Maps,** you can preview that particular dataset, together with beautiful **map styles** on top of it.

The Map Styles package contains **Basic**, **Dataviz, Outdoor**, **Satellite Hybrid,** and **Streets** styles.

![Screenshot\_2022-11-29\_at\_15.29.24.png](./16109877777297_47aac92b8e.webp)

_(\*\*Zurich with bright map style)_

Bear in mind that you will be able to fully zoom ([zoom level](https://maptiler.com/google-maps-coordinates-tile-bounds-projection/#resolution-and-scales) 0 to 14 and 18+ over zoom) only to the Zurich area, as this is the default dataset we included in the sample package. The exception here is **Satellite-Hybrid** Map Style where the zoom levels for the whole planet are 0 to 6, with over zoom available.

## Preview other data with the map styles

If you haven’t added your data to MapTiler Server yet, you can do it, by navigating to the **Tiles** tab in MapTiler Server and selecting “NEW TILES”. Now drag and drop the MBtiles or Geopackage file into the software. Read more here: [How to add and host data in MapTiler Server](https://docs.maptiler.com/guides/self-hosting/map-server/how-to-add-and-host-data-in-maptiler-server)

If you need guidance on how to download other free data we offer, read this article:  
[How to try MapTiler Server using free MapTiler data](https://docs.maptiler.com/guides/on-prem/server/getting-started/)

Map Styles by default are attached to the Zurich dataset that is part of MapTiler sample data. If you want to connect your style.json to other datasets you can do it by using one of the following methods:

_Change the name of Zurich Dataset to any different name \[e.g zurich-osm\] or delete it.)_  
Rename the downloaded file to “maptiler-osm”. You can do it by hitting on the “DETAIL” button of the downloaded dataset in the **Tiles** tab and then pressing “CHANGE ID”.  
![Screenshot\_2022-11-30\_at\_12.29.32.png](./16109877779089_7820a446dd.webp) _The path to finding the map styles is at the top of the “MAPS” tab in MapTiler Server)._  
Edit your favorite map style (e.g. maps → streets → style.json) and at the very bottom of the file, replace the URL of the source with the filename of the data you downloaded  
_(e.g replace `"url": "#maptiler-osm"` with  `"url": "#osm-2020-07-03-v3.6.1_europe_germany.mbtiles"` if you want this map style to serve the OSM dataset of Germany)  
![Screenshot\_2023-03-16\_at\_11.21.30.png](./16109829993873_5be8f350bb.webp)_

You can now preview the dataset with your favorite map style.

You might not be able to see the full value of the Map Style design as it consists of various datasets and the ones included in the free Map Style Package include data for **Zurich Area only**. To be able to download datasets in other regions, you need to [purchase the map data](https://www.maptiler.com/data/pricing/).

![Screenshot\_2022-12-01\_at\_12.59.43.png](./16109877783697_7b4745f2fe.webp)

_(Berlin with streets map style)_

## Customizing your own Map Style

If the Map Styles that are part of the package are not enough for you, there is a way to customize your own map style and use it in MapTiler Server. To be able to do so you need to go through the process of [customizing and exporting the map style](https://docs.maptiler.com/guides/self-hosting/map-server/how-to-use-custom-map-styles-in-maptiler-server-export-from-cloud).
