地図の見た目を変更するにはスタイルファイルを編集して下さい。Geolonia の Embed API では MapLibre GL JS スタイル と同じオプションやプロパティを使うことができます。
style.yml
は下の様になっています。地図の見た目を変更するには、layers
より下で読み込まれているレイヤーファイルを書き換えて下さい。
version: 8
{ … 省略 … }
地図の見た目を変更するにはスタイルファイルを編集して下さい。Geolonia の Embed API では MapLibre GL JS スタイル と同じオプションやプロパティを使うことができます。
style.yml
は下の様になっています。地図の見た目を変更するには、layers
より下で読み込まれているレイヤーファイルを書き換えて下さい。
version: 8
{ … 省略 … }
Append (cost=4.08..275139.53 rows=16 width=32) (actual time=21.317..26.948 rows=16 loops=1) | |
-> Aggregate (cost=4.08..4.09 rows=1 width=32) (actual time=21.316..21.317 rows=1 loops=1) | |
-> Append (cost=0.00..3.95 rows=27 width=3447) (actual time=0.202..11.278 rows=27 loops=1) | |
-> Append (cost=0.00..3.54 rows=27 width=3447) (actual time=0.202..11.274 rows=27 loops=1) | |
-> Seq Scan on ne_110m_ocean (cost=0.00..1.03 rows=2 width=41832) (actual time=0.201..10.175 rows=2 loops=1) | |
Filter: ((geometry && '0103000000010000000500000093107C45F81B73C196107C45F81B73C193107C45F81B73C193107C45F81B734193107C45F81B734193107C45F81B734193107C45F81B734196107C45F81B73C193107C45F81B73C196107C45F81B73C1'::geometry) AND (st_asmvtgeom(geometry, 'BOX(-20037508.3427892 -20037508.3427893,20037508.3427892 20037508.3427892)'::box2d, 4096, 4, true) IS NOT NULL)) | |
-> Seq Scan on ne_110m_lakes (cost=0.00..2.38 rows=25 width=376) (actual time=0 |
Ctrl+C と入力してください。
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>dem</title> | |
</head> | |
<body> | |
<pre id="pre">Please wait</pre> | |
<script> | |
function elevation(json, callback) { |