You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this case is where data pertains to small geographic area say 5km x 5km. geojson2svg's default map extents are of whole world. So for such scenarios the data would be a very tiny point in the map.
So while initiating the geojson2svg, you need to give mapExtent as your data bounding box coordinates. You can use geojson-bbox to find the extent of your data.
Hi,
I have a small route around a town that I am trying to convert to an SVG. How would I expand this to fix the viewport. It is currently a tiny spec.
Thanks,
Rob
The text was updated successfully, but these errors were encountered: