]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/components/Map.svelte
svelte 4.x => 5.0
[nominatim-ui.git] / src / components / Map.svelte
index 7b1318713d7516946a5f438a896603464255eb24..bc2489f35ba74efd03015d562433e7a9c94dccdf 100644 (file)
 </script>
 
 <MapPosition />
 </script>
 
 <MapPosition />
-<div id="map" use:mapAction />
+<div id="map" use:mapAction></div>
 <button id="show-map-position" class="leaflet-bar btn btn-sm btn-outline-secondary"
       on:click|stopPropagation={show_map_position_click}
 >show map bounds</button>
 <button id="show-map-position" class="leaflet-bar btn btn-sm btn-outline-secondary"
       on:click|stopPropagation={show_map_position_click}
 >show map bounds</button>