maputnik icon indicating copy to clipboard operation
maputnik copied to clipboard

Map is not rendered if a valid style is opened

Open pathmapper opened this issue 5 years ago • 3 comments

Map is not rendered if a valid style is opened after the previous style has broken the map.

Steps to reproduce:

  1. Use https://maputnik.github.io/releases/v1.7.0-beta2/#14.15/51.55152/0.00584
  2. Unzip and open the following style: test_failing.zip
  3. Unzip and open the following style: test.zip

pathmapper avatar Apr 13 '20 07:04 pathmapper

Notes: It looks to partially work on master but only if you zoom the map in/out.

orangemug avatar Apr 13 '20 08:04 orangemug

It also works if you reload the browser tab (F5).

pathmapper avatar Apr 13 '20 08:04 pathmapper

Same issue when a style is modified to fix the font 404 (used test_housenumber.zip with https://2502-84182601-gh.circle-artifacts.com/0/artifacts/build/index.html from #654).

There is no re-rendering of the map, only if you zoom the map:

map_rendered_only_after_zoom

pathmapper avatar Apr 13 '20 09:04 pathmapper