Default width in LineString Vis is coerced to a sting
jamiecook opened this issue · 2 comments
jamiecook commented
I believe that this line in the linestring vis has the same problem as reported in #72
https://github.com/mapbox/mapboxgl-jupyter/blob/master/mapboxgl/templates/linestring.html#L61
ryanbaumann commented
Thanks for the bug! Yes, this is the same bug. Fix is to remove the double quotes in the linestring template around {{defaultWidth }}
.
jamiecook commented
Thanks @ryanbaumann ... i wasn't sure if there were other aspects of #74 that were also applicable otherwise I would have just raised a PR... I'll do that now