[ka-Map-users] addObjectGeo question

Lorenzo Becchi lorenzo at ominiverdi.com
Fri Sep 21 12:18:36 EDT 2007


> Hello,I am Javier, I am from ecuador,  I have a question, in my 
> application am using ka-map 1,0, have a function in php that gives 
> back to me an array of points from postGis, I have added these points 
> without problems from Javascript  with the addObjectGeo function, my 
> problem is when I made zoom lens these points do not stay in where 
> drew  previously, my question is, I must redraw the points each time 
> that a change of scale is made?
>  
Hi Javier,
the answer is no, you don't need to redraw for each zoom level.
Probably your code has an error.
have a look to this simple example:
http://www.ominiverdi.org/ka-map/ka-map/presentations/foss4g2007/object_add_example.html

ciao
Lorenzo


More information about the ka-Map-users mailing list