Skip to main content

Display a satellite map

Display a satellite raster baselayer


<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" href="https://maps-sdk.trimblemaps.com/v4/trimblemaps-4.2.3.css">
        <script src="https://maps-sdk.trimblemaps.com/v4/trimblemaps-4.2.3.js"></script>
        <style>
            body {
                margin: 0;
            }
            #map {
                position: absolute;
                top: 0;
                bottom: 0;
                width: 100%;
            }
        </style>
    </head>
    <body>
        <div id="map"></div>
        <script>
            TrimbleMaps.setAPIKey('YOUR_API_KEY_HERE');
            const map = new TrimbleMaps.Map({
                container: 'map',
                zoom: 9,
                center: [137.9150899566626, 36.25956997955441],
                style: TrimbleMaps.Common.Style.SATELLITE,
                region: 'ww',
             });
        </script>
    </body>
</html>
Last updated June 26, 2025.