Initial commit of unified WebGIS projects

This commit is contained in:
ilham_gmail
2026-06-11 17:42:40 +07:00
commit a0c61f2bc2
64 changed files with 7924 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WebGIS API Docs</title>
<link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css">
<style>
body{margin:0;background:#0f172a;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.topbar{padding:18px 20px;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;border-bottom:1px solid rgba(255,255,255,0.08)}
.topbar h1{margin:0;font-size:20px}
.topbar p{margin:6px 0 0;color:#cbd5e1;font-size:13px}
#swagger-ui{background:#fff}
</style>
</head>
<body>
<div class="topbar">
<h1>WebGIS API Docs</h1>
<p>OpenAPI documentation for auth, public map data, manager, and admin endpoints.</p>
</div>
<div id="swagger-ui"></div>
<script src="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js"></script>
<script src="openapi.js"></script>
<script>
window.onload = function() {
SwaggerUIBundle({
spec: window.webgisOpenApiSpec,
dom_id: '#swagger-ui',
deepLinking: true,
displayRequestDuration: true,
presets: [SwaggerUIBundle.presets.apis],
layout: 'BaseLayout'
});
};
</script>
</body>
</html>