Hello,
when a map is loaded multiple times all labels are moved in left top angle of the map
see simple code below:
<canvas width="1200" height="800" proxied="false">
<view width="1000" height="600">
<simplelayout axis="x" spacing="5"/>
<view width="800" height="600" id="a">
<method name="setSource" args="source , cache = null, headers = null, filetype = null"> <![CDATA[
var xml = "<map animation='0' mapbottommargin='0' maptopmargin='0' mapleftmargin='0' maprightmargin='0'/>"
super.setSource(source + "?mode=laszlo&dataXML=" + escape(xml) + "&mapwidth=750&mapheight=400", cache, headers, filetype);
]]> </method>
</view>
<view width="1000" height="600">
<simplelayout axis="y" spacing="15"/>
<button text="world">
<handler name="onclick">
a.setSource("http:FCMap_World.swf");
</handler>
</button>
</view>
</view>
</canvas>
Why does labels are moved? How can I fix this problem?
Thanks,
Victor