Permalink
Browse files

Fixing OSM Marker size

  • Loading branch information...
1 parent 23bfabe commit f130a83366d368364ffaf8aad07d3addbd1da28a @dragoonis dragoonis committed Feb 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/whiskyweb.js
View
@@ -110,7 +110,8 @@ var WhiskyWeb = (function() {
map.setView(new L.LatLng(lat, lon), 15).addLayer(openstreetmap);
var MapIcon = L.Icon.extend({
- iconUrl: './img/mapmarker.png'
+ iconUrl: './img/mapmarker.png',
+ iconSize: new L.Point(30, 30)
});
var marker = new L.Marker(new L.LatLng(lat, lon), {icon: new MapIcon()});

0 comments on commit f130a83

Please sign in to comment.