Download the PHP package nwn-software/maplibre without Composer
On this page you can find all versions of the php package nwn-software/maplibre. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nwn-software/maplibre
More information about nwn-software/maplibre
Files in nwn-software/maplibre
Package maplibre
Short Description Package to display maps using MapLibre
License MIT
Homepage https://github.com/nwn-software/maplibre
Informations about the package maplibre
Package to display maps using MapLibre
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
Optionally, you can publish the views using
This is the contents of the published config file:
Usage
-
Register the plugin on your panel
-
Create a filament widget
- Extend with the
NWNSoftware\Maplibre\Widgets\MapLibreWidget
Return markers with the MarkerData class
The MarkerData is a class which wraps all functions available right now, to the proper array format.
Navigating to a point on the map
Using an icon as a marker
Clicking on a marker
Opening an infolist when clicking on a marker
If you set a popup or locate to a URL this action will be ignored.
Opening a popup when clicking on a marker
Navigating to a URL when clicking on a marker
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- nwnsoftware
- All Contributors
Since this is my first plugin, the code and structure for this was heavily inspired by Saade his Filament Fullcalendar Plugin.
License
The MIT License (MIT). Please see License File for more information.
All versions of maplibre with dependencies
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0