From 0e4ed11bfaf67bda06fc9f535890e1860e80d3ff Mon Sep 17 00:00:00 2001 From: Lennard Voogdt Date: Sun, 17 Mar 2013 17:01:15 +0100 Subject: [PATCH] detectRetina:true for examples --- examples/basic-example.html | 3 ++- examples/random-markers.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/basic-example.html b/examples/basic-example.html index 15fc496b9b..3d8744bb3c 100644 --- a/examples/basic-example.html +++ b/examples/basic-example.html @@ -24,7 +24,8 @@ L.tileLayer('http://{s}.tile.cloudmade.com/{key}/22677/256/{z}/{x}/{y}.png', { attribution: 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade. Font Awesome by Dave Gandy', - key: 'BC9A493B41014CAABB98F0471D759707' + key: 'BC9A493B41014CAABB98F0471D759707', + detectRetina: true }).addTo(map); L.marker([51.941196,4.512291], {icon: L.AwesomeMarkers.icon({icon: 'spinner', color: 'red', spin:true}) }).addTo(map); diff --git a/examples/random-markers.html b/examples/random-markers.html index 3027a4119e..4715834a3c 100644 --- a/examples/random-markers.html +++ b/examples/random-markers.html @@ -24,7 +24,8 @@ L.tileLayer('http://{s}.tile.cloudmade.com/{key}/22677/256/{z}/{x}/{y}.png', { attribution: 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade. Font Awesome by Dave Gandy', - key: 'BC9A493B41014CAABB98F0471D759707' + key: 'BC9A493B41014CAABB98F0471D759707', + detectRetina: true }).addTo(map); var colors = ['red', 'blue', 'green', 'purple', 'orange', 'darkred', 'darkblue', 'darkgreen', 'cadetblue', 'darkpurple'];