[ka-Map-users] Move Overlay symbol

Pg pg.navone at gmail.com
Mon Oct 16 16:37:01 EDT 2006


To move a point you can use the method

   kaXmlPoint.prototype.setPosition = function( x, y )

If you add the kaXmlPoint by code you can keep a reference to the object.
In any case you can retrieve a reference to a point with

   kaXmlOverlay.prototype.getPointObject = function(pid)

where "pid" is the point ID.

 -Pg

2006/10/16, Stéphane RIFF <stephane.riff at cerene.fr>:
> Hi all,
>
> I have a problem to move an overlay symbol without reloading the xml file.
> I didn't see any function exept the addNewPoint but if I use this I must
> know the symbol file, size ...
>
> Is there nothing else to do ???
>
> Thanks
> Steff
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>



More information about the ka-Map-users mailing list