NAME

Geo::Leaflet::DivIcon - Leaflet HTML/CSS icon object

SYNOPSIS

use Geo::Leaflet;
my $map = Geo::Leaflet->new;

DESCRIPTION

This package constructs a Leaflet divIcon object for use in a Geo::Leaflet::Marker object.

CONSTRUCTORS

new

PROPERTIES

name

icon_set

$icon->icon_set('fa'); #Font Awesome v4.7

icon_name

$icon->icon_name('bicycle');

See: https://fontawesome.com/v4/icons/

icon_font_size

$icon->icon_name(48);

Default: 48

options

METHODS

stringify

JSON

SEE ALSO

AUTHOR

Michael R. Davis

COPYRIGHT AND LICENSE

Copyright (C) 2024 by Michael R. Davis

MIT LICENSE