Bereich Tooltip Bereich und Standort enthalten
This commit is contained in:
@@ -55,8 +55,11 @@ const useBereicheMarkersLayer = (map, oms, apiUrl) => {
|
||||
|
||||
// Tooltip statt Popup
|
||||
marker.bindTooltip(
|
||||
`<strong>ID Location:</strong> ${item.idLocation} <br />
|
||||
<strong>ID Map:</strong> ${item.idMaps}`,
|
||||
`
|
||||
<strong>Bereich:</strong> ${item.location_name} <br />
|
||||
<strong>Standort:</strong> ${item.area_name} <br />
|
||||
|
||||
`,
|
||||
{
|
||||
permanent: false, // Tooltip wird nur bei Mouseover angezeigt
|
||||
direction: "top", // Position des Tooltips relativ zum Marker
|
||||
@@ -115,8 +118,10 @@ const useBereicheMarkersLayer = (map, oms, apiUrl) => {
|
||||
|
||||
// Tooltip
|
||||
marker.bindTooltip(
|
||||
`<strong>ID Location:</strong> ${item.idLocation} <br />
|
||||
<strong>ID Map:</strong> ${item.idMaps}`,
|
||||
`
|
||||
<strong>locatin_name:</strong> ${item.location_name} <br />
|
||||
<strong> area_name:</strong> ${item.area_name} <br />
|
||||
`,
|
||||
{
|
||||
permanent: false,
|
||||
direction: "top",
|
||||
|
||||
Reference in New Issue
Block a user