diff --git a/dist/images/markers-matte.png b/dist/images/markers-matte.png index 61100afdf..178258665 100644 Binary files a/dist/images/markers-matte.png and b/dist/images/markers-matte.png differ diff --git a/dist/images/markers-matte@2x.png b/dist/images/markers-matte@2x.png new file mode 100644 index 000000000..c981244dd Binary files /dev/null and b/dist/images/markers-matte@2x.png differ diff --git a/dist/images/markers-plain.png b/dist/images/markers-plain.png index accd750cf..763f35893 100644 Binary files a/dist/images/markers-plain.png and b/dist/images/markers-plain.png differ diff --git a/dist/images/markers-shadow@2x.png b/dist/images/markers-shadow@2x.png new file mode 100644 index 000000000..1116503f6 Binary files /dev/null and b/dist/images/markers-shadow@2x.png differ diff --git a/dist/images/markers-soft.png b/dist/images/markers-soft.png index 0f90481f3..15e58e6b9 100644 Binary files a/dist/images/markers-soft.png and b/dist/images/markers-soft.png differ diff --git a/dist/images/markers-soft@2x.png b/dist/images/markers-soft@2x.png new file mode 100644 index 000000000..d42d5ac0f Binary files /dev/null and b/dist/images/markers-soft@2x.png differ diff --git a/dist/leaflet.awesome-markers.css b/dist/leaflet.awesome-markers.css index ffc348827..e7f81957d 100644 --- a/dist/leaflet.awesome-markers.css +++ b/dist/leaflet.awesome-markers.css @@ -22,6 +22,19 @@ Version: 1.0 height: 16px; } +/* Retina displays */ +@media (min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2), +(-webkit-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5),(min-resolution: 1.5dppx) { + .awesome-marker { + background-image: url('images/markers-soft@2x.png'); + background-size: 360px 46px; + } + .awesome-marker-shadow { + background-image: url('images/markers-shadow@2x.png'); + background-size: 35px 16px; + } +} + .awesome-marker i { color: #333; margin-top: 10px;