Before Getting Started
The tile server only serves pages whose origin your team has registered. Register every origin that shows the maps: scheme, host and the port when it is not the default, without a path. While developing you can register your local origin too, e.g.http://localhost:5173.
cURL
Response
409, and a value with a path or query answers 400.
List the team’s origins, and remove one by its teamCorsId:
cURL
Getting Started
This example shows how you get started with MapLibre GL JS in a webpage. Include the JavaScript and CSS files in the head of your HTML file.Draw additional details
Property borders and buildings are by default included in the style but if you wish to draw areas and greater details about building numbers, usage type etc you can download the property details from the property summary (GET https://lens-api.tic.io/properties/se/{uuid}/summary). It gives you additional
data and areas.
In the example below we are adding four(4) layers:
- Areas
- Building parts (already included in the default style)
- Building parts text (number)
- Areas text (number)

Custom Styles
You can copy the style that we provide and make your own adjustments. We recommend using Maputnik which is a visual editor for MapLibre and MapBox style specifiation. It allows you to make modifications to your style and save the json style sheet and host it yourself. Each source object in the style reference our tileserver, tiles2.tic.io, which requires CORS. Therefore ensure you have registered your origin. Each URL consists of the following format which contains four(4) parts in the URL that should be replaced https://tiles2.tic.io/database.schema.table.column e.g database, schema, table and column. You have access to the following databases. They are updated daily and the tile server serves cached tiles.
Check next section for a full data dictionary.