Giter VIP home page Giter VIP logo

Comments (5)

ahocevar avatar ahocevar commented on June 24, 2024

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.

Nikituh avatar Nikituh commented on June 24, 2024

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.

Nikituh avatar Nikituh commented on June 24, 2024

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.

ahocevar avatar ahocevar commented on June 24, 2024

Are you sure you have updated your dependencies? Recent releases do not use Web Font Loader any more.

from ol-mapbox-style.

Nikituh avatar Nikituh commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.