Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c34fe01
Add preliminary vector tile loading
danirabbit Jul 13, 2025
ba48ca9
Use elementary palette colors
danirabbit Jul 13, 2025
9a36025
Roboto → Inter
danirabbit Jul 13, 2025
59a6695
Fix river text color
danirabbit Jul 13, 2025
67963d4
Merge branch 'main' into danirabbit/map-tiles
danirabbit Jul 15, 2025
f7a2318
merge main
danirabbit Jul 16, 2025
be36ecf
Start building with Json.Builder
danirabbit Jul 16, 2025
f398f64
Super basic styles
danirabbit Jul 16, 2025
d5bfe21
Labels
danirabbit Jul 16, 2025
252d7a7
Start to use gobject_serialize
danirabbit Jul 17, 2025
10790cd
Deal with layers array
danirabbit Jul 19, 2025
5c8d589
Dirty hacks to replace type
danirabbit Jul 19, 2025
6245a46
cleanups and fix zoom error
danirabbit Jul 19, 2025
b1b67da
More cleanup
danirabbit Jul 19, 2025
166ab19
Add more detail
danirabbit Jul 19, 2025
de2fac3
comments, min zoom
danirabbit Jul 19, 2025
831f545
merge main
danirabbit Jul 19, 2025
e6b8987
Drop README since we're building our own style
danirabbit Jul 19, 2025
d19e587
Move map renderer stuff to its own folder
danirabbit Jul 19, 2025
ba57837
use properties
danirabbit Jul 19, 2025
d98b951
Fix zoom
danirabbit Jul 19, 2025
6d71dc2
Remove old style json, add missing JsonObject
danirabbit Jul 19, 2025
59d3c85
Add some docs links, line color is a string
danirabbit Jul 19, 2025
37b6b9a
Basic filters
danirabbit Jul 19, 2025
e191d00
More roads
danirabbit Jul 19, 2025
c0a2aea
Mess with some colors
danirabbit Jul 19, 2025
76e248a
lighter buildings
danirabbit Jul 19, 2025
9b1667d
Desaturate bg more
danirabbit Jul 19, 2025
db562d8
Imply future object
danirabbit Jul 20, 2025
ec411a8
Start to do InterpolateExpression
danirabbit Jul 20, 2025
c233b07
Move Shumate.MapSourceRegistry and necessary initialization into Main…
ryonakano Jul 21, 2025
f61f9b3
Translate more objects from json
danirabbit Jul 21, 2025
aaaca75
Update meson.build
danirabbit Jul 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions data/maps.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
<file alias="Application.css">Application.css</file>
</gresource>

<gresource prefix="/io/elementary/maps/tiles">
<file preprocess="json-stripblanks" alias="sprites.json">tiles/sprites.json</file>
<file preprocess="json-stripblanks" alias="[email protected]">tiles/[email protected]</file>
<file alias="sprites.png">tiles/sprites.png</file>
<file alias="[email protected]">tiles/[email protected]</file>
</gresource>

<gresource prefix="/io/elementary/maps/icons">
<file compressed="true" preprocess="xml-stripblanks" alias="pointer.svg">icons/pointer.svg</file>
<file compressed="true" preprocess="xml-stripblanks" alias="map-tile-explore.svg">icons/48/explore.svg</file>
Expand Down
39 changes: 39 additions & 0 deletions data/tiles/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
## Code License

The Mapbox GL Style JSON file is originally derived from [OSM Bright from Mapbox Open Styles](https://github.com/mapbox/mapbox-gl-styles/blob/master/LICENSE.md). The modified Mapbox GL Style JSON retains the same BSD 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 Mapbox 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 OWNER 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

The look and feel of the OSM liberty map design is also derived (although heavily altered) from [OSM Bright from Mapbox Open Styles](https://github.com/mapbox/mapbox-gl-styles/blob/master/LICENSE.md) which is licensed under the Creative Commons Attribution 3.0 license.

The map is displaying and styling the data from [OpenMapTiles](https://openmaptiles.org/) with [CC-BY 4.0 design license](https://github.com/openmaptiles/openmaptiles/blob/master/LICENSE.md).

The products or services using this map style need to visibly credit "OpenMapTiles.org" or reference "OpenMapTiles" with a link to http://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.

## Icons

OSM Liberty is using the [Maki POI icon set](https://github.com/mapbox/maki/blob/master/LICENSE.txt) which is licensed under CC0 1.0 Universal.

The right arrow was derived from [Wikipedia][wiki_arrow] which is in the public domain.

[wiki_arrow]: https://commons.wikimedia.org/wiki/File:Arrowright.svg

## Fonts

OSM Liberty is using the Roboto font family (Copyright 2011 Google).
Roboto is licensed under the [Apache License, Version 2.0](https://github.com/google/roboto/blob/master/LICENSE).

Loading