@openhistoricalmap/map-styles 0.9.10 → 0.9.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/historical/historical.json +1055 -388
- package/dist/japanese_scroll/japanese_scroll.json +12 -30
- package/dist/ohm.styles.js +1118 -607
- package/dist/railway/railway.json +80 -200
- package/dist/woodblock/woodblock.json +12 -30
- package/historical/historical.json +463 -232
- package/index.css +53 -0
- package/index.html +122 -5
- package/japanese_scroll/japanese_scroll.json +6 -6
- package/package.json +5 -3
- package/railway/railway.json +40 -40
- package/woodblock/woodblock.json +6 -6
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ We use the hosted version of the [Maputnik visual editor](https://maputnik.githu
|
|
|
45
45
|
1. clone this repo to your computer or [download the latest release](https://github.com/OpenHistoricalMap/map-styles/releases).
|
|
46
46
|
`git clone git@github.com:OpenHistoricalMap/map-styles.git`
|
|
47
47
|
2. run `npm install` from the root directory.
|
|
48
|
-
3. run `npm run start` in the root directory; this will start
|
|
48
|
+
3. run `npm run start` in the root directory; this will start `browsersync` and open a new tab or window in your browser. Everything except for the OHM vector tile sources (style files, glyphs, sprites) will be running locally on port 8888.
|
|
49
49
|
4. open the style file you wish to work on in Maputnik.; it will be `historical/historical.json` or an equivalent path for a different style.
|
|
50
50
|
5. if you're submitting changes to OpenHistoricalMap please begin by creating an issue that describes them at our [issues repository](https://github.com/OpenHistoricalMap/issues/), which is different from [where you'd submit your pull request](https://github.com/OpenHistoricalMap/map-styles).
|
|
51
51
|
6. when you're satisfied with your local changes, repopulate the `dist` directory by running `npm run build`; the build step replaces references to `localhost` with the production values of the OpenHistoricalMap servers for `glyph` and `sprite` serving; this is required prior to deploying to OHM's staging and production servers. If you're hosting your own fonts or icons you'll need to edit these for your custom use.
|
|
@@ -97,7 +97,7 @@ Miscellaneous notes:
|
|
|
97
97
|
1. pull the updated `staging` branch to get the merge commit
|
|
98
98
|
1. ensure your local `staging` branch of `ohm-deploy` is current using `git pull`
|
|
99
99
|
1. create a release branch from `staging`, e.g., `git checkout -b map-styles-0.9.7`
|
|
100
|
-
1. in `images/web/Dockerfile` update `OPENHISTORICALMAP_WEBSITE_GITSHA`
|
|
100
|
+
1. in `images/web/Dockerfile` update `OPENHISTORICALMAP_WEBSITE_GITSHA`
|
|
101
101
|
1. commit the `Dockerfile` and push your branch to GitHub
|
|
102
102
|
1. open a pull request against `OpenHistoricalMap/ohm-deploy`'s `staging` branch
|
|
103
103
|
1. confirm your changed files & merge to staging
|