How to host your own geodata

MapTiler Cloud can host your geodata. You can either create your tileset (MBTiles or GeoPackage) in MapTiler Engine or any other application. 

Upload your map to MapTiler Cloud

After you sign in to MapTiler Cloud, go to Tiles in the left menu and click on the New Tilesetbutton. This will lead you to a page where you can either drag and drop your map in MBTiles format or browse your computer for the file.

Alternatively, you can upload your tileset directly from MapTiler Engine.

Use with JavaScript

After you upload your map, you will be redirected to the page where you can change the properties of the map like identifier or title. You will also get a link to TileJSON, which can be included in any JavaScript viewer. There is also an option to delete your map. All the functionality is available any time later if you go in administration into Tiles and in My Tiles, select one of the maps you uploaded previously.

1_ostrava.png

Use your image as part of the map

The image (tiles) can be used as part of the map itself and rendered altogether with map tiles. This allows you to do things like rendering streets or labels over your image while keeping buildings and landcover under.

To enable this, you need to go to Maps, click on one of the standard maps, and select the “Customize copy” option, which is hidden under three dots just below the map. This will redirect you to the map editor, where you can visually or by writing a code change every possible map element.

Here is how to insert your dataset into your map:

Go to Sources in the left vertical menu (the little puzzle symbol).

2_ostrava.png Click the plus signto add a new data source.

3_ostrava.png Search for the name of your data source.

4_ostrava.png Click the Add blue button (down below) to add it to your map.

5_ostrava.png Once you do that, the dataset will appear on the top of your map.

6_ostrava.png

If you want to change the order of layers and display some of the map contents over the image you have just placed into your map, switch from the Blocks view to the Verticality view (left bottom) and drag the layer which represents your data source down in the menu, until you see the desired features on the top of your layer.

7_ostrava.png

Conclusion

After you Save and Publish your map, it can be used like any other map: embeddedused with JavaScriptprintedloaded in desktop GIS, or in mobile SDK.

8_Ostrava.png