Jump to content
Sign in to follow this  
mandoble

posScreenToWorld and posWorldToScreen

Recommended Posts

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

I only see a comment of LowFly icon_rolleyes.gif

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
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 wink_o.gif)

Share this post


Link to post
Share on other sites

Ah there whistle.gif

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

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 wink_o.gif

Share this post


Link to post
Share on other sites

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 tounge2.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×