kekscom / osmbuildings

OSM Buildings Classic 2.5D
http://osmbuildings.org
BSD 2-Clause "Simplified" License
505 stars 140 forks source link

shadows:false doesn't work #33

Closed ximex closed 11 years ago

ximex commented 11 years ago

Example with Leaflet and geoJSON

I set shadows to false but it always renders the shadows. I also tried 'shadows':'false'

var buildings = new L.BuildingsLayer().addTo(map).setStyle({'wallColor':'rgb(255,0,0)','roofColor':'rgb(0,0,255)','shadows':false}).geoJSON(data,true);

kekscom commented 11 years ago

Fixed in latest version in master.