Skip to content

Figure out if layer filtering can be improved in general #119

Description

@mattdelsordo

At the time of writing, layers are filtered by loading in Mapnik XML as a string, compiling it to JSON, modifying the JSON, and then compiling it back to XML. This was done because Mapnik's layers aren't editable once added to a map object, and layers are only added when maps are generated from XML, so the layers need to change before the map is created (e.g. before there's even an actual JS data structure representing the map). There seems like there should be a more efficient way to do this.

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

    performanceSomething could be optimized

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions