Acastus-Photo překládá jména ulic/měst, nebo bodů zájmu na geo-souřadnice, které poté lze
2 |Můžete zapnout Acastus kliknutím na libovolnou adresu v Android aplikaci pro kontakty (SimpleContacts).
7 |Photon-Server-Software, jež Acastus-Photon kontaktuje přes internet je náhradou za Google Mapy a další geokódové služby, které můžete provozovat na svém vlastním serveru.
8 |Detaily, týkající se nastavení vaší vlastní instance najdete zde: https://github.com/komoot/photon.
-------------------------------------------------------------------------------- /fastlane/metadata/android/cs-CZ/short_description.txt: -------------------------------------------------------------------------------- 1 | Online adresa/POI pro navigační aplikace. -------------------------------------------------------------------------------- /fastlane/metadata/android/de-DE/full_description.txt: -------------------------------------------------------------------------------- 1 |Acastus-Photon übersetzt den Namen einer Straße/Stadt/Sehenswürdigkeit in Geo Koordinaten, die
2 |Der Internetdienst "Photon", den Acastus-Photon zum auflösen von Adressen verwendet, 7 | ist eine Alternative zur Google Maps API und anderen Geocoding Diensten, 8 | welche auf einem eigenen Server betrieben werden kann (siehe https://github.com/komoot/photon).
-------------------------------------------------------------------------------- /fastlane/metadata/android/de-DE/short_description.txt: -------------------------------------------------------------------------------- 1 | Online-Suche nach Adressen/POIs für Navigations-App -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/19.txt: -------------------------------------------------------------------------------- 1 | New Translations: nl and de 2 | Updated support libraries 3 | Added support for fastlane and crowdin translations 4 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/20.txt: -------------------------------------------------------------------------------- 1 | New Translation: French (fr) 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/21.txt: -------------------------------------------------------------------------------- 1 | New Translation: it, no, pt, pt-BR, sv, es, pl 2 | # see https://gradle.org/release-checksums/ 3 | distributionSha256Sum= -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/22.txt: -------------------------------------------------------------------------------- 1 | Fixed searching for addresses with street-number (#10) 2 | Library updates 3 | Added Screenshot to App-Descrition 4 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/23.txt: -------------------------------------------------------------------------------- 1 | Fix displaying of search result names for addresses with house numbers 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/24.txt: -------------------------------------------------------------------------------- 1 | #16 You can start Acastus by clicking on an addresss in SimpleContatcs 2 | to translate and viw a postal address in a map without invoking google. 3 | 4 | Implemented internet map services translation from 5 | google-maps, openstreetmap, yandex, here to a geo-uri. 6 | 7 | Thankyou to "QWERT (lurenjia01)" for new Chinese Simplified (zh-CN) translation 8 | Thankyou to "cimbrum" for new Romanian (ro) translation 9 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/25.txt: -------------------------------------------------------------------------------- 1 | * #13 Fixed Improve GPS energy efficiency 2 | * #19 Fixed Settings-Server icon 3 | * added new translation cs -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/26.txt: -------------------------------------------------------------------------------- 1 | * #21: Bugfix Search from Android-Addressbook: housenumber,zipcopde interpreted as lat/lon 2 | * #11: Translations new si (Sinhala), updates de, pt 3 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/27.txt: -------------------------------------------------------------------------------- 1 | * changed app title to "✉➡🌍 Acastus-Photon" (added Symbols) 2 | * #26: #6: #11: i18n: fixed typo in English language: Adress => Address 3 | * #6: #11: i18n: new italian translations by luca-65e709c0 4 | * #6: #11: i18n: updated russian translation 5 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/changelogs/28.txt: -------------------------------------------------------------------------------- 1 | * #29: adapt to Photon API changes 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/full_description.txt: -------------------------------------------------------------------------------- 1 |Acastus-Photon translates name of street/city/point-of-interest 2 | to geo-coordinate which can be
3 |You can start Acastus by clicking on an addresss in the Android Contacts app (SimpleContatcs).
8 |The Photon-Server-Software which Acastus-Photon calls over the internet 9 | is a replacement for Google Maps and other geocoding services that you 10 | can run on your own server.
11 |Details on setting up your own Photon instance are here: https://github.com/komoot/photon 12 | .
-------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/images/phoneScreenshots/01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/fastlane/metadata/android/en-US/images/phoneScreenshots/01.png -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/short_description.txt: -------------------------------------------------------------------------------- 1 | An online address/POI search for navigation apps. -------------------------------------------------------------------------------- /fastlane/metadata/android/en-US/title.txt: -------------------------------------------------------------------------------- 1 | ✉➡🌍 Acastus-Photon -------------------------------------------------------------------------------- /fastlane/metadata/android/es-ES/short_description.txt: -------------------------------------------------------------------------------- 1 | Una búsqueda online de direcciones/POI para aplicaciones de navegación -------------------------------------------------------------------------------- /fastlane/metadata/android/fr-FR/full_description.txt: -------------------------------------------------------------------------------- 1 |Acastus-Photon traduit le nom de la rue/ville/point d'intérêt 2 | à la géo-coordination qui peut être
3 |You can start Acastus by clicking on an adresss in the Android Contacts app (SimpleContatcs).
8 |Le logiciel Photon-Server-Software qu'Acastus-Photon appelle sur Internet 9 | remplace Google Maps et d'autres services de géocodage que vous 10 | peut fonctionner sur votre propre serveur.
11 |Les détails sur la mise en place de votre propre instance Photon se trouvent ici : https://github.com/komoot/photon 12 | .
-------------------------------------------------------------------------------- /fastlane/metadata/android/fr-FR/short_description.txt: -------------------------------------------------------------------------------- 1 | Une recherche d’adresse en ligne/POI pour les applications de navigation -------------------------------------------------------------------------------- /fastlane/metadata/android/it/full_description.txt: -------------------------------------------------------------------------------- 1 |Acastus-Photon traduce il nome di strade/città/punti d'interesse 2 | in coordinate geografiche che possono essere
3 |È possibile avviare Acastus cliccando su un indirizzo nell'applicazione Contatti di Android (SimpleContatcs).
8 |Il Photon-Server-Software che Acastus-Photon chiama su internet 9 | è un sostituto di Google Maps e di altri servizi di geo codifica che 10 | può eseguire sul tuo server.
11 |I dettagli per la configurazione della tua istanza di Photon sono qui: https://github.com/komoot/photon 12 | .
-------------------------------------------------------------------------------- /fastlane/metadata/android/it/short_description.txt: -------------------------------------------------------------------------------- 1 | Un motore di ricerca online d'indirizzi e punti d'interesse per navigatori -------------------------------------------------------------------------------- /fastlane/metadata/android/nb/short_description.txt: -------------------------------------------------------------------------------- 1 | Nettbasert adresse/interessepunkts-søk for navigasjonsprogrammer 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/pl-PL/short_description.txt: -------------------------------------------------------------------------------- 1 | Adres internetowy/wyszukiwanie POI dla aplikacji nawigacyjnych 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/pl/full_description.txt: -------------------------------------------------------------------------------- 1 |Acastus Photon tłumaczy ulicę/miasto/nazwę lokalu na współrzędne 2 | geograficzne, które potem mogą być:
3 |You can start Acastus by clicking on an adresss in the Android Contacts app (SimpleContatcs).
8 |Oprogramowanie serwerowe Photon, z którym Acastus Photon łączy się 9 | przez internet, jest otwartym zamiennikiem serwisów geokodowania takich, 10 | jak Google Maps, i można uruchomić je na własnym serwerze.
11 |Szczegóły odnośnie uruchomienia własnego serwera Photon znajduą się 12 | pod adresem https://github.com/komoot/photon
-------------------------------------------------------------------------------- /fastlane/metadata/android/pl/short_description.txt: -------------------------------------------------------------------------------- 1 | Wyszukiwanie online adresów/POI dla aplikacji nawigacyjnych -------------------------------------------------------------------------------- /fastlane/metadata/android/pt-BR/short_description.txt: -------------------------------------------------------------------------------- 1 | Uma pesquisa de POI/endereço online para aplicativos de navegação 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/pt/full_description.txt: -------------------------------------------------------------------------------- 1 |Acastus-Photon transforma o nome da rua/cidade/ponto de interesse 2 | para geo-coordenação que pode ser
3 |O Photon-Server-Software que Acastus-Photon chama pela internet 8 | é um substituto para o Google Maps e outros serviços de geocodificação que você 9 | pode executar no seu próprio servidor.
10 |Detalhes sobre a criação da sua própria instância de Photon estão aqui: https://github.com/komoot/photon 11 | .
-------------------------------------------------------------------------------- /fastlane/metadata/android/pt/short_description.txt: -------------------------------------------------------------------------------- 1 | Um pesquisador online de endereço/POI para aplicativos de navegação. -------------------------------------------------------------------------------- /fastlane/metadata/android/tr-TR/short_description.txt: -------------------------------------------------------------------------------- 1 | Navigasyon uygulamaları için çevrimiçi adres/POI arama 2 | -------------------------------------------------------------------------------- /fastlane/metadata/android/tr/short_description.txt: -------------------------------------------------------------------------------- 1 | Navigasyon uygulamaları için çevrimiçi adres/POI arama -------------------------------------------------------------------------------- /fastlane/metadata/android/zh-CN/short_description.txt: -------------------------------------------------------------------------------- 1 | 导航应用的在线地址/POI 搜索 -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | android.enableJetifier=true 20 | android.useAndroidX=true -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Apr 13 18:07:40 CEST 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip 7 | # see https://gradle.org/release-checksums/ 8 | distributionSha256Sum=3239b5ed86c3838a37d983ac100573f64c1f3fd8e1eb6c89fa5f9529b5ec091d 9 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # Attempt to set APP_HOME 46 | # Resolve links: $0 may be a link 47 | PRG="$0" 48 | # Need this for relative symlinks. 49 | while [ -h "$PRG" ] ; do 50 | ls=`ls -ld "$PRG"` 51 | link=`expr "$ls" : '.*-> \(.*\)$'` 52 | if expr "$link" : '/.*' > /dev/null; then 53 | PRG="$link" 54 | else 55 | PRG=`dirname "$PRG"`"/$link" 56 | fi 57 | done 58 | SAVED="`pwd`" 59 | cd "`dirname \"$PRG\"`/" >/dev/null 60 | APP_HOME="`pwd -P`" 61 | cd "$SAVED" >/dev/null 62 | 63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 64 | 65 | # Determine the Java command to use to start the JVM. 66 | if [ -n "$JAVA_HOME" ] ; then 67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 68 | # IBM's JDK on AIX uses strange locations for the executables 69 | JAVACMD="$JAVA_HOME/jre/sh/java" 70 | else 71 | JAVACMD="$JAVA_HOME/bin/java" 72 | fi 73 | if [ ! -x "$JAVACMD" ] ; then 74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 75 | 76 | Please set the JAVA_HOME variable in your environment to match the 77 | location of your Java installation." 78 | fi 79 | else 80 | JAVACMD="java" 81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 82 | 83 | Please set the JAVA_HOME variable in your environment to match the 84 | location of your Java installation." 85 | fi 86 | 87 | # Increase the maximum file descriptors if we can. 88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 89 | MAX_FD_LIMIT=`ulimit -H -n` 90 | if [ $? -eq 0 ] ; then 91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 92 | MAX_FD="$MAX_FD_LIMIT" 93 | fi 94 | ulimit -n $MAX_FD 95 | if [ $? -ne 0 ] ; then 96 | warn "Could not set maximum file descriptor limit: $MAX_FD" 97 | fi 98 | else 99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 100 | fi 101 | fi 102 | 103 | # For Darwin, add options to specify how the application appears in the dock 104 | if $darwin; then 105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 106 | fi 107 | 108 | # For Cygwin, switch paths to Windows format before running java 109 | if $cygwin ; then 110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 112 | JAVACMD=`cygpath --unix "$JAVACMD"` 113 | 114 | # We build the pattern for arguments to be converted via cygpath 115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 116 | SEP="" 117 | for dir in $ROOTDIRSRAW ; do 118 | ROOTDIRS="$ROOTDIRS$SEP$dir" 119 | SEP="|" 120 | done 121 | OURCYGPATTERN="(^($ROOTDIRS))" 122 | # Add a user-defined pattern to the cygpath arguments 123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 125 | fi 126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 127 | i=0 128 | for arg in "$@" ; do 129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 131 | 132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 134 | else 135 | eval `echo args$i`="\"$arg\"" 136 | fi 137 | i=$((i+1)) 138 | done 139 | case $i in 140 | (0) set -- ;; 141 | (1) set -- "$args0" ;; 142 | (2) set -- "$args0" "$args1" ;; 143 | (3) set -- "$args0" "$args1" "$args2" ;; 144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 150 | esac 151 | fi 152 | 153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 154 | function splitJvmOpts() { 155 | JVM_OPTS=("$@") 156 | } 157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 159 | 160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 161 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /metadata/name.gdr.acastus_photon.yml: -------------------------------------------------------------------------------- 1 | Categories: 2 | - Navigation 3 | License: LGPL-3.0-only 4 | SourceCode: https://github.com/gjedeer/Acastus 5 | IssueTracker: https://github.com/gjedeer/Acastus/issues 6 | 7 | AutoName: Acastus Photon 8 | Summary: An online address/POI search for navigation apps 9 | Description: |- 10 | A private, free and open source replacement for Google Maps 11 | and other geocoding services that relies on Photon, which you 12 | can run on your own server. It uses the Photon API to fetch results 13 | to your phone, allowing you to search for places in Acastus Photon. 14 | Then open and navigate to the result in your preferred navigation app, 15 | such as OsmAnd or Maps.me. 16 | 17 | This is a fork of Acastus by DanielBarnett714, which used the Pelias API. 18 | 19 | RepoType: git 20 | Repo: https://github.com/gjedeer/Acastus 21 | 22 | Builds: 23 | - versionName: '1.14' 24 | versionCode: 16 25 | commit: 1.14 26 | subdir: app 27 | gradle: 28 | - yes 29 | 30 | AutoUpdateMode: Version %v 31 | UpdateCheckMode: Tags 32 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | dist/*.zip -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Mapzen 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | 22 | -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/Makefile: -------------------------------------------------------------------------------- 1 | all: dist 2 | 3 | dist: 4 | tangram-bundle cinnabar-style.yaml 5 | mv cinnabar-style.zip dist/cinnabar-style.zip 6 | 7 | clean: 8 | rm -rf dist 9 | mkdir dist 10 | 11 | tag: 12 | git tag -m 'See CHANGELOG for details.' -a v`cat VERSION` 13 | -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/README.md: -------------------------------------------------------------------------------- 1 | # Tangram Cinnabar Style 2 | 3 | **Cinnabar** is a classic look and should be your go-to for general mapping applications. Give [OpenStreetMap](http://www.openstreetmap.org/) data a refined basemap skin using the [Tangram](http://github.com/tangrams/tangram) graphics library and Mapzen's versatile [Vector Tiles](https://mapzen.com/projects/vector-tiles/). 4 | 5 | This style is a High Road influenced evolution of the [Traditional](http://tangrams.github.io/tangram/#mapzen,40.70531887544228,-74.0097749233246,16) style [Stamen](http://stamen.com/) created for Mapzen's [Open](https://mapzen.com/blog/we-made-an-app) Android app in 2014. Please use and adapt the open source scene file in your own projects! 6 | 7 | **Looking for help?** There is a mini tutorial after the preview image below walking thru [Vector Tiles API key signup](https://github.com/tangrams/cinnabar-style-no-labels/blob/gh-pages/README.md#sign-up-for-a-vector-tiles-api-key) and [building a Leaflet map](https://github.com/tangrams/cinnabar-style-no-labels/blob/gh-pages/README.md#building-a-leaflet-map-using-tangram-and-this-scene-file) using Tangram and this repo's scene file. 8 | 9 | ### A family of styles with many flavours 10 | 11 | Mapzen offers the Cinnabar style in three flavors: 12 | 13 | 2. **Default** (this repo) - Some labels for streets, cities, water bodies, and some big parks with name only (no icons). No business labels. Good for data visualization overlays that need to provide some location context. 14 | 1. **[More labels](https://github.com/tangrams/cinnabar-style-more-labels)** - Full set of labels, including high contrast icons highlighting OpenStreetMap business listing data. 15 | 3. **[No labels](https://github.com/tangrams/cinnabar-style-no-labels)** - Just the lines and polygons, please. 16 | 17 | **Looking for a different style?** We offer a range of styles including [Refill](https://github.com/tangrams/refill) (high contrast black & white cartography) and [Zinc](https://github.com/tangrams/zinc-style) (soft gray cartography). 18 | 19 | 20 | **Live Cinnabar demo:** http://tangrams.github.io/cinnabar-style 21 | 22 |  23 | 24 | 25 | ## Developer resources 26 | 27 | **So how do you actually use this stuff?** Tangram styles are called "scenes" and are written in YAML. The scene file (e.g.: [cinnabar-style.yaml](https://github.com/tangrams/cinnabar-style/blob/gh-pages/cinnabar-style.yaml)) requires a vector tile source. To use Mapzen's vector tile service you must first obtain a free developer API key and update your scene file with that key. 28 | 29 | ### Sign up for a Mapzen Vector Tiles API key 30 | 31 | **Mapzen Vector Tiles are a free, shared tile service.** As such, there are generous limitations on requests to prevent individual users from degrading the overall system performance. 32 | 33 | 1. Go to https://mapzen.com/developers. 34 | 2. Sign in with your GitHub account. If you have not done this before, you need to agree to the terms first. 35 | 3. Create a new key for Vector Tiles, and optionally, give it a project name so you can remember the purpose of the key. 36 | 4. Keep the web page open so you can copy the key into your source code later. 37 | 38 | ### Building a Leaflet map using Tangram 39 | 40 | Using Tangram and Mapzen's Vector tiles inside the popular [Leaflet](http://leafletjs.com) mapping framework is easy. We'll make it even easier soon to do this via a Leaflet [provider](https://github.com/leaflet-extras/leaflet-providers), but in the meantime... 41 | 42 | 1. Update your copy of the scene file on [line 453](https://github.com/tangrams/cinnabar-style/blob/gh-pages/cinnabar-style.yaml#L453) to reference the API key you created in Step 3 in the **Sign up** section above. 43 | `url: //vector.mapzen.com/osm/all/{z}/{x}/{y}.topojson?api_key=vector-tiles-{your-api-key-here}` 44 | 2. Reference the [index-demo.html](index-demo.html) file in any of the style repos for how to configure Leaflet with Tangram and the scene file (e.g.: [Cinnabar](http://github.com/tangrams/cinnabar-style)). 45 | 3. Looking for a more sophisticated implementation that includes basic search? The main [index.html](index.html) file has a more real world example. 46 | 4. Need help testing your map locally? See the README in each repo. 47 | 5. Wondering where to host your map? Make a public repo on Github (or fork ours!) and enjoy their [GitHub Pages](https://pages.github.com) to github.io magic dance. 48 | 49 | ### Tangram resources 50 | 51 | 1. [Procedural Cartography with Tangram](https://github.com/mapzen/presentations/tree/master/08-2015-JSGEO) Patricio's presentation notes from [JS.Geo](http://www.jsgeo.com) metope in August 2015. 52 | 2. [Walkthrough: Make a map with Tangram](https://mapzen.com/documentation/tangram/walkthrough/) by Rhonda on Mapzen's documentation team. 53 | 54 | ### To run locally 55 | 56 | Want to modify the style to fit your needs? Clone or downloaded the repo locally. Then... 57 | 58 | Start a web server in the repo's directory: 59 | 60 | python -m SimpleHTTPServer 8000 61 | 62 | If that doesn't work, try: 63 | 64 | python -m http.server 8000 65 | 66 | Then navigate to: [http://localhost:8000](http://localhost:8000), which loads the [index.html](index.html) file. 67 | 68 | 69 | **You should be all set, happy mapping!** But please let us know at [hello@mapzen.com](mailto:hello@mapzen.com) or via Twitter [@mapzen](http://twitter.com/mapzen) if you encounter any funk and we'll help you get up and running. 70 | 71 | ### See also: 72 | 73 | * Blog post announcing this style... 74 | -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/VERSION: -------------------------------------------------------------------------------- 1 | 6.0.1 -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/cinnabar-style-gh-pages/dist/.gitkeep -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/fonts/Montserrat-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/cinnabar-style-gh-pages/fonts/Montserrat-Regular.woff -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/fonts/OpenSans-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/cinnabar-style-gh-pages/fonts/OpenSans-Bold.woff -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/fonts/OpenSans-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/cinnabar-style-gh-pages/fonts/OpenSans-Italic.woff -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/fonts/OpenSans-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/cinnabar-style-gh-pages/fonts/OpenSans-Light.woff -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/fonts/OpenSans-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/cinnabar-style-gh-pages/fonts/OpenSans-Regular.woff -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/fonts/OpenSans-Semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/cinnabar-style-gh-pages/fonts/OpenSans-Semibold.woff -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/fonts/OpenSans-SemiboldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/cinnabar-style-gh-pages/fonts/OpenSans-SemiboldItalic.woff -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/images/refill@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/cinnabar-style-gh-pages/images/refill@2x.png -------------------------------------------------------------------------------- /styles/cinnabar-style-gh-pages/lib/leaflet-hash.js: -------------------------------------------------------------------------------- 1 | (function(window) { 2 | 3 | L.Hash = function(map) { 4 | 5 | if (map) { 6 | this.init(map); 7 | } 8 | }; 9 | 10 | L.Hash.parseHash = function(hash) { 11 | if(hash.indexOf('#') === 0) { 12 | hash = hash.substr(1); 13 | } 14 | var args = hash.split("/"); 15 | if (args.length == 3) { 16 | var zoom = parseInt(args[0], 10), 17 | lat = parseFloat(args[1]), 18 | lon = parseFloat(args[2]); 19 | if (isNaN(zoom) || isNaN(lat) || isNaN(lon)) { 20 | return false; 21 | } else { 22 | return { 23 | center: new L.LatLng(lat, lon), 24 | zoom: zoom 25 | }; 26 | } 27 | } else { 28 | return false; 29 | } 30 | }; 31 | 32 | L.Hash.formatHash = function(map) { 33 | var center = map.getCenter(), 34 | zoom = map.getZoom(), 35 | precision = Math.max(0, Math.ceil(Math.log(zoom) / Math.LN2)); 36 | 37 | // cap zoom at 5 digits for beauty 38 | return "#" + [parseFloat(zoom.toFixed(5)), 39 | center.lat.toFixed(precision), 40 | center.lng.toFixed(precision) 41 | ].join("/"); 42 | }, 43 | 44 | L.Hash.prototype = { 45 | map: null, 46 | lastHash: null, 47 | 48 | parseHash: L.Hash.parseHash, 49 | formatHash: L.Hash.formatHash, 50 | 51 | init: function(map) { 52 | this.map = map; 53 | 54 | // reset the hash 55 | this.lastHash = null; 56 | 57 | if (!this.isListening) { 58 | this.startListening(); 59 | } 60 | }, 61 | 62 | removeFrom: function(map) { 63 | if (this.changeTimeout) { 64 | clearTimeout(this.changeTimeout); 65 | } 66 | 67 | if (this.isListening) { 68 | this.stopListening(); 69 | } 70 | 71 | this.map = null; 72 | }, 73 | 74 | // defer hash change updates every changeDefer milliseconds 75 | changeDefer: 250, 76 | changeTimeout: null, 77 | onMapMove: function() { 78 | // bail if we're moving the map (updating from a hash), 79 | // or if the map is not yet loaded 80 | if (this.movingMap || !this.map._loaded) { 81 | return false; 82 | } 83 | 84 | var hash = this.formatHash(this.map); 85 | if (this.lastHash != hash) { 86 | this.lastHash = hash; 87 | } 88 | if (!this.changeTimeout) { 89 | var that = this; 90 | this.changeTimeout = setTimeout(function() { 91 | 92 | // update the hash 93 | window.location.replace(hash); 94 | 95 | that.changeTimeout = null; 96 | }, this.changeDefer); 97 | } 98 | }, 99 | 100 | movingMap: false, 101 | 102 | isListening: false, 103 | startListening: function() { 104 | this.map.on("moveend", this.onMapMove, this); 105 | 106 | this.isListening = true; 107 | }, 108 | 109 | stopListening: function() { 110 | this.map.off("moveend", this.onMapMove, this); 111 | 112 | this.isListening = false; 113 | } 114 | }; 115 | L.hash = function(map) { 116 | return new L.Hash(map); 117 | }; 118 | L.Map.prototype.addHash = function() { 119 | this._hash = L.hash(this); 120 | }; 121 | L.Map.prototype.removeHash = function() { 122 | this._hash.removeFrom(); 123 | }; 124 | })(window); 125 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | dist/*.zip 3 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "blocks"] 2 | path = blocks 3 | url = https://github.com/tangrams/blocks 4 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 Mapzen 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/Makefile: -------------------------------------------------------------------------------- 1 | all: dist 2 | 3 | dist: 4 | tangram-bundle tron-style.yaml 5 | mv tron-style.zip dist/tron-style.zip 6 | 7 | tangram-bundle tron-style-more-labels.yaml 8 | mv tron-style-more-labels.zip dist/tron-style-more-labels.zip 9 | 10 | tangram-bundle tron-style-no-labels.yaml 11 | mv tron-style-no-labels.zip dist/tron-style-no-labels.zip 12 | 13 | clean: 14 | rm -rf dist 15 | mkdir dist 16 | 17 | tag: 18 | git tag -m 'See CHANGELOG for details.' -a v`cat VERSION` 19 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/VERSION: -------------------------------------------------------------------------------- 1 | 4.0.0 -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/fonts.yaml: -------------------------------------------------------------------------------- 1 | # Fonts 2 | fonts: 3 | Aldrich: 4 | - weight: normal # Regular 5 | # url: https://fonts.gstatic.com/s/aldrich/v6/VWXaIPGrUapL_Y2vGs0lKALUuEpTyoUstqEm5AMlJo4.woff 6 | url: fonts/VWXaIPGrUapL_Y2vGs0lKALUuEpTyoUstqEm5AMlJo4.woff 7 | Audiowide: 8 | - weight: normal # Regular 9 | # url: https://fonts.gstatic.com/s/audiowide/v4/8XtYtNKEyyZh481XVWfVOrO3LdcAZYWl9Si6vvxL-qU.woff 10 | url: fonts/8XtYtNKEyyZh481XVWfVOrO3LdcAZYWl9Si6vvxL-qU.woff 11 | Cairo: 12 | - weight: normal # Regular 13 | # url: https://fonts.gstatic.com/s/cairo/v1/ZA_4ooaF_Dfdn26t_IoQOaCWcynf_cDxXwCLxiixG1c.woff 14 | url: fonts/ZA_4ooaF_Dfdn26t_IoQOaCWcynf_cDxXwCLxiixG1c.woff 15 | Orbitron: 16 | - weight: normal # Regular 17 | # url: https://fonts.gstatic.com/s/orbitron/v7/94ug0rEgQO_WuI_xKJMFc3YhjbSpvc47ee6xR_80Hnw.woff 18 | url: fonts/94ug0rEgQO_WuI_xKJMFc3YhjbSpvc47ee6xR_80Hnw.woff 19 | Play: 20 | - weight: normal # Regular 21 | # url: https://fonts.gstatic.com/s/play/v7/IkErdnKw9ItVkLeeur9GHfesZW2xOQ-xsNqO47m55DA.woff 22 | url: fonts/IkErdnKw9ItVkLeeur9GHfesZW2xOQ-xsNqO47m55DA.woff -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/fonts/8XtYtNKEyyZh481XVWfVOrO3LdcAZYWl9Si6vvxL-qU.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/fonts/8XtYtNKEyyZh481XVWfVOrO3LdcAZYWl9Si6vvxL-qU.woff -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/fonts/94ug0rEgQO_WuI_xKJMFc3YhjbSpvc47ee6xR_80Hnw.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/fonts/94ug0rEgQO_WuI_xKJMFc3YhjbSpvc47ee6xR_80Hnw.woff -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/fonts/IkErdnKw9ItVkLeeur9GHfesZW2xOQ-xsNqO47m55DA.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/fonts/IkErdnKw9ItVkLeeur9GHfesZW2xOQ-xsNqO47m55DA.woff -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/fonts/VWXaIPGrUapL_Y2vGs0lKALUuEpTyoUstqEm5AMlJo4.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/fonts/VWXaIPGrUapL_Y2vGs0lKALUuEpTyoUstqEm5AMlJo4.woff -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/fonts/ZA_4ooaF_Dfdn26t_IoQOaCWcynf_cDxXwCLxiixG1c.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/fonts/ZA_4ooaF_Dfdn26t_IoQOaCWcynf_cDxXwCLxiixG1c.woff -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/museum-sdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/museum-sdf.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/museum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/museum.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/sdf.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | convert $1 -filter Jinc -resize 400% -threshold 30% \( +clone -negate -morphology Distance Euclidean -level 50%,-50% \) -morphology Distance Euclidean -compose Plus -composite -level 0%,100% $2 4 | convert $2 -resize 25% $2 -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/star-sdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/star-sdf.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/star.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/station-sdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/station-sdf.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/station.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/station.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/subway-sdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/subway-sdf.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/subway.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/subway.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/terrain.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/terrain.jpg -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/terrain2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/terrain2.jpg -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/tron-terrain.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/tron-terrain.jpg -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/tron@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/tron@2x.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/zoo-sdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/zoo-sdf.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/components/images/zoo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/components/images/zoo.png -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gjedeer/Acastus/0ecc7b15cc5ef228275dca37ce062f22dc1ca1ef/styles/tron-style-4.0.0/dist/.gitkeep -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/layers/boundaries-labels.yaml: -------------------------------------------------------------------------------- 1 | layers: 2 | boundaries: 3 | country: 4 | labels-z9-up: 5 | filter: { name: true, $zoom: { min: 9 }, not: { maritime_boundary: true } } 6 | draw: 7 | text: 8 | priority: 2 9 | visible: global.text_visible_admin 10 | text_source: global.ux_language_text_source_boundary_lines 11 | text_wrap: 100px 12 | font: 13 | family: Aldrich 14 | size: 9px 15 | fill: [0.369,0.624,1.000] 16 | transform: uppercase 17 | 18 | region: 19 | labels-z9-up: 20 | filter: { name: true, $zoom: { min: 9 }, not: { maritime_boundary: true } } 21 | draw: 22 | text-blend-order: 23 | priority: 3 24 | visible: global.text_visible_admin 25 | text_source: global.ux_language_text_source_boundary_lines 26 | text_wrap: 100px 27 | offset: 10px 28 | anchor: top 29 | font: 30 | family: Aldrich 31 | size: 9px 32 | fill: [0.369,0.624,1.000] 33 | transform: uppercase -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/layers/boundaries.yaml: -------------------------------------------------------------------------------- 1 | layers: 2 | boundaries: 3 | data: { source: mapzen, layer: boundaries } 4 | draw: 5 | lines: 6 | order: global.order 7 | 8 | country: 9 | filter: 10 | kind: country 11 | draw: 12 | lines: 13 | width: [[1,0px],[2,0px],[3,0.5px],[9,2px],[16,4px],[17,14m]] 14 | color: black 15 | water: 16 | filter: { maritime_boundary: true } 17 | draw: 18 | lines: 19 | visible: false 20 | 21 | country_disputed: 22 | filter: { kind: [disputed, indefinite, indeterminate, lease_limit, line_of_control, overlay_limit] } 23 | draw: 24 | dashed: 25 | order: global.order 26 | color: black 27 | width: [[1, 0.2px], [3, 0px], [4, 1.0px], [9, 1.5px], [14, 2.5px], [16, 3.5px], [17, 10m]] 28 | 29 | region: 30 | filter: 31 | kind: region 32 | draw: 33 | lines: 34 | width: [[0,0px],[4,0px],[5,0.5px],[8,1px],[14,1.5px],[16,3.0px],[17,10m]] 35 | color: black 36 | water: 37 | filter: { maritime_boundary: true } 38 | draw: 39 | lines: 40 | visible: false 41 | early: 42 | filter: { not: { min_zoom: 2 }, $zoom: { max: 8 } } 43 | draw: 44 | lines: 45 | visible: false 46 | 47 | styles: 48 | dashed: 49 | base: lines 50 | dash: [1.25, 1.25] 51 | #dash_background_color: [0.808,0.860,0.851] 52 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/layers/buildings-labels.yaml: -------------------------------------------------------------------------------- 1 | layers: 2 | # tuck this into existing buildings layer 3 | buildings: 4 | buildings-labels: 5 | filter: 6 | all: 7 | - { $zoom: { min: 17 } } 8 | - $geometry: point 9 | - not: { location: underground, kind: address } 10 | - name: true 11 | - function() { return global.text_visible_building; } 12 | # - kind: [false, building, university, college, school, kindergarten] 13 | any: 14 | - { $zoom: [16], area: { min: 5000 } } 15 | - { $zoom: [16], area: { min: 5000 } } 16 | - { $zoom: [16], area: { min: 10000 }, landuse_kind: true } 17 | - { $zoom: [16], area: { min: 7000 }, kind: [university, college, school, kindergarten] } 18 | - { $zoom: [16], volume: { min: 50000 }, name: true } 19 | - { $zoom: [17], area: { min: 3000 } } 20 | - { $zoom: [17], area: { min: 2000 }, kind: [university, college, school, kindergarten] } 21 | - { $zoom: [18], area: { min: 1000 } } 22 | - { $zoom: [18], kind: [university, college, school, kindergarten] } 23 | - { $zoom: [19], area: { min: 200 } } 24 | - { $zoom: { min: 19 }, kind: [university, college, school, kindergarten] } 25 | - { $zoom: { min: 20 }, area: true } 26 | draw: 27 | text: 28 | text_source: global.ux_language_text_source 29 | interactive: global.sdk_interactive 30 | move_into_tile: true 31 | priority: 70 32 | order: 7 33 | font: 34 | fill: [0.882,0.894,0.914] 35 | family: Aldrich 36 | size: [[17,10px],[18,11px],[20,12px]] 37 | building-labels-z16: 38 | filter: function() { if( $zoom == 16 && feature.name.length > 20 ) { return true; } else { return false; } } 39 | draw: 40 | text: 41 | visible: false 42 | building-labels-z17: 43 | filter: function() { if( $zoom == 17 && feature.name.length > 30 ) { return true; } else { return false; } } 44 | draw: 45 | text: 46 | visible: false 47 | building-labels-z20+: 48 | filter: { $zoom: { min: 20 } } 49 | draw: 50 | text: 51 | text_source: global.ux_language_text_source_building_and_address 52 | address-labels: 53 | data: { source: mapzen, layer: buildings } 54 | filter: 55 | all: 56 | - $zoom: { min: 20 } 57 | - function() { return global.text_visible_address; } 58 | any: 59 | - kind: address 60 | - { label_position: yes, addr_housenumber: true, name: false } 61 | draw: 62 | text: 63 | text_source: global.ux_language_text_source 64 | interactive: global.sdk_interactive 65 | order: 7 66 | text_source: addr_housenumber 67 | font: 68 | fill: [0.882,0.894,0.914] 69 | family: Cairo 70 | size: 10px -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/layers/buildings.yaml: -------------------------------------------------------------------------------- 1 | global: 2 | building_style: buildings_with_labels 3 | building_lines_with_or_without_labels: [0.512,0.594,0.840] 4 | 5 | layers: 6 | buildings: 7 | data: { source: mapzen } 8 | filter: 9 | not: { location: underground } 10 | draw: 11 | polygons: 12 | visible: false 13 | order: global.order 14 | # order: 6580 15 | color: [0.212,0.302,0.431] 16 | lines: 17 | style: lines 18 | order: global.order_add_1 19 | # order: 6600 20 | visible: false 21 | # color: [0.412,0.686,0.859] 22 | color: [0.004,0.165,0.933] 23 | width: 1px 24 | footprints: 25 | filter: 26 | any: 27 | # show footprints for buildings at least one zoom level before they will be extruded 28 | - { $zoom: [14], scale_rank: [0,1,2,3] } 29 | # - { $zoom: [14], area: { min: 5000 } } 30 | # - { $zoom: [14], height: { min: 190 } } 31 | # - { $zoom: [14], volume: { min: 150000 } } 32 | - { $zoom: [15], height: { min: 100 } } 33 | - { $zoom: [15], area: { min: 2500 } } 34 | - { $zoom: [15], volume: { min: 100000 } } 35 | - { $zoom: [15], scale_rank: [0,1,2,3] } 36 | - { $zoom: { min: 16 }, area: true } 37 | draw: 38 | polygons: 39 | color: [0.212,0.302,0.431] 40 | visible: true 41 | lines: 42 | color: [0.392,0.627,0.651] 43 | width: [[14,0.55px],[16,0.5px]] 44 | visible: true 45 | # before zoom 15, we want buidings to be below roads... 46 | # (once they extrude, then we want them to be above roads, which is the default data value) 47 | before_z15: 48 | filter: 49 | $zoom: { max: 16 } 50 | draw: 51 | polygons: 52 | order: 5800 #290 * 20 53 | lines: 54 | order: 5820 #291 * 20 55 | 56 | extrude: 57 | filter: 58 | all: 59 | - function() { return global.sdk_building_extrude; } 60 | - $zoom: { min: 16 } 61 | - any: 62 | - { $zoom: [16], height: { min: 60 } } 63 | - { $zoom: [16], area: { min: 1200 } } 64 | - { $zoom: [16], volume: { min: 70000 } } 65 | - { $zoom: { min: 17 } } 66 | draw: 67 | polygons: 68 | visible: true 69 | style: global.building_style 70 | color: global.pseudoRandomColor 71 | # color: [0.592,0.827,0.851] 72 | extrude: global.building_extrude_height 73 | lines: 74 | visible: true 75 | style: buildings-lns 76 | color: [[16,[0.428,0.687,0.717]],[18,global.building_lines_with_or_without_labels]] 77 | width: [[12, .1px], [14, 0.1px], [16, 0.75px], [17, 0.85px], [18, 1.0px]] 78 | extrude: global.building_extrude_height 79 | 80 | styles: 81 | geometry-dynamic-height: 82 | shaders: 83 | defines: 84 | ZOOM_START: 16.0 85 | ZOOM_END: 20.0 86 | HEIGHT_MIN: .0 87 | HEIGHT_MAX: 2.0 88 | 89 | buildings_with_labels: 90 | base: polygons 91 | mix: [polygons-building-wall] 92 | texcoords: true 93 | blend: add 94 | shaders: 95 | defines: 96 | WALL_PCT: .85 97 | WALL_HEIGHT: .85 98 | 99 | buildings_no_labels: 100 | base: polygons 101 | mix: [polygons-building-wall] 102 | texcoords: true 103 | blend: add 104 | shaders: 105 | defines: 106 | WALL_PCT: 1.0 107 | 108 | buildings-lns: 109 | base: lines 110 | mix: [geometry-dynamic-width, geometry-dynamic-height] 111 | shaders: 112 | defines: 113 | ZOOM_START: 16. 114 | ZOOM_END: 20. 115 | WIDTH_MIN: .7 116 | WIDTH_MAX: 1.0 117 | 118 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/layers/earth-labels.yaml: -------------------------------------------------------------------------------- 1 | layers: 2 | # tuck this into existing earth layer 3 | earth: 4 | earth-labels: 5 | filter: { name: true } 6 | island: 7 | filter: { kind: [archipelago, island, islet] } 8 | draw: 9 | text: 10 | visible: global.text_visible_island 11 | text_wrap: 10 12 | font: 13 | family: Orbitron 14 | size: [[10,12px],[16,16px]] 15 | fill: [0.594,0.990,0.944] 16 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/layers/earth.yaml: -------------------------------------------------------------------------------- 1 | layers: 2 | earth: 3 | data: { source: mapzen } 4 | draw: 5 | polygons: 6 | order: global.order 7 | color: [0.267,0.365,0.502] 8 | early: 9 | filter: { $zoom: { max: 7 } } 10 | draw: 11 | polygons: 12 | style: earth-early 13 | later: 14 | filter: { $zoom: { min: 7 } } 15 | draw: 16 | polygons: 17 | style: polygons 18 | color: [[7,[0.242,0.332,0.456]],[8,[0.212,0.302,0.431]]] 19 | 20 | styles: 21 | earth-early: 22 | base: polygons 23 | mix: [functions-zoom, polygons-diagonal-opaque-stripes] 24 | shaders: 25 | defines: 26 | ZOOM_START: 0. 27 | ZOOM_END: 6.5 28 | ZOOM_MAX: 6. 29 | 30 | STRIPES_ALPHA: 1. 31 | STRIPES_SCALE: mix(25.,50.,smoothstep(0.,1.,1.-zoom())) 32 | STRIPES_WIDTH: 1.-zoom()-.2 33 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/layers/landuse-labels.yaml: -------------------------------------------------------------------------------- 1 | layers: 2 | # tuck this into existing landuse layer 3 | landuse: 4 | landuse-labels: 5 | filter: 6 | all: 7 | - label_placement: true 8 | - name: true 9 | draw: 10 | text: 11 | text_source: global.ux_language_text_source 12 | move_into_tile: true 13 | priority: 100 14 | visible: global.text_visible_landuse_generic 15 | interactive: global.sdk_interactive 16 | font: 17 | family: Cairo 18 | fill: [0.149,0.871,0.992] 19 | style: italic 20 | size: 11px 21 | pier: 22 | filter: { kind: [pier] } 23 | draw: 24 | icons: 25 | size: 18px 26 | sprite: function() { return feature.kind; } 27 | priority: 65 28 | visible: global.icon_visible_poi_landuse 29 | interactive: global.sdk_interactive 30 | text: 31 | font: 32 | family: Cairo 33 | fill: [0.345,0.953,0.769] 34 | size: 11px 35 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/layers/transit.yaml: -------------------------------------------------------------------------------- 1 | layers: 2 | transit: 3 | data: { source: mapzen, layer: transit } 4 | transit-lines: 5 | filter: { not: { kind: [platform] } } 6 | draw: 7 | lines: 8 | order: global.order 9 | railway: 10 | filter: { kind: [railway,train] } 11 | draw: 12 | lines: 13 | style: railway-dashed 14 | color: [0.267,0.000,0.427] 15 | width: [[9,0.5px],[14,0.5px],[16,0.5px],[18,0.75px],[19,2px]] 16 | subway: 17 | filter: { kind: [subway,tram,light_rail] } 18 | draw: 19 | lines: 20 | style: transit-glow 21 | color: [1.00,0.000,0.250] 22 | width: [[9,0.5px],[13,2px],[16,5px],[18,9px],[20,12px]] 23 | color-light_rail: 24 | filter: { kind: [light_rail] } 25 | draw: 26 | lines: 27 | color: [0.817,0.000,1.000] 28 | width: [[9,0.5px],[13,1px],[16,3px],[18,7px],[20,10px]] 29 | color-tram: 30 | filter: { kind: [tram] } 31 | draw: 32 | lines: 33 | color: [0.817,0.000,1.000] 34 | width: [[9,0.5px],[13,0.75px],[16,2px],[18,6px],[20,9px]] 35 | early-light_rail: 36 | filter: { kind: [light_rail], $zoom: { max: 11 } } 37 | draw: 38 | lines: 39 | visible: false 40 | early-tram: 41 | filter: { kind: [tram], $zoom: { max: 12 } } 42 | draw: 43 | lines: 44 | visible: false 45 | 46 | platforms: 47 | filter: { kind: platform } 48 | draw: 49 | lines_transparent: 50 | order: function() { if($zoom<17) { return feature.sort_rank; } else { return 435; } } 51 | color: [0.278,0.412,1.000,0.20] 52 | width: 5m 53 | visible: true 54 | polygons_transparent: 55 | order: function() { if($zoom<17) { return feature.sort_rank; } else { return 435; } } 56 | polygon_geom: 57 | filter: { $geometry: polygon } 58 | draw: 59 | polygons_transparent: 60 | color: [0.278,0.412,1.000,0.20] 61 | visible: true 62 | lines_transparent: 63 | visible: false 64 | 65 | styles: 66 | transit-glow: 67 | base: lines 68 | mix: [lines-glow] 69 | shaders: 70 | defines: 71 | GLOW_WIDTH: 0.5 72 | GLOW_BRIGHTNESS: .4 73 | 74 | railway-dashed: 75 | base: lines 76 | dash: [6,2] 77 | dash_background_color: [0.212,0.302,0.427] 78 | # shaders: 79 | # blocks: 80 | # position: | 81 | # v_texcoord.y *= 11.; 82 | 83 | lines_transparent: 84 | base: lines 85 | blend: overlay 86 | 87 | polygons_transparent: 88 | base: polygons 89 | blend: overlay 90 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/styles/common.yaml: -------------------------------------------------------------------------------- 1 | import: 2 | - ../blocks/functions/zoom.yaml 3 | - ../blocks/functions/pulse.yaml 4 | - ../blocks/geometry/dynamic-width.yaml 5 | - ../blocks/geometry/dynamic-height.yaml 6 | 7 | styles: 8 | tron-palette: 9 | shaders: 10 | blocks: 11 | global: | 12 | vec3 palette(in float x) { 13 | return mix(vec3(0.000,1.000,1.), 14 | vec3(1.,0.,0.), 15 | vec3(smoothstep(0.0,1.048, x), 16 | sin(x*2.806), 17 | smoothstep(-0.512,1.072,x)))*(1.0-sin(-0.196+x*3.950)*0.380); 18 | } 19 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/styles/lines.yaml: -------------------------------------------------------------------------------- 1 | import: 2 | # Blocks 3 | - ../blocks/lines/glow.yaml 4 | - ../blocks/lines/dots.yaml 5 | - ../blocks/lines/dots-glow.yaml 6 | 7 | styles: 8 | lines-coast: 9 | base: lines 10 | texcoords: true 11 | blend: add 12 | shaders: 13 | defines: 14 | COAST_WAVES_AMOUNT: 5. 15 | COAST_WAVES_SPEED: 0.1 16 | COAST_WAVES_ANIMATED: true 17 | blocks: 18 | color: | 19 | float pct = 0.0; 20 | // glow 21 | pct = smoothstep(0.,2.,1.-v_texcoord.x); 22 | // waves 23 | #ifdef COAST_WAVES_ANIMATED 24 | pct += (1.-fract(v_texcoord.x*COAST_WAVES_AMOUNT+(fract(u_time*COAST_WAVES_SPEED))))*pct; 25 | #else 26 | pct += (1.-fract(v_texcoord.x*COAST_WAVES_AMOUNT))*pct; 27 | #endif 28 | 29 | color *= pct; 30 | lines-traffic-animation: 31 | base: lines 32 | mix: [generative-random, tron-palette, functions-zoom] 33 | texcoords: true 34 | shaders: 35 | defines: 36 | ZOOM_START: 11. 37 | ZOOM_END: 18. 38 | DATASTREAM_SPEED: 50. 39 | DATASTREAM_ROADS: 5.0 40 | DATASTREAM_MARGIN: z*.3 41 | DATASTREAM_COLOR: palette( fract(floor(v_texcoord.x*DATASTREAM_ROADS)/DATASTREAM_ROADS+u_time*.1)*z ) 42 | DATASTREAM_AMOUNT: .8 43 | DATASTREAM_ANIMATED: global.sdk_animated 44 | blocks: 45 | global: | 46 | float datastream_pattern(vec2 st, float v, float t) { 47 | float p = floor(st.y+v); 48 | return step(t, (random(p*.000001)+random(p))*.5 ); 49 | } 50 | color: | 51 | #ifdef DATASTREAM_ANIMATED 52 | vec2 st = v_texcoord.xy; 53 | float z = zoom(); 54 | float datastream_speed = (-.5 * random(floor(v_texcoord.x*DATASTREAM_ROADS)) - .5); 55 | 56 | #ifdef DATASTREAM_TWOWAYS 57 | if (st.x < 0.5) { 58 | datastream_speed *= -1.; 59 | } 60 | #endif 61 | 62 | color.rgb = mix(color.rgb, 63 | DATASTREAM_COLOR, 64 | z* 65 | datastream_pattern( st, 66 | (u_time*DATASTREAM_SPEED)*datastream_speed, 67 | DATASTREAM_AMOUNT)* 68 | smoothstep(DATASTREAM_MARGIN,1.,sin(fract(v_texcoord.x*DATASTREAM_ROADS)*3.1415)) 69 | ); 70 | #endif -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/styles/polygons.yaml: -------------------------------------------------------------------------------- 1 | import: 2 | # Blocks 3 | - ../blocks/elevation/stripes.yaml 4 | - ../blocks/elevation/dash.yaml 5 | - ../blocks/polygons/dots.yaml 6 | - ../blocks/tiling/simplex.yaml 7 | - ../blocks/generative/noise.yaml 8 | - ../blocks/polygons/stripes.yaml 9 | - ../blocks/polygons/diagonal-stripes.yaml 10 | - ../blocks/polygons/diagonal-grid.yaml 11 | # Utils 12 | - ../blocks/geometry/normal.yaml 13 | 14 | styles: 15 | polygons-diagonal-opaque-stripes: 16 | base: polygons 17 | mix: [polygons-diagonal-stripes] 18 | shaders: 19 | defines: 20 | BACKGROUND_COLOR: vec3(0.) 21 | blocks: 22 | filter: | 23 | color.rgb = mix(BACKGROUND_COLOR,color.rgb, color.a); 24 | color.a = 1.; 25 | 26 | polygons-building-wall: 27 | base: polygons 28 | mix: [functions-zoom, geometry-normal,generative-random, tron-palette, geometry-dynamic-height] 29 | texcoords: true 30 | blend: add 31 | shaders: 32 | defines: 33 | ZOOM_START: 16. 34 | ZOOM_END: 20. 35 | WALL_LINES_COLOR: vec3(0.181,0.259,0.370) 36 | WALL_PCT: 1. 37 | WALL_HEIGHT: .5 38 | blocks: 39 | color: | 40 | if (isWall()) { 41 | float r = 0.1+random(color.r)*.9; 42 | float g = 0.1+random(color.g)*.9; 43 | float b = 0.1+random(color.b)*.9; 44 | float z = zoom(); 45 | 46 | float lineWidth = 0.003*z; 47 | color = mix(vec4(0.), 48 | vec4(WALL_LINES_COLOR,1.), 49 | 1.0-(step(lineWidth,v_texcoord.x)-step(1.0-lineWidth,v_texcoord.x))* 50 | (step(lineWidth,v_texcoord.y)-step(1.0-lineWidth,v_texcoord.y)) ); 51 | vec2 st = v_texcoord.xy; 52 | if (r > 0.5 ) st = vec2(v_texcoord.x, worldPosition().z*0.01); 53 | if (g > 0.5 ) st *= mix(10.,50.,random(g)); 54 | if (b > 0.5 ) st.x += step(1., mod(st.y,2.0)) * 0.5; 55 | 56 | float n = random(floor(st)); 57 | color = mix(color, 58 | mix(vec4(WALL_LINES_COLOR, n), 59 | vec4(palette(r), 1.)*n, 60 | z), 61 | mix(.15,WALL_PCT,z)-v_texcoord.y*WALL_HEIGHT); 62 | } else { 63 | color = vec4(0.); 64 | } 65 | polygons-shimmering: 66 | base: polygons 67 | mix: [functions-zoom, tiling-simplex, generative-noise] 68 | shaders: 69 | defines: 70 | ZOOM_START: 11. 71 | ZOOM_END: 20. 72 | SHIMMERING_ZOOM_IN: 0.01 73 | SHIMMERING_ZOOM_OUT: 30. 74 | 75 | SHIMMERING_SCALE: 1. 76 | SHIMMERING_COLOR: color.rgb 77 | SHIMMERING_BACKGROUND_COLOR: color.rgb*.5 78 | SHIMMERING_SPEED: 0.1 79 | SHIMMERING_AMOUNT: 1. 80 | SHIMMERING_ANIMATED: true 81 | 82 | SPACE_CONSTANT_PIXEL_SCALE: 695. 83 | SPACE_CONSTANT_DOT_WRAP: 1e4 84 | blocks: 85 | color: | 86 | float z = mix(SHIMMERING_ZOOM_IN, SHIMMERING_ZOOM_OUT, zoom()); 87 | vec2 S = skew((worldPosition().xy*(floor(z)*0.001)*SHIMMERING_SCALE)); 88 | vec2 S_f = fract(S); 89 | #ifdef SHIMMERING_ANIMATED 90 | float n = snoise(vec3(floor(S+step(S_f.x,S_f.y)*5.),u_time*SHIMMERING_SPEED)); 91 | #else 92 | float n = snoise(floor(S+step(S_f.x,S_f.y)*5.)); 93 | #endif 94 | color.rgb = mix(SHIMMERING_COLOR, 95 | mix(SHIMMERING_BACKGROUND_COLOR,SHIMMERING_COLOR,n), 96 | SHIMMERING_AMOUNT); 97 | -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/tron-style-more-labels.yaml: -------------------------------------------------------------------------------- 1 | import: 2 | # Components 3 | - components/globals.yaml 4 | - components/fonts.yaml 5 | 6 | # Styles 7 | - styles/common.yaml 8 | - styles/points.yaml 9 | - styles/lines.yaml 10 | - styles/polygons.yaml 11 | 12 | # Layers 13 | - layers/water.yaml 14 | - layers/water-labels.yaml 15 | - layers/earth.yaml 16 | - layers/earth-labels.yaml 17 | - layers/roads.yaml 18 | - layers/roads-labels.yaml 19 | - layers/transit.yaml 20 | - layers/transit-overlay.yaml 21 | - layers/buildings.yaml 22 | - layers/buildings-labels.yaml 23 | - layers/landuse.yaml 24 | - layers/landuse-labels.yaml 25 | - layers/boundaries.yaml 26 | - layers/boundaries-labels.yaml 27 | - layers/places.yaml 28 | - layers/pois.yaml 29 | - layers/ux-sdk-overlay.yaml 30 | 31 | # Sources 32 | sources: 33 | mapzen: 34 | type: MVT 35 | url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt 36 | url_params: 37 | api_key: global.sdk_mapzen_api_key 38 | rasters: [normals-elevation] 39 | max_zoom: 16 40 | normals-elevation: 41 | type: Raster 42 | url: https://tile.mapzen.com/mapzen/terrain/v1/normal/{z}/{x}/{y}.png 43 | url_params: 44 | api_key: global.sdk_mapzen_api_key 45 | max_zoom: 15 46 | 47 | # Only enable this for local debug, should not be enabled for prod (app inserts these at runtime) 48 | # These are all in San Francisco, California 49 | # 50 | # Current location gem 51 | # mz_current_location: 52 | # type: GeoJSON 53 | # url: https://gist.githubusercontent.com/anonymous/9e9588228b0a604264a2/raw/b28be49bea0b7feb859eb65b588c28e9fee5ae2c/map.geojson 54 | # # Route line 55 | # mz_route_line: 56 | # type: GeoJSON 57 | # # sf to ny 58 | # url: https://gist.githubusercontent.com/anonymous/30c6c1a75c168d91d90c/raw/92bfe55e622766d250b1f2f5d17bdc7c26acb956/map.geojson 59 | # # local sf trip 60 | # # url: https://gist.githubusercontent.com/anonymous/9a610ebda6fe4be7bccc/raw/8d217e43f2412d48d01534ba115f1e42dac72e68/map.geojson 61 | # # Dashed route line 62 | # mz_dash_line: 63 | # type: GeoJSON 64 | # url: https://gist.githubusercontent.com/anonymous/d73b851c64c3e5fbfc2754aa32f44c10/raw/938ae435776e176919c4797bed1465a92e403ef3/map.geojson 65 | # # Transit route line 66 | # mz_route_line_transit: 67 | # type: GeoJSON 68 | # url: https://gist.githubusercontent.com/anonymous/71ae88cbc6d62c4d141ecd6a61060050/raw/2254bbc18243f5dc609e663a580c9412a7447936/map.geojson 69 | # # Pin at start of route 70 | # mz_route_start: 71 | # type: GeoJSON 72 | # url: https://gist.githubusercontent.com/anonymous/5262969cb7549ea69221/raw/be03f233fa323d9b5cf50ef1d8e89a1faa3750f1/map.geojson 73 | # # Pin at end of route 74 | # mz_route_destination: 75 | # type: GeoJSON 76 | # url: https://gist.githubusercontent.com/anonymous/dbae9635dfe46796490e/raw/df55c318635a7d91b309ed40754d4738a292fd38/map.geojson 77 | # # Arrow for current route location 78 | # mz_route_location: 79 | # type: GeoJSON 80 | # url: https://gist.githubusercontent.com/anonymous/36613092be6e2aa004fd/raw/f753d13069425199e1dea1b449ef67d723f6510e/map.geojson 81 | # # Dots for transit stops in route preview 82 | # mz_route_transit_stop: 83 | # type: GeoJSON 84 | # url: https://gist.githubusercontent.com/anonymous/b9f16bca4a804f50faf71277d52ee4ab/raw/db13e4e765fa1ac8844b8ba02f4a0f66fe772907/map.geojson 85 | # # Pins showing search result locations 86 | # mz_search_result: 87 | # type: GeoJSON 88 | # url: https://gist.githubusercontent.com/anonymous/57dc09eeb120919f76de/raw/43426217da3c2bae0522dc4257aaa61e4df3981e/map.geojson 89 | # # Default point styling (SDK) 90 | # mz_default_point: 91 | # type: GeoJSON 92 | # url: https://gist.githubusercontent.com/anonymous/16324c771edfce45be0721390389b878/raw/7dbaebf17da7da8562e6c6f8768bc8cff83efa88/map.geojson 93 | # # Default shield styling (SDK) 94 | # mz_default_shield: 95 | # type: GeoJSON 96 | # url: https://gist.githubusercontent.com/anonymous/5a789f6bd8b51b5693ba9cd57a767aa1/raw/d4523a6c9deebca125298c31085958262caa1ecd/map.geojson 97 | # # Default line styling (SDK) 98 | # mz_default_line: 99 | # type: GeoJSON 100 | # url: https://gist.githubusercontent.com/anonymous/26f4e8b6b34b2617b5d5533d89decb39/raw/df8e180ab4f7f19448014dccc4a755f7cfa20003/map.geojson 101 | # # Default polygon styling (SDK) 102 | # mz_default_polygon: 103 | # type: GeoJSON 104 | # url: https://gist.githubusercontent.com/anonymous/88235c795bb44b8c45150bdd5561f947/raw/71d4fab97b6513833bf1a589167119e6169ef86d/map.geojson 105 | 106 | # Camera 107 | cameras: 108 | cam: 109 | type: perspective 110 | 111 | scene: 112 | animated: global.sdk_animated 113 | background: 114 | color: '#364d6d' 115 | 116 | global: 117 | text_visible_building: true # false for default 118 | text_visible_address: true # false for default 119 | icon_size_green: [[13, '14px'], [16, '18px'], [18, '19px']] # 0px for no, default, more [[13, '14px'], [16, '18px'], [18, '19px']] 120 | icon_size_green_nationl_park: [[10, '18px'], [12, '28px'], [13, '36px']] # 0px for no, default, more [[10, '18px'], [12, '28px'], [13, '36px']] 121 | icon_size_green_airport: [[13, '12px'], [14, '12px'], [17, '18px'], [19, '36px']] # 0px for no, default, more [[13, '12px'], [14, '12px'], [17, '18px'], [19, '36px']] 122 | icon_size_green_l: [[14, '24px'], [16, '32px']] # 0px for no, default, more [[14, '24px'], [16, '32px']] 123 | label_visible_poi_landuse: true #false by default 124 | icon_visible_poi_landuse: true #false by default 125 | text_visible_poi_landuse: true #false by default 126 | text_visible_landuse_generic: true #false by default 127 | label_visible_station: true #false by default 128 | icon_visible_station: true #false by default -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/tron-style-no-labels.yaml: -------------------------------------------------------------------------------- 1 | import: 2 | # Components 3 | - components/globals.yaml 4 | - components/fonts.yaml 5 | 6 | # Styles 7 | - styles/common.yaml 8 | - styles/points.yaml 9 | - styles/lines.yaml 10 | - styles/polygons.yaml 11 | 12 | # Layers 13 | - layers/water.yaml 14 | - layers/water-labels.yaml 15 | - layers/earth.yaml 16 | - layers/earth-labels.yaml 17 | - layers/roads.yaml 18 | - layers/roads-labels.yaml 19 | - layers/transit.yaml 20 | - layers/transit-overlay.yaml 21 | - layers/buildings.yaml 22 | - layers/buildings-labels.yaml 23 | - layers/landuse.yaml 24 | - layers/landuse-labels.yaml 25 | - layers/boundaries.yaml 26 | - layers/boundaries-labels.yaml 27 | - layers/places.yaml 28 | - layers/pois.yaml 29 | - layers/ux-sdk-overlay.yaml 30 | 31 | # Sources 32 | sources: 33 | mapzen: 34 | type: MVT 35 | url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt 36 | url_params: 37 | api_key: global.sdk_mapzen_api_key 38 | rasters: [normals-elevation] 39 | max_zoom: 16 40 | normals-elevation: 41 | type: Raster 42 | url: https://tile.mapzen.com/mapzen/terrain/v1/normal/{z}/{x}/{y}.png 43 | url_params: 44 | api_key: global.sdk_mapzen_api_key 45 | max_zoom: 15 46 | 47 | # Only enable this for local debug, should not be enabled for prod (app inserts these at runtime) 48 | # These are all in San Francisco, California 49 | # 50 | # Current location gem 51 | # mz_current_location: 52 | # type: GeoJSON 53 | # url: https://gist.githubusercontent.com/anonymous/9e9588228b0a604264a2/raw/b28be49bea0b7feb859eb65b588c28e9fee5ae2c/map.geojson 54 | # # Route line 55 | # mz_route_line: 56 | # type: GeoJSON 57 | # # sf to ny 58 | # url: https://gist.githubusercontent.com/anonymous/30c6c1a75c168d91d90c/raw/92bfe55e622766d250b1f2f5d17bdc7c26acb956/map.geojson 59 | # # local sf trip 60 | # # url: https://gist.githubusercontent.com/anonymous/9a610ebda6fe4be7bccc/raw/8d217e43f2412d48d01534ba115f1e42dac72e68/map.geojson 61 | # # Dashed route line 62 | # mz_dash_line: 63 | # type: GeoJSON 64 | # url: https://gist.githubusercontent.com/anonymous/d73b851c64c3e5fbfc2754aa32f44c10/raw/938ae435776e176919c4797bed1465a92e403ef3/map.geojson 65 | # # Transit route line 66 | # mz_route_line_transit: 67 | # type: GeoJSON 68 | # url: https://gist.githubusercontent.com/anonymous/71ae88cbc6d62c4d141ecd6a61060050/raw/2254bbc18243f5dc609e663a580c9412a7447936/map.geojson 69 | # # Pin at start of route 70 | # mz_route_start: 71 | # type: GeoJSON 72 | # url: https://gist.githubusercontent.com/anonymous/5262969cb7549ea69221/raw/be03f233fa323d9b5cf50ef1d8e89a1faa3750f1/map.geojson 73 | # # Pin at end of route 74 | # mz_route_destination: 75 | # type: GeoJSON 76 | # url: https://gist.githubusercontent.com/anonymous/dbae9635dfe46796490e/raw/df55c318635a7d91b309ed40754d4738a292fd38/map.geojson 77 | # # Arrow for current route location 78 | # mz_route_location: 79 | # type: GeoJSON 80 | # url: https://gist.githubusercontent.com/anonymous/36613092be6e2aa004fd/raw/f753d13069425199e1dea1b449ef67d723f6510e/map.geojson 81 | # # Dots for transit stops in route preview 82 | # mz_route_transit_stop: 83 | # type: GeoJSON 84 | # url: https://gist.githubusercontent.com/anonymous/b9f16bca4a804f50faf71277d52ee4ab/raw/db13e4e765fa1ac8844b8ba02f4a0f66fe772907/map.geojson 85 | # # Pins showing search result locations 86 | # mz_search_result: 87 | # type: GeoJSON 88 | # url: https://gist.githubusercontent.com/anonymous/57dc09eeb120919f76de/raw/43426217da3c2bae0522dc4257aaa61e4df3981e/map.geojson 89 | # # Default point styling (SDK) 90 | # mz_default_point: 91 | # type: GeoJSON 92 | # url: https://gist.githubusercontent.com/anonymous/16324c771edfce45be0721390389b878/raw/7dbaebf17da7da8562e6c6f8768bc8cff83efa88/map.geojson 93 | # # Default shield styling (SDK) 94 | # mz_default_shield: 95 | # type: GeoJSON 96 | # url: https://gist.githubusercontent.com/anonymous/5a789f6bd8b51b5693ba9cd57a767aa1/raw/d4523a6c9deebca125298c31085958262caa1ecd/map.geojson 97 | # # Default line styling (SDK) 98 | # mz_default_line: 99 | # type: GeoJSON 100 | # url: https://gist.githubusercontent.com/anonymous/26f4e8b6b34b2617b5d5533d89decb39/raw/df8e180ab4f7f19448014dccc4a755f7cfa20003/map.geojson 101 | # # Default polygon styling (SDK) 102 | # mz_default_polygon: 103 | # type: GeoJSON 104 | # url: https://gist.githubusercontent.com/anonymous/88235c795bb44b8c45150bdd5561f947/raw/71d4fab97b6513833bf1a589167119e6169ef86d/map.geojson 105 | 106 | # Camera 107 | cameras: 108 | cam: 109 | type: perspective 110 | 111 | scene: 112 | animated: global.sdk_animated 113 | background: 114 | color: '#364d6d' 115 | 116 | global: 117 | #label visibility 118 | text_visible_admin: false 119 | text_visible_populated_places: false 120 | icon_visible_populated_places: false 121 | text_visible_neighbourhoods: false 122 | text_visible_neighbourhoods_e: false 123 | text_visible_water: false 124 | text_visible_water_labels: false 125 | text_visible_roads: false 126 | text_visible_building: false 127 | text_visible_address: false 128 | label_visible_landuse_green: false 129 | icon_visible_landuse_green: false 130 | icon_size_green: [[0, '0px']] # 0px for no, default, more [[13, '14px'], [16, '18px'], [18, '19px']] 131 | icon_size_green_nationl_park: [[0, '0px']] # 0px for no, default, more [[10, '18px'], [12, '28px'], [13, '36px']] 132 | icon_size_green_airport: [[0, '0px']] # 0px for no, default, more [[13, '12px'], [14, '12px'], [17, '18px'], [19, '36px']] 133 | icon_size_green_l: [[0, '0px']] # 0px for no, default, more [[14, '24px'], [16, '32px']] 134 | text_visible_landuse_green: false 135 | label_visible_poi_landuse: false #false by default 136 | icon_visible_poi_landuse: false #false by default 137 | text_visible_poi_landuse: false #false by default 138 | label_visible_poi_landuse_e: false 139 | icon_visible_poi_landuse_e: false 140 | text_visible_poi_landuse_e: false 141 | text_visible_landuse_generic: false #false by default 142 | label_visible_station: false #false by default 143 | icon_visible_station: false #false by default 144 | text_visible_station: true 145 | text_visible_island: false 146 | text_visible_aerialway: false 147 | text_visible_airport_gate: false 148 | text_visible_exits: false 149 | sdk_road_shields: false -------------------------------------------------------------------------------- /styles/tron-style-4.0.0/tron-style.yaml: -------------------------------------------------------------------------------- 1 | import: 2 | # Components 3 | - components/globals.yaml 4 | - components/fonts.yaml 5 | 6 | # Styles 7 | - styles/common.yaml 8 | - styles/points.yaml 9 | - styles/lines.yaml 10 | - styles/polygons.yaml 11 | 12 | # Layers 13 | - layers/water.yaml 14 | - layers/water-labels.yaml 15 | - layers/earth.yaml 16 | - layers/earth-labels.yaml 17 | - layers/roads.yaml 18 | - layers/roads-labels.yaml 19 | - layers/transit.yaml 20 | - layers/transit-overlay.yaml 21 | - layers/buildings.yaml 22 | - layers/buildings-labels.yaml 23 | - layers/landuse.yaml 24 | - layers/landuse-labels.yaml 25 | - layers/boundaries.yaml 26 | - layers/boundaries-labels.yaml 27 | - layers/places.yaml 28 | - layers/pois.yaml 29 | - layers/ux-sdk-overlay.yaml 30 | 31 | # Sources 32 | sources: 33 | mapzen: 34 | type: MVT 35 | url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt 36 | url_params: 37 | api_key: global.sdk_mapzen_api_key 38 | rasters: [normals-elevation] 39 | max_zoom: 16 40 | normals-elevation: 41 | type: Raster 42 | url: https://tile.mapzen.com/mapzen/terrain/v1/normal/{z}/{x}/{y}.png 43 | url_params: 44 | api_key: global.sdk_mapzen_api_key 45 | max_zoom: 15 46 | 47 | # Only enable this for local debug, should not be enabled for prod (app inserts these at runtime) 48 | # These are all in San Francisco, California 49 | # 50 | # Current location gem 51 | # mz_current_location: 52 | # type: GeoJSON 53 | # url: https://gist.githubusercontent.com/anonymous/9e9588228b0a604264a2/raw/b28be49bea0b7feb859eb65b588c28e9fee5ae2c/map.geojson 54 | # # Route line 55 | # mz_route_line: 56 | # type: GeoJSON 57 | # # sf to ny 58 | # url: https://gist.githubusercontent.com/anonymous/30c6c1a75c168d91d90c/raw/92bfe55e622766d250b1f2f5d17bdc7c26acb956/map.geojson 59 | # # local sf trip 60 | # # url: https://gist.githubusercontent.com/anonymous/9a610ebda6fe4be7bccc/raw/8d217e43f2412d48d01534ba115f1e42dac72e68/map.geojson 61 | # # Dashed route line 62 | # mz_dash_line: 63 | # type: GeoJSON 64 | # url: https://gist.githubusercontent.com/anonymous/d73b851c64c3e5fbfc2754aa32f44c10/raw/938ae435776e176919c4797bed1465a92e403ef3/map.geojson 65 | # # Transit route line 66 | # mz_route_line_transit: 67 | # type: GeoJSON 68 | # url: https://gist.githubusercontent.com/anonymous/71ae88cbc6d62c4d141ecd6a61060050/raw/2254bbc18243f5dc609e663a580c9412a7447936/map.geojson 69 | # # Pin at start of route 70 | # mz_route_start: 71 | # type: GeoJSON 72 | # url: https://gist.githubusercontent.com/anonymous/5262969cb7549ea69221/raw/be03f233fa323d9b5cf50ef1d8e89a1faa3750f1/map.geojson 73 | # # Pin at end of route 74 | # mz_route_destination: 75 | # type: GeoJSON 76 | # url: https://gist.githubusercontent.com/anonymous/dbae9635dfe46796490e/raw/df55c318635a7d91b309ed40754d4738a292fd38/map.geojson 77 | # # Arrow for current route location 78 | # mz_route_location: 79 | # type: GeoJSON 80 | # url: https://gist.githubusercontent.com/anonymous/36613092be6e2aa004fd/raw/f753d13069425199e1dea1b449ef67d723f6510e/map.geojson 81 | # # Dots for transit stops in route preview 82 | # mz_route_transit_stop: 83 | # type: GeoJSON 84 | # url: https://gist.githubusercontent.com/anonymous/b9f16bca4a804f50faf71277d52ee4ab/raw/db13e4e765fa1ac8844b8ba02f4a0f66fe772907/map.geojson 85 | # # Pins showing search result locations 86 | # mz_search_result: 87 | # type: GeoJSON 88 | # url: https://gist.githubusercontent.com/anonymous/57dc09eeb120919f76de/raw/43426217da3c2bae0522dc4257aaa61e4df3981e/map.geojson 89 | # # Default point styling (SDK) 90 | # mz_default_point: 91 | # type: GeoJSON 92 | # url: https://gist.githubusercontent.com/anonymous/16324c771edfce45be0721390389b878/raw/7dbaebf17da7da8562e6c6f8768bc8cff83efa88/map.geojson 93 | # # Default shield styling (SDK) 94 | # mz_default_shield: 95 | # type: GeoJSON 96 | # url: https://gist.githubusercontent.com/anonymous/5a789f6bd8b51b5693ba9cd57a767aa1/raw/d4523a6c9deebca125298c31085958262caa1ecd/map.geojson 97 | # # Default line styling (SDK) 98 | # mz_default_line: 99 | # type: GeoJSON 100 | # url: https://gist.githubusercontent.com/anonymous/26f4e8b6b34b2617b5d5533d89decb39/raw/df8e180ab4f7f19448014dccc4a755f7cfa20003/map.geojson 101 | # # Default polygon styling (SDK) 102 | # mz_default_polygon: 103 | # type: GeoJSON 104 | # url: https://gist.githubusercontent.com/anonymous/88235c795bb44b8c45150bdd5561f947/raw/71d4fab97b6513833bf1a589167119e6169ef86d/map.geojson 105 | 106 | # Camera 107 | cameras: 108 | cam: 109 | type: perspective 110 | 111 | scene: 112 | animated: global.sdk_animated 113 | background: 114 | color: '#364d6d' --------------------------------------------------------------------------------