Mojolicious::Plugin::Leafletjs - A Mojolicious Plugin
# Mojolicious $self->plugin( 'Leafletjs' => { longitude => '75', latitude => '-0.5' } );
# Mojolicious::Lite plugin 'Leafletjs', { longitude => '75', latitude => '-0.5' };
# In your template <%= leaflet %> <%= leaflet_marker 'marker1', '75.02', '-35.02' %>
Mojolicious::Plugin::Leafletjs is helpers for integrating simple maps via leafletjs
Accepts the following key/value:
* Is required
Accepts the following positional arguments:
Always welcomed! https://github.com/battlemidget/Mojolicious-Plugin-Leafletjs
Adam Stokes <adamjs@cpan.org>
Copyright 2013- Adam Stokes
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Mojolicious::Plugin::Leafletjs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::Leafletjs
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::Leafletjs
For more information on module installation, please visit the detailed CPAN module installation guide.