Skip to content

Commit

Permalink
Clean up repository. (#27)
Browse files Browse the repository at this point in the history
 - remove Travis CI
 - use OpenMapTiles tiles
 - use https in License
 - update readme
  • Loading branch information
TomPohys committed May 6, 2024
1 parent 46581d3 commit 2374f74
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 41 deletions.
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ 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/.

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
http://openmaptiles.org/.
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](http://openmaptiles.org/)
[© OpenStreetMap contributors](http://www.openstreetmap.org/copyright)
[© 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.
Expand Down
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# MapTiler Basic
[![Build Status](https://travis-ci.org/openmaptiles/klokantech-basic-gl-style.svg?branch=master)](https://travis-ci.org/openmaptiles/klokantech-basic-gl-style)

A GL basemap style it is using the vector tile
schema of [OpenMapTiles](https://github.com/openmaptiles/openmaptiles).
A GL JS basemap style showcasing OpenStreetMap. It is using the vector tile schema of [OpenMapTiles](https://github.com/openmaptiles/openmaptiles).

**[:globe_with_meridians: Browse the map](https://www.maptiler.com/maps/#basic/)**
**[:globe_with_meridians: Browse the map](https://openmaptiles.github.io/maptiler-basic-gl-style/)**

![MapTiler Basic](https://openmaptiles.org/img/styles/basic.jpg)

## 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 Basic v2](https://cloud.maptiler.com/maps/editor?map=basic-v2)

Or use the [Maputnik CLI](http://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
```
3 changes: 2 additions & 1 deletion style.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
"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/maptiler-basic-gl-style/sprite",
"glyphs": "https://api.maptiler.com/fonts/{fontstack}/{range}.pbf?key={key}",
"layers": [
{
Expand Down

0 comments on commit 2374f74

Please sign in to comment.