added sprites for high dpi screens

pull/67/head
tomasz t 2022-03-28 18:13:09 +02:00
rodzic 00ae1d9881
commit 40a4f266bd
3 zmienionych plików z 31 dodań i 0 usunięć

Wyświetl plik

@ -73,4 +73,5 @@ cp /home/aeduser/data_dir/aed_poland.csv /var/www/html/aed_poland.csv
nvm use 8
npm install -g @mapbox/spritezero-cli
spritezero --ratio 1 ./src/map_style/sprite ./src/marker_icons/
spritezero --ratio 2 ./src/map_style/sprite@2x ./src/marker_icons/
```

Wyświetl plik

@ -0,0 +1,30 @@
{
"marker_customers": {
"height": 100,
"pixelRatio": 2,
"width": 100,
"x": 0,
"y": 0
},
"marker_default": {
"height": 100,
"pixelRatio": 2,
"width": 100,
"x": 100,
"y": 0
},
"marker_no": {
"height": 100,
"pixelRatio": 2,
"width": 99,
"x": 0,
"y": 100
},
"marker_private": {
"height": 100,
"pixelRatio": 2,
"width": 100,
"x": 99,
"y": 100
}
}

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 8.1 KiB