-
Notifications
You must be signed in to change notification settings - Fork 327
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
olcs.FeatureConverter is not a constructor #1165
Comments
Hi @measman , the "oldfashioned" way has been removed from OpenLayers documentation. Are you using a bundler? |
Hi @gberaudo , thank you for your reply. No, I am not using bundler. isn't it possible to use "oldfashioned" way now? Thank you for you help. |
We removed the oldfashioned build in newer versions of Ol-Cesium. Have you tried using a bundler? |
Yes, I have tried using Vite bundler, there is no issue. |
There is no tutorial at the moment.
If someone wants to participate to such a task please add a comment. |
I am new in Cesium and also olcesium but I have done my projects in openlayers but in "oldfashioned". Now I am traying to add 3d functionality to my old openlayers project using olcesium.
My code is like:
but it thows error like:
Uncaught TypeError: olcs.FeatureConverter is not a constructor
at p.Cesium (cross_section.js?q=1.4.0_20240214_130102:134:32)
at p.Start_3D (cross_section.js?q=1.4.0_20240214_130102:165:18)
at crosssection_3d_enable (cross_section.js?q=1.4.0_20240214_130102:22:34)
Can you help me please. Thanks in advance.
The text was updated successfully, but these errors were encountered: