EU Endpoints¶
Our commitment to privacy begins in our earliest days as a company, and we take extreme care to run all of our services with a focus on ensuring the privacy of our customers and users. While we are confident that our privacy practices and procedures satisfy GDPR requirements by default, we recognize that some customers prefer to guarantee that user requests and personally identifiable information (PII) remain within the European Union.
To accommodate this preference, we publish EU-only endpoints. These endpoints ensure users exclusively connect to EU-based servers. Our systems scrub PII at the network's edge; consequently, any requests processed by our internal services in other regions are managed in a completely private manner.
Using the EU Endpoints¶
Warning
When using EU endpoints, you are necessarily bypassing some of our redundancy and failover mechanisms. While we make every effort to minimize disruptions, there is a slightly higher risk of downtime due to transient failures or routine rolling upgrades.
To use the EU endpoints, substitute the endpoints in our documentation as shown below.
Map Endpoints¶
For map tiles and services, replace:
https://tiles.stadiamaps.com
https://tiles-eu.stadiamaps.com
Example: Using EU Endpoints for MapLibre & Alidade Smooth
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Vector Map Demo</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<script type="text/javascript" src="//unpkg.com/maplibre-gl@2.4.0/dist/maplibre-gl.js"></script>
<link href="//unpkg.com/maplibre-gl@2.4.0/dist/maplibre-gl.css" rel="stylesheet" />
<style type="text/css">
body {
margin: 0;
padding: 0;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
var map = new maplibregl.Map({
container: 'map',
style: 'https://tiles-eu.stadiamaps.com/styles/alidade_smooth.json', // (1)!
center: [12, 53], // Initial focus coordinate
zoom: 4
});
// MapLibre GL JS does not handle RTL text by default, so we recommend adding this dependency to fully support RTL rendering.
maplibregl.setRTLTextPlugin('https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.1/mapbox-gl-rtl-text.js');
// Add zoom and rotation controls to the map.
map.addControl(new maplibregl.NavigationControl());
</script>
</body>
</html>
- This line is the key change; note the
tiles-eu
host.
Bug
Known bug: currently, the Alidade Satellite theme does not fully respect the EU server selection, and will continue
loading the satellite tiles via the normal tiles.stadiamaps.com
domain. This will be fixed in an upcoming release.
API Endpoints¶
For routing, geocoding, time zone, and other services, replace:
https://api.stadiamaps.com
https://api-eu.stadiamaps.com