dashed lines

607 views
Skip to first unread message

Chandrika Karnati

unread,
Mar 16, 2015, 3:58:05 PM3/16/15
to cesiu...@googlegroups.com
Hello Mathew,

can dashed lines be supported by Cesium as in GE, using Polylines or WallGeomtery through CZML.

thanks and regards
chandrika 

Chandrika Karnati

unread,
Mar 17, 2015, 1:33:22 AM3/17/15
to cesiu...@googlegroups.com
Hello Mathew,

have done a work around right now, could render dotted line on the map.

thanks a lot but in future releases if Cesium API supports for the same , please do inform.
 thanks a lot. 

thanks and regards,
chandrika

Guillaume Beraudo

unread,
Mar 17, 2015, 4:17:39 AM3/17/15
to cesiu...@googlegroups.com
Hello Chandrika,

I have implemented a simple workaround using billboards and decimation
according to distance in the shader. See:
http://dev.camptocamp.com/files/gberaudo/dotted/examples/gmap.html
https://github.com/camptocamp/cesium/tree/schweizmobil_171_transparent_low_zoom

What is your workaround?


True support for dotted line would be a nice addition to Cesium.

--
Guillaume Beraudo
Camptocamp Engineer

Chandrika Karnati

unread,
Mar 17, 2015, 9:34:46 AM3/17/15
to cesiu...@googlegroups.com
Hello Guillaume,

the app which has been provided is very good .. thanq.
the work around which we did is simple , as such generated mutliple polylines with two coordinates ranging from starting to ending point of the lineFeature.


thanks and regards
chandrika  

Matthew Amato

unread,
Mar 17, 2015, 9:56:20 AM3/17/15
to cesiu...@googlegroups.com
As you are both aware, we don't have out of the box support for this yet. dashed lines are on the long-term roadmap, but not something we do yet.  If anyone wants to implement a custom Polyline Material for it, we are happy to take a pull request.

--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Deepak KUMAR.D

unread,
Mar 17, 2015, 11:18:14 AM3/17/15
to cesiu...@googlegroups.com
I just don't wanna stand against your idea. but if you ask me i really don't want to see any dotted or any polylines on the map like google earth. 
Why not create an enhanced and a different one. We don't wanna create a replica of the GE. We need to have it's own new features.

Guillaume Beraudo

unread,
Mar 18, 2015, 4:18:55 AM3/18/15
to cesiu...@googlegroups.com
Hello Matthew,

I will read the paper pointed at by Patrick but it looks a bit tough.

Matthew Amato

unread,
Mar 18, 2015, 5:19:45 PM3/18/15
to cesiu...@googlegroups.com
Lines are hard, and this is definitely an area that's way over my head when it comes to implementation. You might also be interested in this blog post Dan wrote a while ago that goes into our own polyline support:


bwla...@gmail.com

unread,
Apr 15, 2016, 9:32:45 AM4/15/16
to cesium-dev
The quickest and most efficient tool to use is the GPSVisualizer. You can load your pre-existing KML file, add tick marks at the requested intervals and then eliminate the label after the output file is applied to GE retaining only the tickmark which can be refined symbolically in any way that you would prefer. Good luck.

Rachel Hwang

unread,
Apr 20, 2017, 1:24:09 PM4/20/17
to cesium-dev, bwla...@gmail.com
We'll be adding support for dashed polylines in version 1.32, releasing on May 1! We're very excited about this!

Reply all
Reply to author
Forward
0 new messages