Skip to content

More than 16 maps on a page // Callback if browser invalidates WebGL context #526

Description

@derwaldgeist

Feature Request:

We're building an app for experiences in multiple cities, which is why we wanted to have multiple maps on one web page. When we added more than 16, suddenly the first maps disappeared. We learned that there is a browser restriction (in Chrome and Firefox) that a maximum of 16 WebGL contexts can be used.

https://stackoverflow.com/questions/50684887/is-there-any-maps-per-page-limitation-in-mapbox-gl

https://stackoverflow.com/questions/33800600/error-webgl-exceeded-16-live-webgl-contexts-for-this-principal-losing-the-lea

It seems as if Mapbox GL throws and error in this case, but Urbica Maps won't. Is there maybe a way to catch this via an error callback?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions