renamed color -> markerColor

This commit is contained in:
Lennard Voogdt
2013-10-26 13:59:18 +02:00
parent 3267149563
commit fc412a7aef
7 changed files with 50 additions and 50 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
var awesomeIcon = awesomeIcons[Math.floor(Math.random()*awesomeIcons.length)];
var geo = [rndCoordinates(51.3,51.8, 3), rndCoordinates(0.3,-0.4,3)];
L.marker(geo, {icon: L.AwesomeMarkers.icon({icon: awesomeIcon, color: color}) }).addTo(map);
L.marker(geo, {icon: L.AwesomeMarkers.icon({icon: awesomeIcon, markerColor: color}) }).addTo(map);
}
</script>
</body>