Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ccalobeto committed Sep 18, 2024
1 parent 6372199 commit 6cc335a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
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.

0 comments on commit 6cc335a

Please sign in to comment.