For the problem with IE may be you could find usefull the hint in the Wiki Page<br><br> <a href="http://ka-map.ominiverdi.org/wiki/index.php/Overlay_API_Reference#FAQs">http://ka-map.ominiverdi.org/wiki/index.php/Overlay_API_Reference#FAQs</a><br>
<br>For the linestring, a possible issue is to call too early the kaXmlOverlay APIs: you should wait the map is fully initialized.<br>See: <a href="http://ka-map.ominiverdi.org/wiki/index.php/Overlay_API_Reference#kaXmlOverlay_Quick_HOW-TO">http://ka-map.ominiverdi.org/wiki/index.php/Overlay_API_Reference#kaXmlOverlay_Quick_HOW-TO</a><br>
<br><br><div class="gmail_quote">2008/5/30 Maxime Phaneuf <<a href="mailto:Maxime.Phaneuf@usherbrooke.ca">Maxime.Phaneuf@usherbrooke.ca</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello guys.<br>
<br>
I'm working on a project to map Mars. I'm using ka-map to do it. All went well<br>
up to now, but I have a problem I can't seem to solve.<br>
<br>
I was testing the XMLOverlay. This XML file is working well, what is supposed to<br>
appear is appearing:<br>
<br>
<overlay><br>
<point x="-124.5" y="68.5" id="p1"><br>
<label>Phoenix</label><br>
<symbol shape="bullet" size="30" opacity="1" color="#FF0000" /><br>
</point><br>
</overlay><br>
<br>
The next step for me was to make some linestrings appear. The problem is that<br>
they appear when I first go to the website, but when I refresh that page, they<br>
disappear. Here is the XML file:<br>
<br>
<overlay><br>
<point x="-129" y="60" id="l3"><br>
<label>TEST</label><br>
<linestring stroke="3" opacity="0.8" color="#FF0000"><br>
-129 60, -115 60<br>
</linestring><br>
</point><br>
</overlay><br>
<br>
At first, everything appears. But, when I reload the page, only the label<br>
appears.<br>
<br>
I always get this message error when the linestring doesn't appear:<br>
map has no properties<br>
kaXmlOverlay.js<br>
Line 930<br>
var scales = map.getScales();<br>
<br>
I try to solved that problem but I cannot see what's the problem.<br>
<br>
Also, i'm using firefox to do my testing, but where I'm working it's mostly IE.<br>
But the XMLoverlay doesn't appear in IE. Can you also help me with this<br>
problem?<br>
<br>
Thank you very much<br>
<br>
Maxime Phaneuf<br>
<br>
COOP Student<br>
Canadian Space Agency<br>
_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
</blockquote></div><br>