Added flag pins to demo; fixed min compilation bug
This commit is contained in:
parent
2fc4fb0142
commit
bb7be028e6
858 changed files with 59644 additions and 1057 deletions
BIN
resources/public/img/map-pins/flags/flags-mini.zip
Normal file
BIN
resources/public/img/map-pins/flags/flags-mini.zip
Normal file
Binary file not shown.
14
resources/public/img/map-pins/flags/make-flag-pins.sh
Normal file
14
resources/public/img/map-pins/flags/make-flag-pins.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Assumes presence of ImageMajick
|
||||
|
||||
unzip -u flags-mini.zip
|
||||
|
||||
base=../basic_map_pin.png
|
||||
|
||||
for flag in *.png
|
||||
do
|
||||
cc="$(tr '[:lower:]' '[:upper:]' <<< ${flag:0:1})${flag:1:1}"
|
||||
composite -compose atop -geometry +0+5 $flag $base ../${cc}-pin.png
|
||||
rm $flag
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue