Skip to content

New init method that wraps new Map() #14

Description

@stevage

This might give a convenient way to alter the style before the map is loaded.

I'm thinking something like:

const map = U.create(mapboxgl, {
  container: 'map',
  style: 'mapbox://styles/blah.foo',
}, {
  transformStyle: style => {
...
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions