How to set dotted and dashed line when using LineString

1,831 views
Skip to first unread message

zoka

unread,
Nov 17, 2008, 6:27:46 PM11/17/08
to KML Developer Support - Google Earth Browser Plugin
Hello,

I want dotted and dashed line when using LineString to draw.
Please would you help me with some javascriopt code to accomplish
that.

Thanks.
Zoran.

zoka

unread,
Nov 18, 2008, 10:46:05 AM11/18/08
to KML Developer Support - Google Earth Browser Plugin

Actually is this possible at all with GE plug-in?

Thanks.
Zoran.

Roman N

unread,
Nov 19, 2008, 5:43:35 PM11/19/08
to KML Developer Support - Google Earth Browser Plugin
Hi Zoran,

This isn't currently possible; the only way to create dashed lines is
to create a separate line string geometry for each 'dash'. You can
post a feature request to the KML issue tracker if you'd like, to:

http://code.google.com/p/kml-samples/issues/list

Since this is a general KML inadequacy and not specifically an Earth
API issue, it'd be best to file it as a feature request there.

- Roman
Reply all
Reply to author
Forward
0 new messages