Stylizacja, zmiana mapy zasięgu
This commit is contained in:
@@ -13,7 +13,7 @@ const {
|
||||
description = "",
|
||||
showMarker = false,
|
||||
mode = "full",
|
||||
mapStyleId = "8e0a97af9476f2d3" // Google DEMO mapId (legalne, bez warningów)
|
||||
mapStyleId = "8e0a97af9476f2d3"
|
||||
} = Astro.props;
|
||||
|
||||
/** ID kontenera w DOM */
|
||||
@@ -119,9 +119,11 @@ const domId = `fuz-map-${Math.random().toString(36).slice(2)}`;
|
||||
if (title || desc) {
|
||||
const info = new InfoWindow({
|
||||
content: `
|
||||
<div class="fuz-map-infowindow">
|
||||
<strong>${title}</strong><br/>
|
||||
${desc}
|
||||
<div class="f-info-window">
|
||||
<div class="f-info-header">
|
||||
<div class="f-info-city">${title}</div>
|
||||
<div class="f-info-street">${desc}</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user