Hi Marcel, I am still not sure I fully understand the problem you have.
However, if you suggest something useful to improve the navigation tool that would benefit more people, I'd be happy to add a method or change the navigation tools. You can also mail me offline or in German, if you like. All the best, Andreas --- In [email protected], "Marcel" <[EMAIL PROTECTED]> wrote: > > Hi Andreas, > > Well I knew that there was a problem with real and converted > coordinates. > But I tried to change my results. That causes errors whether in > the setted viewBox or in displayed coordinates. > It was a logical problem. > Now I change my variable input first and I get the focus on > selected object. > > Thank you for help and your (and all other authors) great work > on carto.net!!! > > Marcel > > > > --- In [email protected], "Andreas Neumann" > <neumann@> wrote: > > > > Hi Marcel, > > > > In the method .setNewViewBox() you have to pass real world > > coordinates, not the inverted ones. The script inverts the y- > > coordinates in the method .setNewViewBox(). > > > > Likewise in the method .showCoordinates() inverts the y-axis prior > to > > display in order to display coordinate values correctly. Note, > > however, that the method .calcCoord() does not invert the y-axis. > You > > have to multiply the result of this method by -1 for the y-axis. > This > > method is also used internally within the map object. > > > > I hope this helps. Let me know if you still have problems. > > > > Andreas > ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

