return type | Array ( GeoJSON bounding box ) |
---|---|
syntax | $.geo.recenter( Array bbox ( GeoJSON bounding box ), Array (GeoJSON position) ) |
usage | var moved = $.geo.recenter( bbox, [ -70, 42 ] ) |
The recenter method creates a new bbox with the same width and height as the original but moving the center to a new location.
This function is not defined in JTS.