T&S

  • Need a Dev?

Tag: JavaScript

Function to get Polyline Map Bounds Easily for fitBounds

Last Updated: 7 June 2020

A simple JavaScript function that takes a collection of londitude and latidute points in an array, and returns the bounds for use with maps.

By Robert Marshall & Gatsby