Features

Add marker

                        
        <!DOCTYPE html>
        <html lang="en">
        <head>
            <title>Vector map</title>
            <meta property="og:description" content="Display vector tile." />
            <meta charset="utf-8">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <link rel="stylesheet" href="https://unpkg.com/maplibre-gl@4.4.0/dist/maplibre-gl.css" />
            <script src="https://unpkg.com/maplibre-gl@4.4.0/dist/maplibre-gl.js"></script>
            <style>
                body { margin: 0; padding: 0; }
                html, body, #map { height: 100%; }
            </style>
        </head>
        <body>
            <div id="map"></div>

            <script>
                map = new maplibregl.Map({
                    "container": "map",
                    "center": [6.22769, 46.39282],
                    "zoom": 10,
                    "style": "https://www.iso-maps.com/map/style/standard.json?api_key=YOUR_API_KEY"
                });

                const marker = new maplibregl.Marker()
                    .setLngLat([6.42769, 46.49282])
                    .addTo(map);

                map.addControl(new maplibregl.FullscreenControl());
                map.addControl(new maplibregl.NavigationControl({
                    visualizePitch: true,
                    showZoom: true,
                    showCompass: true
                }));

            </script>
        </body>
        </html>

                            

Ready to Transform Your
Mapping Experience
with IsoMaps?

Sign up for free
No credit card required

Questions? Our support team is ready for you