Skip to content

Commit

Permalink
fix wrong tile path
Browse files Browse the repository at this point in the history
  • Loading branch information
iBinh committed Jul 8, 2021
1 parent 1aa02ac commit 229e707
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

# Version 1.1.0 (Jul 8, 2021)
- Fix wrong goong-js base url

# Version 1.0.9 Goong

- Convert code to Goong
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/static-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Goong WebGL context creation option. Useful when you want to export the canvas a

##### `goongApiUrl` (String)

- default: `https://rsapi.goong.io`
- default: `https://tiles.goong.io`


##### `mapOptions` (Object)
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@goongmaps/goong-map-react",
"description": "A fork of react-map-gl. React components for Goong JS",
"version": "1.0.9",
"version": "1.1.0",
"keywords": [
"goong",
"goong-io",
Expand Down Expand Up @@ -38,19 +38,18 @@
"build": "ocular-clean && ocular-build && npm run flowgen",
"flowgen": "for i in $(find dist -type f -name \"*.d.ts\"); do sh -c \"flowgen $i -o ${i%.*.*}.js.flow\"; done;",
"lint": "ocular-lint",
"cover": "ocular-test cover",
"cover": "ocullar-test cover",
"publish-prod": "ocular-publish prod",
"publish-beta": "ocular-publish beta",
"test": "tsc && ocular-test",
"test-fast": "tsc && ocular-test node",
"metrics": "ocular-metrics",
"update-release-branch": "scripts/update-release-branch.sh"
"metrics": "ocular-metrics"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@types/geojson": "^7946.0.7",
"@types/mapbox-gl": "^2.0.3",
"@goongmaps/goong-js": "^1.0.6",
"@goongmaps/goong-js": "^1.0.8",
"mjolnir.js": "^2.5.0",
"prop-types": "^15.7.2",
"resize-observer-polyfill": "^1.5.1",
Expand Down
2 changes: 1 addition & 1 deletion src/goong/goong.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const propTypes = {
const defaultProps = {
container: document.body,
goongApiAccessToken: getAccessToken(),
goongApiUrl: 'https://rsapi.goong.io',
goongApiUrl: 'https://tiles.goong.io',
preserveDrawingBuffer: false,
attributionControl: true,
reuseMaps: false,
Expand Down

0 comments on commit 229e707

Please # to comment.