Fix 20nm compare page to use delivery schema

This commit is contained in:
OpenAI Codex
2026-03-31 16:14:02 +08:00
parent 08a12dd66b
commit 1a90927c26
2 changed files with 42 additions and 3 deletions

View File

@@ -237,7 +237,7 @@
<div class="toolbar">
<div>
<div class="title">唐津 20 海里对比页</div>
<div class="subtitle">左侧是原始版 <code>style.json</code>,右侧是更贴近旧视觉的兼容 delivery 样式 + 唐津 20 海里 delivery PBF。两边联动同步点击任一对象可查看属性适合直接肉眼排差异。</div>
<div class="subtitle">左侧是原始版 <code>style.json</code>,右侧是当前交付线使用的 delivery 样式 + 唐津 20 海里 delivery PBF。两边联动同步点击任一对象可查看属性适合直接肉眼排差异。</div>
</div>
<div class="toolbar-actions">
<button id="reload-btn" type="button">重新加载</button>
@@ -256,7 +256,7 @@
<section class="pane">
<div class="pane-tag">
<strong style="color: var(--right);">右侧 · Delivery</strong>
<span>兼容旧视觉 delivery style + 唐津 20 海里 PBF</span>
<span>正式 delivery style + 唐津 20 海里 PBF</span>
</div>
<div id="map-delivery" class="map"></div>
</section>
@@ -289,7 +289,7 @@
<script src="https://unpkg.com/maplibre-gl@4.7.1/dist/maplibre-gl.js"></script>
<script>
const ORIGINAL_STYLE_URL = "./style.json";
const DELIVERY_STYLE_URL = "./domain/style.compare-delivery-karatsu-10nm.json";
const DELIVERY_STYLE_URL = "./domain/style.navsea-delivery-karatsu-10nm.json";
const ORIGINAL_TILE_URL = "http://192.168.200.184/newpec/exported_auto/tile.mapple-on.jp__newpec-mvt-20260106__z___x___y_.pbf/tiles/{z}/{x}/{y}.pbf";
const DELIVERY_TILE_URL = "http://192.168.200.184/pbf-delivery-karatsu-20nm/{z}/{x}/{y}.pbf";
const INITIAL_VIEW = {