-
Notifications
You must be signed in to change notification settings - Fork 13
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
redraw ExtrudePolygonLayer #24
Comments
Thanks for the issue! It doesn't have a method to update data.
So if you can wait for a while (about 3-4 weeks), I will keep you updated once the new plugin completes. If you can't wait, please let me know, I will manage to add some new methods in ExtrudePolygonLayer for your requests. |
thank you for the reply! I was able to set the data via
my layer then contained the new data - so I thought if I simply trigger a redraw of that layer I would see the change. if that's not possible, you do not have to add any new features to the deprecated plugin just for me - I can definitely wait. cheers! |
Thanks for your understanding! |
I have another question concerning the extrudePolyLayer: is it possible to change the direction of the incoming light? currently the light source shines straight down onto the extruded building which means that the brightest face of a building is the one on top. however, for my purposes I use a tilted view, so it would be preferable if the light would shine from the front, for instance from the direction of the camera. |
Sorry, didn't see your comment. var layer = new maptalks.ExtrudePolygonLayer(id, data, {
lightPos : [0, 0, 35] //change to other direction you like
}); And there are some other possible useful options, please check out the source code: |
thank you! |
Hii, Is the VectorLayer ready for Extrude Polygon like functionality now? |
Hi @andibuwono , I'm working on a new gl renderer of VectorLayer, it may be ready in about 3-4 weeks. It's designed to render geometries with webgl with convience of You can refer to this issue for details. |
Many thanks, looking forward for that |
hi,
I wanted to animate the extruded buildings by continuously increasing or decreasing their height.
for this I simply update the data of the ExtrudePolygonLayer.
however, I was unable to figure out how to redraw the Layer once I updated the data.
kind regards
The text was updated successfully, but these errors were encountered: