mapbox/mapboxgl-jupyter

Default width in LineString Vis is coerced to a sting

jamiecook opened this issue · 2 comments

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

specifically image

Thanks for the bug! Yes, this is the same bug. Fix is to remove the double quotes in the linestring template around {{defaultWidth }}.

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