{"action":"created","issue":{"url":"https://api.github.com/repos/hiasinho/Leaflet.vector-markers/issues/9","repository_url":"https://api.github.com/repos/hiasinho/Leaflet.vector-markers","labels_url":"https://api.github.com/repos/hiasinho/Leaflet.vector-markers/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/hiasinho/Leaflet.vector-markers/issues/9/comments","events_url":"https://api.github.com/repos/hiasinho/Leaflet.vector-markers/issues/9/events","html_url":"https://github.com/hiasinho/Leaflet.vector-markers/issues/9","id":106035735,"number":9,"title":"marker shadows","user":{"login":"adriennn","id":7082644,"avatar_url":"https://avatars.githubusercontent.com/u/7082644?v=3","gravatar_id":"","url":"https://api.github.com/users/adriennn","html_url":"https://github.com/adriennn","followers_url":"https://api.github.com/users/adriennn/followers","following_url":"https://api.github.com/users/adriennn/following{/other_user}","gists_url":"https://api.github.com/users/adriennn/gists{/gist_id}","starred_url":"https://api.github.com/users/adriennn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriennn/subscriptions","organizations_url":"https://api.github.com/users/adriennn/orgs","repos_url":"https://api.github.com/users/adriennn/repos","events_url":"https://api.github.com/users/adriennn/events{/privacy}","received_events_url":"https://api.github.com/users/adriennn/received_events","type":"User","site_admin":false},"labels":[{"id":128425941,"url":"https://api.github.com/repos/hiasinho/Leaflet.vector-markers/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-09-11T15:38:37Z","updated_at":"2016-11-08T19:13:34Z","closed_at":null,"body":"I see you have SVG shadows on your todo list.\nWhat I am doing is using css to create the drop shadows, it's not as pretty as handmade png shadows (which kind of defeat the idea of svg markers ;-) ), but maybe one can tweak the values. This is what I'm doing:\n\nCreate the marker\n\n``` javascript\n\n              var myVectorMarkerIcon = L.VectorMarkers.icon({\n                prefix: 'fa',\n                icon: 'check',\n                markerColor: 'lightgray',\n            });\n\n```\n\nand then in with css (note that you need to set the style specifically for the full class with the marker color. Note also that this shadow settings is for the default marker):\n\n``` css\n\n.vector-marker-icon-blue:before {\n     position: absolute;\n     content: \"\";\n     z-index: -1;\n     right: 22px;\n     bottom: -5px;\n     width: 60%;\n     height: 30%;         \n     box-shadow: 30px -10px 10px rgba(0,0,0,0.4);\n -webkit-transform: skew(150deg);\n -moz-transform: skew(150deg);\n  -ms-transform: skew(150deg);\n  -o-transform: skew(150deg);\n    transform: skew(150deg); \n    -webkit-transform-origin: 50% 50%;\n     -moz-transform-origin: 50% 50%;\n    -ms-transform-origin: 50% 50%;\n    -o-transform-origin: 50% 50%;\n    transform-origin: 50% 50%;\n }\n}\n\n```\n\nResult:\n\n![shadow](https://cloud.githubusercontent.com/assets/7082644/9836570/20a75188-5a27-11e5-919e-f523081fb817.png)\n\nedit: there might be a way to embellish the shadow by using the drop-shadow filter in css but I haven't trie it yet.\n"},"comment":{"url":"https://api.github.com/repos/hiasinho/Leaflet.vector-markers/issues/comments/259230594","html_url":"https://github.com/hiasinho/Leaflet.vector-markers/issues/9#issuecomment-259230594","issue_url":"https://api.github.com/repos/hiasinho/Leaflet.vector-markers/issues/9","id":259230594,"user":{"login":"zakjan","id":173585,"avatar_url":"https://avatars.githubusercontent.com/u/173585?v=3","gravatar_id":"","url":"https://api.github.com/users/zakjan","html_url":"https://github.com/zakjan","followers_url":"https://api.github.com/users/zakjan/followers","following_url":"https://api.github.com/users/zakjan/following{/other_user}","gists_url":"https://api.github.com/users/zakjan/gists{/gist_id}","starred_url":"https://api.github.com/users/zakjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakjan/subscriptions","organizations_url":"https://api.github.com/users/zakjan/orgs","repos_url":"https://api.github.com/users/zakjan/repos","events_url":"https://api.github.com/users/zakjan/events{/privacy}","received_events_url":"https://api.github.com/users/zakjan/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T19:13:34Z","updated_at":"2016-11-08T19:13:34Z","body":"This seems to be implemented in https://github.com/hiasinho/Leaflet.vector-markers/commit/32eccc34bc0f612d73af7062d1d48e81bd9628eb"}}
{"actor":{"display_login":"zakjan"}}