Closed ryan-shaw closed 1 year ago
Introduced in #1009
This was not intentional and if you have the code needed to revert I would appreciate a PR and I will make a patch version.
so at the end it appends style with ...style, which overrides the id set above?
Yes, I'm no nodejs dev but what I can see is id
is contained in the style
object but does not match the id
above and the deconstructing of the object overwrites the id
with an incorrect value
thank you for the quick release!
Did it fix your issue?
Haven't tried yet, will let you know when I have
Hi, in https://github.com/maptiler/tileserver-gl/blob/master/src/server.js#L540
the code has changed from
to
which means the
id
value instyle
is overriding the parms setid
. I'm not sure if this is intentional or not but has broken our setup as theviewer
template is now returning the wrongid
and returning 404 for the style.json