indoorequal / mapbox-gl-indoorequal Goto Github PK
View Code? Open in Web Editor NEWA maplibre-gl.js plugin to display data from indoor=
License: BSD 3-Clause "New" or "Revised" License
A maplibre-gl.js plugin to display data from indoor=
License: BSD 3-Clause "New" or "Revised" License
Hi there,
I've noticed that there are a few locations that are on tile boundaries which show clear lines on the indoor maps.
An example here: https://indoorequal.org/#map=17.67/-0.176206/-78.478942
and here:
https://indoorequal.org/#map=17.04/35.712996/139.776567&level=0
They are more or less obvious at different zoom levels, but are not particularly visually appealing.
Is this due to a limitation of the mapbox platform, or is there something I can do to remedy this?
Thanks
Hi.
require() is called, but not clearly defined.
Is it mandatory to use RequireJS or a specific web browser ?
A full index.html example would be welcome.
Enjoying your mapbox indoor plugin using an alternative data sources, it would be convenient to define an other possible SOURCE_ID, and also an other possible layerId to parse levels.
Example of use:
const indoorEqual = new IndoorEqual(map,
{
url: 'http://localhost/data/france_mbtiles.json',
sourceId: "france",
layerId: "osm-indoor",
layers: layers
}
);
F.Y.I., what I do locally in src/index.js:
const DEFAULT_SOURCE_ID = 'indoorequal';
const DEFAULT_LAYER_ID = 'osm-indoor'
and then in IndoorEqual constructor block:
this.sourceId = opts.sourceId ?? DEFAULT_SOURCE_ID;
this.layerId = opts.layerId ?? DEFAULT_LAYER_ID;
and so on...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.