ConstInitializes the module POI avec the map et la configuration. Supporte deux signatures: init(map, config) et init({map, config}).
Loads POI data from the configured endpoint and renders all markers on the map.
Equivalent to calling load() + display().
Renders an array of POI objects as markers on the map.
Array of POI objects to display.
Adds a single POI to the map and internal registry.
POI object to add.
The created MapLibre marker element, or null on failure.
Alias for POI.addPoi.
POI object to add.
true on success, false on failure.
Returns all POI objects currently in the internal registry.
Array of all POI objects.
Updates the MapLibre cluster source with a filtered POI subset
without modifying the internal full dataset (state.allPois).
Use this for filter operations to avoid data loss on subsequent filter calls.
Filtered array of POI objects to display.
Retrieves a POI by its unique identifier.
POI identifier.
The matching POI object, or null if not found.
Clears all current POI markers and re-renders the given array.
Replacement array of POI objects.
Opens the side panel and displays the detail view for the given POI.
POI object to display.
Optional custom layout configuration.
Closes the POI side panel.
Returns the MapLibre source cluster group containing all POI markers.
The cluster group or layer group, or null if not initialised.
Returns the number of POI markers currently visible on the map.
Count of displayed POIs.
API public of the module POI All functions delegate to the appropriate sub-modules