{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/304","repository_url":"https://api.github.com/repos/angular-ui/ui-leaflet","labels_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/304/comments","events_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/304/events","html_url":"https://github.com/angular-ui/ui-leaflet/issues/304","id":181573897,"number":304,"title":"Marker base64 Image Src is prepended with path to leaflet images","user":{"login":"ctwoolsey","id":16583366,"avatar_url":"https://avatars.githubusercontent.com/u/16583366?v=3","gravatar_id":"","url":"https://api.github.com/users/ctwoolsey","html_url":"https://github.com/ctwoolsey","followers_url":"https://api.github.com/users/ctwoolsey/followers","following_url":"https://api.github.com/users/ctwoolsey/following{/other_user}","gists_url":"https://api.github.com/users/ctwoolsey/gists{/gist_id}","starred_url":"https://api.github.com/users/ctwoolsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctwoolsey/subscriptions","organizations_url":"https://api.github.com/users/ctwoolsey/orgs","repos_url":"https://api.github.com/users/ctwoolsey/repos","events_url":"https://api.github.com/users/ctwoolsey/events{/privacy}","received_events_url":"https://api.github.com/users/ctwoolsey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-07T02:43:39Z","updated_at":"2016-10-07T16:23:32Z","closed_at":"2016-10-07T03:57:40Z","body":"I have installed the leaflet and ui-leaflet via bower.\r\nThis is the line in my html:\r\n`<leaflet id=\"mapid\" lf-center=\"ctrl.courtOnMap\" markers=\"ctrl.courtMarkers\"></leaflet>`\r\n\r\nWhen I look in the browser debug console at the source code this is what I find for the source of the marker: `<div class=\"leaflet-pane leaflet-marker-pane\"><img tabindex=\"0\" class=\"leaflet-marker-icon leaflet-zoom-animated leaflet-interactive\" style=\"width: 25px; height: 41px; margin-top: -41px; margin-left: -12px; z-index: 125; transform: translate3d(278px, 125px, 0px);\" src=\"http://localhost:9000/bower_components/leaflet/dist/images/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAGmklEQVRYw7VXeUyTZxjvNnfELFuyIzOabermMZEeQC`\r\n\r\nI have temporarily fixed this issue by pointing the icon images to the leaflet image name.\r\nStarting at line 2092:\r\n`if (!isDefined(iconData) || !isDefined(iconData.iconUrl)) {\r\n            return new L.Icon.Default({\r\n                iconUrl: \"marker-icon.png\",//base64icon,\r\n                shadowUrl: \"marker-shadow.png\",//base64shadow,\r\n                iconSize: [25, 41],\r\n                iconAnchor: [12, 41],\r\n                popupAnchor: [1, -34],\r\n                shadowSize: [41, 41]\r\n            });\r\n        }`"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/comments/252297076","html_url":"https://github.com/angular-ui/ui-leaflet/issues/304#issuecomment-252297076","issue_url":"https://api.github.com/repos/angular-ui/ui-leaflet/issues/304","id":252297076,"user":{"login":"elesdoar","id":3817595,"avatar_url":"https://avatars.githubusercontent.com/u/3817595?v=3","gravatar_id":"","url":"https://api.github.com/users/elesdoar","html_url":"https://github.com/elesdoar","followers_url":"https://api.github.com/users/elesdoar/followers","following_url":"https://api.github.com/users/elesdoar/following{/other_user}","gists_url":"https://api.github.com/users/elesdoar/gists{/gist_id}","starred_url":"https://api.github.com/users/elesdoar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elesdoar/subscriptions","organizations_url":"https://api.github.com/users/elesdoar/orgs","repos_url":"https://api.github.com/users/elesdoar/repos","events_url":"https://api.github.com/users/elesdoar/events{/privacy}","received_events_url":"https://api.github.com/users/elesdoar/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T16:23:32Z","updated_at":"2016-10-07T16:23:32Z","body":"Please use leaflet-1.X branch"}}
{"actor":{"display_login":"elesdoar"}}