Closed tti0 closed 3 years ago
I am using "vuelayers": "^0.11.31"
Hello @tti0 ,
in which projection these coordinates defined?
If EPSG:4326 then you probably need to change order of number in each point coordinates.
VueLayers uses [lon, lat]
format. But among your multiline points I see for example this one [ 56, 114 ]
that obviously invalid because lat must be between -90, 90
Hi @ghettovoice,
Thank you for coming back to me.
Yes, reversing the elements of the array to [lon, lat]
format has fixed the issue.
My apologies for this foolish mistake, as I am new to geodesy and Vue, although I couldn't find anything about this in the documentation (perhaps it could be added to the Quick Start guide?).
Thanks again for the library and your kind assistance!
Hi, I am having some trouble using the
vl-geom-multi-line-string
component. I have the following code in the template of a .vue file:However, the line fails to render, and the following error appears in the console:
Having attempted to debug this myself by setting a breakpoint on
point main.es.js:173
I noticed that the coordinate values have changed significantly in the call stack (see screenshot). Perhaps this is causing the problem? I would appreciate any assistance with this, and apologise if it is caused by something I've done wrong. Many thanks!