.kju 3245 Posted August 18, 2007 hello Mandoble did you check the BIKI and T_D's comment? http://community.bistudio.com/wiki/posScreenToWorld Share this post Link to post Share on other sites
mandoble 1 Posted August 18, 2007 Thanks Q, and this is just what I consider a bug (may be), because for that purpose there are already ctrlMapScreenToWorld ctrlMapWorldToScreen, which work as described in the biki. Share this post Link to post Share on other sites
t_d 47 Posted August 18, 2007 I only see a comment of LowFly But afaik both of these commands should work. The ctrl versions came in v1.05 probably to fit in some kind of naming convention. Share this post Link to post Share on other sites
.kju 3245 Posted August 18, 2007 Quote[/b] ]I tested this command and the control has to be a map control otherwise the command does not work. --T_D 16:08, 12 February 2007 (CET) (Talk page ) Share this post Link to post Share on other sites
t_d 47 Posted August 18, 2007 Ah there But for me this isnt a bug. How should this work with another control than map control? Share this post Link to post Share on other sites
mandoble 1 Posted August 18, 2007 I was expecting a projection of the 3D coordinates in the 2D control. I was not expecting anything related to map because there were already commands for that purpose. Well, as usual, time to script a working WorldToScreen function Share this post Link to post Share on other sites
t_d 47 Posted August 18, 2007 I had to wrote a fScreenToWorld function after I tried posScreenToWorld and it didnt work as I needed it. So you just go the other way Share this post Link to post Share on other sites
mandoble 1 Posted August 19, 2007 And the other way is now working fine Share this post Link to post Share on other sites