Comments (2)
the "@com-tiles/maplibre-provider" already support raster COMTiles, just run the demo with raster COMTiles
from com-tiles.
Could you please share a small demo or example? I have a small demo, it doesnot work without any error.
Here is the html:
<html>
<head>
<title>COMTiles MapLibre Example</title>
<meta charset="utf-8"/>
<script src="https://unpkg.com/[email protected]/dist/maplibre-gl.js"></script>
<link href="https://unpkg.com/[email protected]/dist/maplibre-gl.css" rel="stylesheet" />
<script type='text/javascript' src="../../../com-tiles-main/packages/maplibre-provider/dist/maplibreComtProvider.js"></script>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
console.log(comtiles);
const aa = new comtiles.MapLibreComtProvider
aa.register();
// comtiles.MapLibreComtProvider.register();
const map2 = new maplibregl.Map({
container: "map",
style: "https://gebase.oss-cn-beijing.aliyuncs.com/img/style.json",
center: [0, 0],
zoom: 0
});
</script>
</body>
</html>
Could you please give me any hint? Thanks!
from com-tiles.
Related Issues (13)
- Can the vector mbtiles or com-tiles data be downloaded HOT 1
- Is this package published on npm? HOT 1
- Index redesign
- Do we have demo code for maplibre-provider HOT 1
- Production Ready?
- PMTiles Comparison HOT 6
- provider: add option to batch tile requests
- Reduce the size of the index table
- Improve performance of the conversion process for a planet scale tileset HOT 2
- Add option for aborting tile requests also in batch mode
- Improve @com-tiles/server to run in a serverless environment like AWS Lambda
- Add raster tiles support to the @com-tiles/provider library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from com-tiles.