Skip to content

Browser support, 5.7 and newer broken in older browsers #6792

@spatialillusions

Description

@spatialillusions

maplibre-gl-js 5.7 and newer:

Couldn't find how old browsers that are supposed to be supported, but couldn't find anything in the release notes for 5.7 that it was supposed to break combability with older browsers.

Chrome 76:

Steps to Trigger Behavior

  1. Try to load any maplibre example in an old browser such as Chrome 76
  2. Trying out different versions shows that 5.6 works, but 5.7 won't work.

Expected Behavior

Maplibre loads as expected.

Actual Behavior

Maplibre won't load and we get an error in the console:

Uncaught SyntaxError: Unexpected token . maplibre-gl.js:44

(The unexpected token is the period, probably because somewhere in the code ?. is used.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    need more infoFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions