osmbuildings
osmbuildings copied to clipboard
OpenLayers3
Hi, I have tried to use OSMBuildings-OL3 in my project to render a city but failed,then I tried to run the file https://github.com/kekscom/osmbuildings/blob/master/tests/ol3.html but could not show any buildings on ol3. Finally I thought that I found the cause of the problem. Here's the screenshot of the problem I have found.
I hope you can take a little time to fix this problem,thanks a lot !
Hi, OpenLayers3 is not officially supported and I can't barely give support. If there is anything you would like me to have a look at, please prepare an example with your code. Thank you very much.
I had found a bug about the plugin OSMBuildings-OL3 in this project. There is a problem with the code " map.get('target').id
" at line 33 of the file https://github.com/kekscom/osmbuildings/blob/master/src/engines/OL3.js .It causes ol3 can not show the building when I use this plugin.
In fact,the code "map.get('target')
" has got the id of the map,and then call ".id
" is superfluous.Here is the test code. test.zip,I hope you can fix it.Thank you very much.