Source: https://maps.vietmap.vn/docs/sdk-web-gl/camera/fit-camera-to-line/
# Fit camera to line
Fit camera to line is a component that automatically adjusts the camera to fit the bounds of a specific line on a map.
##Example
```html
Fit to the bounds of a LineString
```
To use your own colors and icons, create a map in [Map Editor](https://tools.vietmap.vn/map-editor/) and replace the style URL above with its style link.