PageSourceSearch

https://careers.stanwell.com/assets/common/google_maps-7911cd4a.js

js stanwell.com collected 2026-10-02 06:58:06 UTC 414 bytes, 13 lines download raw bytes

1export class CommonGoogleMaps {
2  static setZoom(map, bounds, defaultZoom) {
3    if (this.boundsIsSingleLocation(bounds) || bounds.isEmpty()) {
4      map.setZoom(defaultZoom); // single or no marker
5    } else {
6      map.fitBounds(bounds);
7    }
8  }
9
10  static boundsIsSingleLocation(bounds) {
11    return bounds.getNorthEast() && bounds.getSouthWest() && bounds.getNorthEast().equals(bounds.getSouthWest());
12  }
13}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.