Skip to content

openhistorymap/tdmc-maplibre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

3DModelCommons layer for Maplibre

usage:

  var map = new maplibregl.Map({
            container: 'map', // container id
            style: 'https://api.maptiler.com/maps/positron/style.json?key=<your_key_here>', 
            zoom: 16,
            hash: true,
            center: [2.294481, 48.85837]
        });


        map.on('style.load', () => {
            new TDMCLayer(map).prepareLayers().then(lyrs=>{
                for (let lyr of lyrs){
                    map.addLayer(lyr);
                }
            });
        });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published