Skip to content

badbrad2889/leaflet_markers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

leaflet_markers

color variations of the standard leaflet markers: #test comment

Color Marker 2x Marker
black Marker black 2x Marker black
blue Marker blue 2x Marker blue
blurple Marker blurple 2x Marker blurple
dark-blue Marker dark-blue 2x Marker dark-blue
dark-blurple Marker dark-blurple 2x Marker dark-blurple
dark-faded-blurple Marker dark-faded-blurple 2x Marker dark-faded-blurple
dark-fuchsia Marker dark-fuchsia 2x Marker dark-fuchsia
dark-gold Marker dark-gold 2x Marker dark-gold
dark-graveyard-green Marker dark-graveyard-green 2x Marker dark-graveyard-green
dark-green Marker dark-green 2x Marker dark-green
dark-grey Marker dark-grey 2x Marker dark-grey
dark-happy-orange Marker dark-happy-orange 2x Marker dark-happy-orange
dark-lime Marker dark-lime 2x Marker dark-lime
dark-orange Marker dark-orange 2x Marker dark-orange
dark-red-orange Marker dark-red-orange 2x Marker dark-red-orange
dark-red Marker dark-red 2x Marker dark-red
dark-sad-orange Marker dark-sad-orange 2x Marker dark-sad-orange
dark-sad-purple Marker dark-sad-purple 2x Marker dark-sad-purple
dark-seafoam Marker dark-seafoam 2x Marker dark-seafoam
dark-teal Marker dark-teal 2x Marker dark-teal
dark-violet Marker dark-violet 2x Marker dark-violet
dark-yellow-green Marker dark-yellow-green 2x Marker dark-yellow-green
dark-yellow Marker dark-yellow 2x Marker dark-yellow
faded-blurple Marker faded-blurple 2x Marker faded-blurple
fuchsia Marker fuchsia 2x Marker fuchsia
gold Marker gold 2x Marker gold
graveyard-green Marker graveyard-green 2x Marker graveyard-green
green Marker green 2x Marker green
grey Marker grey 2x Marker grey
happy-orange Marker happy-orange 2x Marker happy-orange
light-blue Marker light-blue 2x Marker light-blue
light-blurple Marker light-blurple 2x Marker light-blurple
light-faded-blurple Marker light-faded-blurple 2x Marker light-faded-blurple
light-fuschia Marker light-fuschia 2x Marker light-fuschia
light-gold Marker light-gold 2x Marker light-gold
light-graveyard-green Marker light-graveyard-green 2x Marker light-graveyard-green
light-green Marker light-green 2x Marker light-green
light-grey Marker light-grey 2x Marker light-grey
light-happy-orange Marker light-happy-orange 2x Marker light-happy-orange
light-lime Marker light-lime 2x Marker light-lime
light-orange Marker light-orange 2x Marker light-orange
light-red-orange Marker light-red-orange 2x Marker light-red-orange
light-red Marker light-red 2x Marker light-red
light-sad-orange Marker light-sad-orange 2x Marker light-sad-orange
light-sad-purple Marker light-sad-purple 2x Marker light-sad-purple
light-seafoam Marker light-seafoam 2x Marker light-seafoam
light-teal Marker light-teal 2x Marker light-teal
light-violet Marker light-violet 2x Marker light-violet
light-yellow-green Marker light-yellow-green 2x Marker light-yellow-green
light-yellow Marker light-yellow 2x Marker light-yellow
lime Marker lime 2x Marker lime
new-seafoam Marker new-seafoam 2x Marker new-seafoam
orange Marker orange 2x Marker orange
red-orange Marker red-orange 2x Marker red-orange
red Marker red 2x Marker red
sad-orange Marker sad-orange 2x Marker sad-orange
sad-purple Marker sad-purple 2x Marker sad-purple
teal Marker teal 2x Marker teal
violet Marker violet 2x Marker violet
yellow-green Marker yellow-green 2x Marker yellow-green
yellow Marker yellow 2x Marker yellow

Usage

var greenIcon = new L.Icon({
  iconUrl: 'https://raw.githubusercontent.com/badbrad2889/leaflet_markers/master/img/marker-icon-2x-green.png',
  shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
  iconSize: [25, 41],
  iconAnchor: [12, 41],
  popupAnchor: [1, -34],
  shadowSize: [41, 41]
});

L.marker([51.5, -0.09], {icon: greenIcon}).addTo(map);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published