This commit is contained in:
Emilio Pardo Pérez 2022-09-30 16:06:26 +05:30 committed by GitHub
commit 34e41480ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 33 deletions

View file

@ -1,32 +1,3 @@
@font-face {
font-family: 'OpenSans';
src: url('/fonts/OpenSans-Regular.ttf');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'OpenSans';
src: url('/fonts/OpenSans-Italic.ttf');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'OpenSans';
src: url('/fonts/OpenSans-Bold.ttf');
font-weight: bold;
font-style: normal;
}
body{
background-color: #fff;
color: #212121;
font-family:'OpenSans', sans-serif, Arial;
font-size: 14px;
margin:0;
background-repeat:no-repeat !important;
background-size: contain !important;
background-image: url(/images/header-map-1280px.png);
}
a{ a{
color: #499DCE; color: #499DCE;
transition: color .2s; transition: color .2s;

View file

@ -14,6 +14,37 @@
return false; return false;
} }
</script> </script>
<style>
@font-face {
font-family: "OpenSans";
src: url("{{public_url}}fonts/OpenSans-Regular.ttf");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "OpenSans";
src: url("{{public_url}}fonts/OpenSans-Italic.ttf");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: "OpenSans";
src: url("{{public_url}}fonts/OpenSans-Bold.ttf");
font-weight: bold;
font-style: normal;
}
body{
background-color: #fff;
color: #212121;
font-family:"OpenSans", sans-serif, Arial;
font-size: 14px;
margin:0;
background-repeat:no-repeat !important;
background-size: contain !important;
background-image: url({{public_url}}/images/header-map-1280px.png);
}
</style>
</head> </head>
<body> <body>
<section> <section>

View file

@ -11,7 +11,7 @@
<ows:Operation name="GetCapabilities"> <ows:Operation name="GetCapabilities">
<ows:DCP> <ows:DCP>
<ows:HTTP> <ows:HTTP>
<ows:Get xlink:href="{{baseUrl}}/wmts/{{id}}/"> <ows:Get xlink:href="{{public_url}}wmts/{{id}}/">
<ows:Constraint name="GetEncoding"> <ows:Constraint name="GetEncoding">
<ows:AllowedValues> <ows:AllowedValues>
<ows:Value>RESTful</ows:Value> <ows:Value>RESTful</ows:Value>
@ -24,7 +24,7 @@
<ows:Operation name="GetTile"> <ows:Operation name="GetTile">
<ows:DCP> <ows:DCP>
<ows:HTTP> <ows:HTTP>
<ows:Get xlink:href="{{baseUrl}}/styles/"> <ows:Get xlink:href="{{public_url}}styles/">
<ows:Constraint name="GetEncoding"> <ows:Constraint name="GetEncoding">
<ows:AllowedValues> <ows:AllowedValues>
<ows:Value>RESTful</ows:Value> <ows:Value>RESTful</ows:Value>
@ -50,7 +50,7 @@
<TileMatrixSetLink> <TileMatrixSetLink>
<TileMatrixSet>GoogleMapsCompatible</TileMatrixSet> <TileMatrixSet>GoogleMapsCompatible</TileMatrixSet>
</TileMatrixSetLink> </TileMatrixSetLink>
<ResourceURL format="image/png" resourceType="tile" template="{{baseUrl}}/styles/{{id}}/{TileMatrix}/{TileCol}/{TileRow}.png{{key_query}}"/> <ResourceURL format="image/png" resourceType="tile" template="{{public_url}}styles/{{id}}/{TileMatrix}/{TileCol}/{TileRow}.png{{key_query}}"/>
</Layer><TileMatrixSet> </Layer><TileMatrixSet>
<ows:Title>GoogleMapsCompatible</ows:Title> <ows:Title>GoogleMapsCompatible</ows:Title>
<ows:Abstract>GoogleMapsCompatible EPSG:3857</ows:Abstract> <ows:Abstract>GoogleMapsCompatible EPSG:3857</ows:Abstract>
@ -403,5 +403,5 @@
<MatrixHeight>262144</MatrixHeight> <MatrixHeight>262144</MatrixHeight>
</TileMatrix></TileMatrixSet> </TileMatrix></TileMatrixSet>
</Contents> </Contents>
<ServiceMetadataURL xlink:href="{{baseUrl}}/wmts/{{id}}/"/> <ServiceMetadataURL xlink:href="{{public_url}}wmts/{{id}}/"/>
</Capabilities> </Capabilities>