Comments (5)
This is actually a combination of an issue in OpenLayers v4.5.0, and an issue in mapbox-to-ol-style. Both were already fixed, so things should work fine if you use master from both ol
and mapbox-to-ol-style
.
New releases of all affected library will be published within the next few days.
from ol-mapbox-style.
Heh, just wrote that ol.js v4.5.0-35-gc48685565
didn't fix it, but you beat me to it.
Edit: Built locally using newest versions and it is, indeed, fixed. Other smaller issues (e.g. missing country borders) also seem to be fixed.
from ol-mapbox-style.
Reopening, as it's at least somewhat related to my previous issue.
With the current master builds, some fonts seem to be broken. It's requesting fonts that do not exist. This problem does not exist with current released builds.
Log from Chrome:
olms.js:7224 GET https://fonts.googleapis.com/css?family=Metropolis%7C net::ERR_ABORTED
Error (400): Missing font family url: https://fonts.googleapis.com/css?family=Metropolis%7C
Lines 7223-7224 from compiled olms.js (Web Font Loader v1.6.28):
}function u(a, b, c) {
a = a.c.getElementsByTagName(b)[0];a || (a = document.documentElement);a.insertBefore(c, a.lastChild);
from ol-mapbox-style.
Are you sure you have updated your dependencies? Recent releases do not use Web Font Loader any more.
from ol-mapbox-style.
Pulled most recent master and compiled again, issue seems to be fixed (mind you, I last pulled 6 days ago). Damnit, why do I keep finding bugs that have just recently been fixed.
from ol-mapbox-style.
Related Issues (20)
- Mapbox streets-v12 style trys to load invalid fonts HOT 1
- Make source available in transformRequest HOT 2
- Guessing of access token parameter may lead to bad requests HOT 1
- Requests to third-party server for fonts HOT 8
- issue with standalone example using recent versions of olms (METERS_PER_UNIT error) HOT 1
- applyBackground issue HOT 3
- line-pattern webgl HOT 3
- Provide a default URL template for fonts when 'ol:webfonts' not available HOT 1
- Issue rendering fill layers above symbol layers HOT 2
- 加载mapboxgl的样式时文本标签显示错乱 HOT 1
- Maybe a bug in stylefunction HOT 2
- Vector tile layer with MVT format clip circle style HOT 6
- Is there a possibility to use raster source with ol-mapbox-style HOT 4
- Hillshade uses incorrect resolution when determining slope angles HOT 3
- Cannot add mapbox layer if source was not referenced before HOT 6
- Resolve a Mapbox layer to an OL Style HOT 3
- Refreshing symbols HOT 7
- Change attribution HOT 1
- VectorTile layers with source `minZoom` 0 not visible when view is zoomed out HOT 1
- Rendering very slow when there are many text labels HOT 3
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 ol-mapbox-style.