Skip to content

Instantly share code, notes, and snippets.

View louwers's full-sized avatar
🚲

Bart Louwers louwers

🚲
View GitHub Profile
{
"version": 8,
"name": "[email protected] theme@light",
"glyphs": "https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf",
"sprite": "https://protomaps.github.io/basemaps-assets/sprites/v3/light",
"sources": {
"protomaps": {
"attribution": "\u003Ca href=\"https://github.com/protomaps/basemaps\"\u003EProtomaps\u003C/a\u003E © \u003Ca href=\"https://openstreetmap.org\"\u003EOpenStreetMap\u003C/a\u003E",
"type": "vector",
"url": "pmtiles://https://build.protomaps.com/20230918.pmtiles"
{
"version": 8,
"name": "[email protected] theme@light",
"glyphs": "https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf",
"sprite": "https://protomaps.github.io/basemaps-assets/sprites/v3/light",
"sources": {
"protomaps": {
"attribution": "\u003Ca href=\"https://github.com/protomaps/basemaps\"\u003EProtomaps\u003C/a\u003E © \u003Ca href=\"https://openstreetmap.org\"\u003EOpenStreetMap\u003C/a\u003E",
"type": "vector",
"url": "pmtiles://https://build.protomaps.com/20230918.pmtiles"
{
"version": 8,
"sources": {
"protomaps": {
"type": "vector",
"attribution": "<a href=\"https://github.com/protomaps/basemaps\">Protomaps</a> © <a href=\"https://openstreetmap.org\">OpenStreetMap</a>",
"url": "pmtiles://https://build.protomaps.com/20230918.pmtiles"
}
},
"layers": [
@louwers
louwers / all.test.js
Last active June 2, 2024 20:07
Simple Test Framework JavaScript (in browser)
// add tests here, comment out to disable
import "./example.test.js";
console.log("This should only show up when running tests");
@louwers
louwers / status.md
Last active November 12, 2024 23:33
Render Test Parity Status MapLibre

MapLibre Render Test Parity Status Report

Generated on: 2024-11-12T23:33:00.577Z with this script.

Project Commit
MapLibre GL JS 3c80ac2cc
MapLibre Native dd7461f895

1207 render tests are shared.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDMIAqmH1G9tJxw/AV4MsAeNKRMDpXS6g6nTU7EpCR2WfpXfXnHti2SiLaEqLHo81fYx6/MIwCI6ewxzO9BStbjOoyPqMFeQYB+wFW9ZquuFsrdtOXB3ia+K5d8nf7nHmbOLUEbDDG7jZ7UPNtTUWUX24Oki50vz3t30Okcq8RzK+9e/6yVJglz2LPEU+vVxq9CpHp2JABtuFubj3JfHc0AW+iPEDIdaOuJveMJDa02XMT9fDNTm9Ya4BVp/CKUVjS1vNSwUx5DF1GUKEFTjLr3lkHce6jhTpROos9fS+VlXOu2eVVUhC5w5dNeM4mMKXrP8fKcF6k3o3FTx1ApsdC9v7A787o17DyWjlo54M++pLklbIHcgsn0vxJLM7AtV9/Lnlplm5X80Mk9V0T8CiaKx2TMOTU9/0ALwHQbWDA+AyCDD40QG781KydAxvNEnY2Jef7d+kzuQo7qX9rO0bEA5O7cwcOps6LVZND9Bsyg6bgfm+CzOgLyuQDGF/AmS5k= [email protected]
This file has been truncated, but you can view the full file.
2023-07-25T21:20:35.1527524Z Requested labels: ubuntu-22.04
2023-07-25T21:20:35.1527900Z Job defined at: mwilsnd/maplibre-gl-native/.github/workflows/linux-ci.yml@refs/heads/linux-ci-debug
2023-07-25T21:20:35.1528068Z Waiting for a runner to pick up this job...
2023-07-25T21:20:35.3154137Z Job is waiting for a hosted runner to come online.
2023-07-25T21:20:38.2625531Z Job is about to start running on the hosted runner: GitHub Actions 1 (hosted)
2023-07-25T21:20:40.5028339Z Current runner version: '2.306.0'
2023-07-25T21:20:40.5054342Z ##[group]Operating System
2023-07-25T21:20:40.5054858Z Ubuntu
2023-07-25T21:20:40.5055212Z 22.04.2
2023-07-25T21:20:40.5055431Z LTS
@louwers
louwers / style.json
Created June 6, 2023 12:22
Example Style for using MapLibre Native guide on Linux
{
"version": 8,
"name": "Test style",
"center": [
8.54806714892635,
47.37180823552663
],
"sources": {
"test": {
"type": "vector",
@louwers
louwers / Main.java
Last active March 30, 2023 18:47
JNI Hello World on macOS
public class Main {
public static void main(String[] args) {
NativeMethodsClass cl = new NativeMethodsClass();
cl.nonNative();
cl.nativeMethod();
}
}
@louwers
louwers / main.cc
Last active March 27, 2023 23:42
Shader registry using static template variable
$ g++ --std=c++17 -c maplibre.cc
$ ar rvs maplibre.a maplibre.o
$ g++ --std=c++17 main.cc maplibre.a
$ ./a.out
hello world
I am derived