Skip to content

Speed up map rendering #146

@slaweet

Description

@slaweet

Rendering maps is currently slow (on low-spec mobile it can take several minutes). Just load any page (e.g. [0]) and run profiler in browser developer tools.

There is an unnecessary step when Kartograph.js [1] converts the svg paths from string to array of points and back to strings. Maybe use of Kartograph.js can be avoided and use only RaphaelJS [2], which is currently called by Kartograph.js anyway. RaphaelJS only is used in anatom.cz.

[0] http://slepemapy.cz/practice/world/state
[1] http://kartograph.org/docs/kartograph.js/
[2] https://github.com/DmitryBaranovskiy/raphael

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