Skip to content

Commit

Permalink
Clean up repository. (#12)
Browse files Browse the repository at this point in the history
- remove Travis CI
- use https in License
- update source in style.json
- update readme
  • Loading branch information
TomPohys authored May 6, 2024
1 parent 1c1a893 commit d6bce88
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 39 deletions.
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The visual design features of the style (also known as the "look and feel" of
the map) are licensed under the Creative Commons Attribution 4.0 license.

To view a copy of the license, visit http://creativecommons.org/licenses/by/4.0/.
To view a copy of the license, visit https://creativecommons.org/licenses/by/4.0/.

Original design has ISC license
https://github.com/stamen/toner-carto/blob/master/LICENSE
Expand All @@ -56,7 +56,7 @@ For a browsable electronic map based on OpenMapTiles and OpenStreetMap data, the
credit should appear in the corner of the map. For example:

[© MapTiler](https://www.maptiler.com/copyright/)
[© OpenStreetMap contributors](http://www.openstreetmap.org/copyright)
[© OpenStreetMap contributors](https://www.openstreetmap.org/copyright)

For printed and static maps a similar attribution must be made in a textual
description near the image, in the same fashion as if you cite a photograph.
Expand Down
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# MapTiler Toner GL Style
[![Build Status](https://travis-ci.org/openmaptiles/maptiler-toner-gl-style.svg?branch=master)](https://travis-ci.org/openmaptiles/maptiler-toner-gl-style)

This is an adaptation of the [Toner](https://github.com/stamen/toner-carto) map style from [Stamen Maps](http://maps.stamen.com/).
This is an adaptation of the [Toner](https://github.com/stamen/toner-carto) map style from [Stamen Maps](https://maps.stamen.com/).

Start at:
- http://maps.stamen.com/toner/
- https://maps.stamen.com/toner/
- https://github.com/stamen/mapbox-gl-toner
- https://github.com/stamen/toner-carto

Expand All @@ -14,12 +13,23 @@ Start at:

<img src="https://openmaptiles.org/img/styles/toner.jpg" width="600" title="Preview the Toner map style">

## Edit the Style
Use the map editor in MapTiler Cloud to view and adjust this map. Open the editor and upload style from this repository or host from various styles available on the platform.

[Try style editor](https://cloud.maptiler.com/maps/editor)

[Test updated Toner v2](https://cloud.maptiler.com/maps/editor?map=toner-v2)

Or use the Maputnik CLI to edit and develop the style. After you've started Maputnik open the editor on localhost:8000.

maputnik --watch --file style.json

## Copyright

For a browsable electronic map the copyright notice must appear in the corner of the map:

[© MapTiler](https://www.maptiler.com/copyright/)
[© OpenStreetMap contributors](http://www.openstreetmap.org/copyright)
[© OpenStreetMap contributors](https://www.openstreetmap.org/copyright)

For printed and static maps a similar attribution must be made in a textual description near the image, in the same fashion as if you cite a photograph.

Expand Down
2 changes: 1 addition & 1 deletion style.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"sources": {
"openmaptiles": {
"type": "vector",
"url": "https://api.maptiler.com/tiles/v3/tiles.json?key={key}"
"url": "https://api.maptiler.com/tiles/v3-openmaptiles/tiles.json?key={key}"
}
},
"glyphs": "https://api.maptiler.com/fonts/{fontstack}/{range}.pbf?key={key}",
Expand Down

0 comments on commit d6bce88

Please sign in to comment.