yep, u need to use an openlayers vector layer and get your <br>hands dirty with some javascript<br><br><div class="gmail_quote">On Sat, Sep 24, 2011 at 1:50 PM, captainst <span dir="ltr">&lt;<a href="mailto:quchenxy@yeah.net">quchenxy@yeah.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thank you Gordon.<br>
<br>
I have searched a bit on your suggested option. There might be a problem:<br>
the map has to refresh to show the X and Y. If I need to display 20 vehicles<br>
on the map, each with a position update interval of 1~5 seconds, then the<br>
user will always see the map in refreshing state.<br>
<br>
I think that in this case I am not able to avoid JavaScript, which shows the<br>
icons/lines on the brower side. To do this I need to use OpenLayer, is that<br>
correct ?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/how-to-add-an-vehicle-icon-and-trace-line-to-mapguide-tp6824597p6826430.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/how-to-add-an-vehicle-icon-and-trace-line-to-mapguide-tp6824597p6826430.html</a><br>


</font><div><div></div><div class="h5">Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer <br>Solution Architect / Director<br>Ennoble Consultancy Australia<br><a href="http://www.ennoble.com.au">http://www.ennoble.com.au</a><br><a href="http://zacster.blogspot.com">http://zacster.blogspot.com</a><br>

+61 405 847 168<br><br><br><br>