Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenLayers3 #105

Open
cscredhat opened this issue Jul 10, 2017 · 2 comments
Open

OpenLayers3 #105

cscredhat opened this issue Jul 10, 2017 · 2 comments

Comments

@cscredhat
Copy link

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.
console

I hope you can take a little time to fix this problem,thanks a lot !

@kekscom
Copy link
Owner

kekscom commented Jul 10, 2017

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.

@cscredhat
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants