bash app.html MapLibrary from the main package, and MaplibreProvider and the CSS file from the integration package.MaplibreProvider.create. Then load the library with MapLibrary.load. After that, adapt the provider with library.provider.adapt and create the map manager with library.manager.create.MaplibreProvider.create takes a maplibregl.MapOptions object with an optional theme: 'light' or 'dark'. The theme has no effect when the options set a style.app.ts provider.getMap. You can then use the MapLibre API on the map directly.maplibregl from the integration
package. Do not install maplibre-gl separately. The provider creates the map with this maplibregl so that
the map and the classes always have the same version.app.ts MapMarkerOptions objects. Each object needs a unique id, the coordinates and the HTMLElement of the tooltip. Then pass the array to the insertMarkers method of the map manager.app.ts rank: a whole number of at least 1, which is the default.layer: a whole number, 0 by default. A marker makes space only for the markers on its own layer and on the layers
above it. The markers on lower layers do not affect it.orientation: MapMarkerOrientation.Dynamic (the default) lets the library select the side of the marker
where the tooltip shows. MapMarkerOrientation.Centered keeps the tooltip and the popup at the center of the marker.HTMLElement:dimensions: the size of the element.style: the appearance of the element. Its colors must be hex values.initialize: a callback that initializes the element when it shows for the first time.dimensions, the library measures each element. When you have many complex elements, set the
dimensions manually to skip the measurement and make the markers load faster.app.ts app.ts insertMarkers keeps it and ignores its new options, so you can call the
same method again with the markers of the visible area each time the map moves. To change the options of a marker, remove the marker and insert
it again. Insertions and removals run in the sequence of the calls. If you make a call while a different call runs, the new call waits until
the first call is complete.removeMarkers method. To remove all the markers, use the clearMarkers method. It also removes the markers of the insertions that you called before it, even if they have not finished
yet.app.ts showTooltip method. The map moves to the marker and zooms in until its tooltip shows.
To open or close the popup of a marker, use the showPopup and hidePopup methods.app.ts on. To remove it, use off with
the same listener function.'error' event reports the errors that occur while the manager responds to the map, outside of your calls, so you cannot
catch them in your code. If the cleared value is true, the manager removed all the markers to recover and you must insert
them again.app.ts 'redeploy' event occurs once, when the API starts to serve a newer version of the library than the one that the page
loaded. To use the new version, load the library and create the map manager again, or reload the page.'offline' event occurs when a request to the API fails because of a network error, for example when the device loses
its connection. Use it to tell the user that the markers cannot update.app.ts MapManagerConfiguration object to library.manager.create. It controls how the pins fade, how the map pans to an open popup and how the markers move to
make space for each other.app.ts library.manager.create. To load it together
with the library instead, pass the preload option to MapLibrary.load.app.ts app.ts