1.5.1
Fixed
- Inline maps are torn down when the plugin unloads. Each one holds a WebGL
context and browsers keep only about sixteen alive at once, so updating or
reloading the plugin with embeds on screen leaked one apiece until the note
was closed. - A track option left blank in a hand-edited base read as zero rather than as
absent, and clamped to the option's minimum instead of falling back to its
default.
Changed
- Redraws skip re-uploading the tracks when nothing about them has changed.
Bases replaces its result set on any vault edit while a map view is open,
not just edits to notes the base matches, so a base carrying several large
tracks was re-serializing every point on every save. Framing and paint still
run every time, so nothing about how a map behaves changes. - Which track files a note embeds is remembered against that note's metadata
instead of being resolved again on every redraw — several hundred link
resolutions per redraw on a large base — and is dropped whenever a file is
created, renamed or deleted. - A track's converted geometry is remembered per coordinate system rather than
one system at a time, so a GCJ-02 base view and a BD-09 embed of the same file
no longer re-convert each other's work on every redraw. - Parsed tracks are dropped from the cache when their file is deleted or
renamed, rather than held for the rest of the session. - The track option ranges and defaults are stated once rather than in four
places, where the copies had already drifted apart.
Added
- A Simplified Chinese README.
Full Changelog: 1.5.0...1.5.1