-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
# Using styles in your project | ||
## Copy a new style | ||
Copy when it is neccesary | ||
```bash | ||
npm run copy-styles | ||
``` | ||
Copy the style to test from [repo](https://github.com/ccalobeto/publishing-pmtile/tree/main/static/data/styles) | ||
|
||
## Use the style | ||
|
||
Go to *static/data/styles* and edit the `url` key with your recent pmtile location in `Public R2.dev Bucket URL`. Finally in `src/routes/+page.svelte` of your other project edit the path of the recent custom style. | ||
Go to *static/data/styles* and edit the `url` key with your recent pmtile location in `Public R2.dev Bucket URL`. Then in `src/routes/+page.svelte` of your other project edit the path of the recent custom style. Finally edit the initial coordinates. |