Installation¶
Using the conda-forge package¶
A package for xleaflet is available on the mamba package manager. The package will also pull all the dependencies.
mamba install xleaflet -c conda-forge
From source with cmake¶
You can also install xleaflet
from source with cmake. On Unix platforms, from the source directory:
However, you need to make sure to have the required libraries available on your machine.
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix ..
make install
On Windows platforms, from the source directory:
mkdir build
cd build
cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=/path/to/prefix ..
nmake
nmake install