Skip to content

Commit

Permalink
Clean up repository. (#11)
Browse files Browse the repository at this point in the history
- remove Travis CI
- use https in License
- update sources in style.json
- update readme
  • Loading branch information
TomPohys authored May 6, 2024
1 parent f141c59 commit 214679a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 39 deletions.
31 changes: 0 additions & 31 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
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
# MapTiler 3D

A Mapbox GL basemap style featuring 3D buildings using the vector tile
A GL basemap style featuring 3D buildings using the vector tile
schema of [OpenMapTiles](https://openmaptiles.org).

## Preview

**[:globe_with_meridians: Browse the map](https://openmaptiles.github.io/maptiler-3d-gl-style)**

![Building Demo](https://user-images.githubusercontent.com/1785486/60903586-e7794780-a271-11e9-93b6-a7b9b36a14c5.png)

## 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 Streets v2](https://cloud.maptiler.com/maps/editor?map=streets-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
```
6 changes: 3 additions & 3 deletions style.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 8,
"name": "Klokantech 3D",
"name": "MapTiler 3D",
"metadata": {
"mapbox:autocomposite": false,
"maputnik:renderer": "mbgljs",
Expand All @@ -9,7 +9,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 Expand Up @@ -611,5 +611,5 @@
}
}
],
"id": "klokantech-3d"
"id": "maptiler-3d"
}

0 comments on commit 214679a

Please sign in to comment.