Skip to content

Commit

Permalink
Clean up repository. (#11)
Browse files Browse the repository at this point in the history
 - remove Travis CI
 - use OpenMapTiles tiles
 - add License
 - update readme
  • Loading branch information
TomPohys authored May 6, 2024
1 parent ccae782 commit a7faefb
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 48 deletions.
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

62 changes: 62 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
Copyright (c) 2024, MapTiler.com & OpenMapTiles contributors.
Copyright (c) 2015, CartoDB Inc.
All rights reserved.

Derived from "CartoDB Basemaps" (https://github.com/CartoDB/CartoDB-basemaps)
designed by Stamen and Paul Norman for CartoDB Inc., licensed under CC-BY 3.0.

# Code license: BSD 3-Clause License

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Design license: CC-BY 4.0

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 https://creativecommons.org/licenses/by/4.0/.

Attribution for the design defined in this repository needs not to be provided
on map images, but should be reasonably accessible from maps based on this style
(for example, in a webpage linked from copyright notice on the map).

Products or services using maps derived from OpenMapTiles schema need to visibly
credit "OpenMapTiles.org" or reference "OpenMapTiles" with a link to
https://openmaptiles.org/.

For a browsable electronic map based on OpenMapTiles and OpenStreetMap data, the
credit should appear in the corner of the map. For example:

[© OpenMapTiles](https://openmaptiles.org/)
[© OpenStreetMap contributors](https://www.openstreetmap.org/copyright)

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

Exceptions to OpenMapTiles attribution requirement can be in a written form granted
by MapTiler AG ([email protected]).
The project contributors grant MapTiler AG the license to give such
exceptions on a commercial basis.
21 changes: 6 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,22 @@
# Fiord Color
[![Build Status](https://travis-ci.org/openmaptiles/fiord-color-gl-style.svg?branch=master)](https://travis-ci.org/openmaptiles/fiord-color-gl-style)

A basemap style useful with fiord color ideal as background map for data visualizations. It is using the vector tile
A GL JS basemap style useful with fiord color ideal as background map for data visualizations. The cartography is based on the
[CartoDB Positron Basemap](https://github.com/CartoDB/CartoDB-basemaps) and it is using the vector tile
schema of [OpenMapTiles](https://github.com/openmaptiles/openmaptiles).

## Preview

**[:globe_with_meridians: Browse the map](https://openmaptiles.github.io/fiord-color-gl-style/)**

<img src="https://github.com/openmaptiles/fiord-color-gl-style/raw/gh-pages/preview/preview-15.png" width="600" title="Preview Zurich">

<img src="https://github.com/openmaptiles/fiord-color-gl-style/raw/gh-pages/preview/preview-10.png" width="600" title="Preview Lake Zurich">

<img src="https://github.com/openmaptiles/fiord-color-gl-style/raw/gh-pages/preview/preview-7.png" width="600" title="Preview Switzerland">
## Edit the Style

<img src="https://github.com/openmaptiles/fiord-color-gl-style/raw/gh-pages/preview/preview-4.png" width="600" title="Preview Europe">
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.

## Edit the Style
[Try style editor](https://cloud.maptiler.com/maps/editor)

Use the [Maputnik CLI](http://openmaptiles.org/docs/style/maputnik/) to edit and develop the style.
Or use the [Maputnik CLI](https://openmaptiles.org/docs/style/maputnik/) to edit and develop the style.
After you've started Maputnik open the editor on `localhost:8000`.

```
maputnik --watch --file style.json
```


## License

- [ ] Clarify license
2 changes: 1 addition & 1 deletion style.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,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}"
}
},
"sprite": "https://openmaptiles.github.io/fiord-color-gl-style/sprite",
Expand Down

0 comments on commit a7faefb

Please sign in to comment.