Skip to content

Commit 88ed730

Browse files
committed
Update documentation page hostname following domain changes
1 parent cf765b0 commit 88ed730

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
[![Coverage Status](https://coveralls.io/repos/github/tjdavey/geojson-map-fit-mercator/badge.svg?branch=main)](https://coveralls.io/github/tjdavey/geojson-map-fit-mercator?branch=main)
66
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Ftjdavey%2Fgeojson-map-fit-mercator.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Ftjdavey%2Fgeojson-map-fit-mercator?ref=badge_shield&issueType=license)
77

8-
[GeoJSON Map Fit Mercator](https://tristandavey.com/geojson-map-fit-mercator/) finds the optimal bearing, zoom and
8+
[GeoJSON Map Fit Mercator](https://tjdavey.github.io/geojson-map-fit-mercator/) finds the optimal bearing, zoom and
99
center point for fitting a set of [GeoJSON](https://geojson.org/) features in a
1010
[Mapbox GL](https://docs.mapbox.com/mapbox-gl-js/guides) or [MapLibre GL](https://maplibre.org/) viewport. The optimal
1111
viewport is calculated by determining the optimal bearing and zoom level to present a
1212
[minimum bounding rectangle (MBR)](https://en.wikipedia.org/wiki/Minimum_bounding_rectangle) all the given GeoJSON
1313
features. This can allow you to render more detailed, better fitting maps than the default [bounding box](https://docs.mapbox.com/help/glossary/bounding-box/)
1414
behaviour which only describes a x/y aligned minimum bounding rectangle.
1515

16-
Checkout the [demo](https://tristandavey.com/geojson-map-fit-mercator#preview) to see the library in action.
16+
Checkout the [demo](https://tjdavey.github.io/geojson-map-fit-mercator/#preview) to see the library in action.
1717

1818
## Installation
1919

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >- # this means to ignore newlines until "baseurl:"
44
Typescript library for finding the optimal bearing, zoom and center point for fitting a set of GeoJSON features in a
55
Mapbox GL or LibreMap Mercator map viewport.
66
baseurl: "/geojson-map-fit-mercator" # the subpath of your site, e.g. /blog
7-
url: "https://tristandavey.com" # the base hostname & protocol for your site, e.g. http://example.com
7+
url: "https://tjdavey.github.io" # the base hostname & protocol for your site, e.g. http://example.com
88
github_username: tjdavey
99

1010
# Build settings

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"bugs": {
8080
"url": "https://github.com/tjdavey/geojson-map-fit-mercator/issues"
8181
},
82-
"homepage": "https://tristandavey.com/geojson-map-fit-mercator",
82+
"homepage": "https://tjdavey.github.io/geojson-map-fit-mercator/",
8383
"dependencies": {
8484
"@mapbox/sphericalmercator": "^2.0.1",
8585
"@turf/bearing": "^7.2.0",

0 commit comments

Comments
 (0)