Giter Site home page Giter Site logo

Comments (3)

jahow avatar jahow commented on June 3, 2024

Could reproduce on an iphone 7 with iOS 12, this error shows up:
image

This apparently comes the optional chaining operator ?. from this line:
https://github.com/colorjs/color-parse/blob/6d0f7c1009f451948aa92c055371805174a7e381/index.js#L146

Indeed this operator is only supported from iOS 13+, see: https://caniuse.com/mdn-javascript_operators_optional_chaining

from openlayers.

ahocevar avatar ahocevar commented on June 3, 2024

Nonetheless, if you're using OpenLayers in your own application, you can transpile your code if you need to target older browsers.

For the examples on openlayers.org, I think we'll stick with untranspiled code. The iOS/Safari version in question has a market share of 0.27 %, according to browsersl.ist.

from openlayers.

MADAO-Chen avatar MADAO-Chen commented on June 3, 2024

Can't find variable: ResizeObserver at Map.js
npm install resize-observer
import { install } from 'resize-observer';

if (!window.ResizeObserver) install();
fix

from openlayers.

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.