[worldKit-dev] Rounding problem in worldkit flash app?

Stefan F. Keller sfkeller at gmail.com
Mon May 1 05:53:52 PDT 2006


I got a rounding problem in worldkit flash app:


When being zoomed in at about factor 256 I could not position item 'test 1'
nearer to 'test 2'. Any long-value between 8.81677 and 8.8556 had no
influence to the position of the displayed map symbol of 'test 2' - until a
certain value where test 1 snapped to test 2 like in a grid.

Here is a snipped of rss.xml:
...
<item>

  <title>test 1</title><link>http://www.gis.hsr.ch</link>

  <description>test at position 1</description>

  <geo:lat>47.22350</geo:lat>

  <geo:long>8.81677</geo:long>

</item>

<item>

  <title>test 2</title><link>http://www.gis.hsr.ch</link>

  <description>test at position 2</description>

  <geo:lat>47.22350</geo:lat>

  <geo:long>8.8556</geo:long>

</item>


I could influence this behaviour by changing object-tag values in the HTML
which are WIDTH="500" HEIGHT="250".

This probably has to do with rounding numbers in flash code?



Regards -- Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.brainoff.com/pipermail/worldkit-dev-brainoff.com/attachments/20060501/1c0c4b1a/attachment.html>


More information about the worldkit-dev mailing list