Skip to content

Commit

Permalink
deploy: bcd5604
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Feb 23, 2025
1 parent b46a8d5 commit 06e4c91
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion mbtiles-diff.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ <h2 id="mbtiles-diff"><a class="header" href="#mbtiles-diff"><code>mbtiles diff<
<pre><code class="language-bash"># This command will compare `file1.mbtiles` and `file2.mbtiles`, and generate a new diff file `diff.mbtiles`.
mbtiles diff file1.mbtiles file2.mbtiles diff.mbtiles

# If diff.mbtiles is applied to file1.mbtiles, it will produce file2.mbtiles
# If diff.mbtiles is applied to file1.mbtiles, it will produce file2.mbtiles
mbtiles apply-patch file1.mbtiles diff.mbtiles file2a.mbtiles

# file2.mbtiles and file2a.mbtiles should now be the same
Expand Down
14 changes: 7 additions & 7 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h1 class="menu-title">Martin Tile Server Documentation</h1>
curl -L -O https://github.com/maplibre/martin/raw/main/tests/fixtures/mbtiles/world_cities.mbtiles

# Download the latest version of Martin binary, extract it, and make it executable
curl -L -O https://github.com/maplibre/martin/releases/latest/download/martin-x86_64-unknown-linux-gnu.tar.gz
curl -L -O https://github.com/maplibre/martin/releases/latest/download/martin-x86_64-unknown-linux-gnu.tar.gz
tar -xzf martin-x86_64-unknown-linux-gnu.tar.gz
chmod +x ./martin

Expand Down Expand Up @@ -398,15 +398,15 @@ <h3 id="building-from-source"><a class="header" href="#building-from-source">Bui
Only modifies the JSON (TileJSON) returned, martins' API-URLs remain unchanged. If you need to rewrite URLs, please use a reverse proxy.
Must begin with a `/`.
Examples: `/`, `/tiles`

-W, --workers &lt;WORKERS&gt;
Number of web server workers

--preferred-encoding &lt;PREFERRED_ENCODING&gt;
Martin server preferred tile encoding. If the client accepts multiple compression formats, and the tile source is not pre-compressed, which compression should be used. `gzip` is faster, but `brotli` is smaller, and may be faster with caching. Defaults to gzip

[possible values: brotli, gzip]

-u, --webui &lt;WEB_UI&gt;
Control Martin web UI. Disabled by default

Expand Down Expand Up @@ -628,11 +628,11 @@ <h3 id="update-the-configuration"><a class="header" href="#update-the-configurat
ServerAdmin webmaster@localhost
DocumentRoot /var/www/mydomain
ProxyPreserveHost On

RewriteEngine on
RewriteCond %{REQUEST_URI} ^/tiles/(.*)$
RewriteRule ^/tiles/(.*)$ http://localhost:3000/tiles/$1 [P,L]

&lt;IfModule mod_headers.c&gt;
RequestHeader set X-Forwarded-Proto "https"
&lt;/IfModule&gt;
Expand Down Expand Up @@ -1825,7 +1825,7 @@ <h2 id="mbtiles-diff"><a class="header" href="#mbtiles-diff"><code>mbtiles diff<
<pre><code class="language-bash"># This command will compare `file1.mbtiles` and `file2.mbtiles`, and generate a new diff file `diff.mbtiles`.
mbtiles diff file1.mbtiles file2.mbtiles diff.mbtiles

# If diff.mbtiles is applied to file1.mbtiles, it will produce file2.mbtiles
# If diff.mbtiles is applied to file1.mbtiles, it will produce file2.mbtiles
mbtiles apply-patch file1.mbtiles diff.mbtiles file2a.mbtiles

# file2.mbtiles and file2a.mbtiles should now be the same
Expand Down
2 changes: 1 addition & 1 deletion quick-start-linux.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ <h2 id="quick-start-on-linux"><a class="header" href="#quick-start-on-linux">Qui
curl -L -O https://github.com/maplibre/martin/raw/main/tests/fixtures/mbtiles/world_cities.mbtiles

# Download the latest version of Martin binary, extract it, and make it executable
curl -L -O https://github.com/maplibre/martin/releases/latest/download/martin-x86_64-unknown-linux-gnu.tar.gz
curl -L -O https://github.com/maplibre/martin/releases/latest/download/martin-x86_64-unknown-linux-gnu.tar.gz
tar -xzf martin-x86_64-unknown-linux-gnu.tar.gz
chmod +x ./martin

Expand Down
4 changes: 2 additions & 2 deletions run-with-apache.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ <h3 id="update-the-configuration"><a class="header" href="#update-the-configurat
ServerAdmin webmaster@localhost
DocumentRoot /var/www/mydomain
ProxyPreserveHost On

RewriteEngine on
RewriteCond %{REQUEST_URI} ^/tiles/(.*)$
RewriteRule ^/tiles/(.*)$ http://localhost:3000/tiles/$1 [P,L]

&lt;IfModule mod_headers.c&gt;
RequestHeader set X-Forwarded-Proto "https"
&lt;/IfModule&gt;
Expand Down
6 changes: 3 additions & 3 deletions run-with-cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,15 @@ <h2 id="command-line-interface"><a class="header" href="#command-line-interface"
Only modifies the JSON (TileJSON) returned, martins' API-URLs remain unchanged. If you need to rewrite URLs, please use a reverse proxy.
Must begin with a `/`.
Examples: `/`, `/tiles`

-W, --workers &lt;WORKERS&gt;
Number of web server workers

--preferred-encoding &lt;PREFERRED_ENCODING&gt;
Martin server preferred tile encoding. If the client accepts multiple compression formats, and the tile source is not pre-compressed, which compression should be used. `gzip` is faster, but `brotli` is smaller, and may be faster with caching. Defaults to gzip

[possible values: brotli, gzip]

-u, --webui &lt;WEB_UI&gt;
Control Martin web UI. Disabled by default

Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 06e4c91

Please sign in to comment.