[ka-Map-users] Overlay question

Yahya Mohammad mfyahya at gmail.com
Thu Jul 6 05:10:23 EDT 2006


Thanks very much for the reply. I have the overlays working now. 
I'll add the corrections to the wiki page as well.
-Yahya

> > As I understand the
> > <polygon> element is a child of a <point> element.
>
> Yes!
>
> > I'm assuming the polygon
> > coordinates should be the text node of the <polygon> element.
>
> Yes! The syntax is
>
>   X0 Y0, X1 Y1,...,Xn Yn
>
> The reference system must be the same of the map.
>
> > But what should
> > the x and y attributes of <point> contain? Is this the centroid of the
> > polygon? What should the attributes be if I'm  drawing a linestring?
>
> The x and y attributes of the point can be selected in any way "near"
> the polygon or linestring, doesn't matter if inside or outside. If you
> draw only a polygon or a linestring the <point> coordinates are not so
> meaningful.
>
> As the point attribute can contain also other elements (eg. an icon
> and/or a label describing the polygon) than the the x and y attributes
> of the point become the reference to place the icon and the label.
>
>  -Pg


More information about the ka-Map-users mailing list