[Mapserver-users] plot on map
Alexander Lim
alexanderlimkh at yahoo.com
Mon May 31 21:52:58 PDT 2004
hi all,
i have just manage to create an applet to load a shape
file and display a simply map of main roads. However I
actually would like to plot a dot on the map according
to lat/long (lat/long will most probably be retrieved
from database). Can anyone please point me to the area
where i can get more information on plotting the map.
If anyone has done this before, please post any sample
codes that i can refer to.
Any advice would be grealy aprreciated.
Thanks
al
below is how the map is created (based on one of the
example):
------test.xml-------
<?xml version="1.0"?>
<project>
<layer name="Msia_Mainroads">
<dataset
url="MalaysiaBasemap/Msia_Mainroads.shp"/>
<symbol fill="255:255:255" outline="0:128:255"
size="6"/>
</layer>
</project>
----------------------
-------test.html------
<html>
<applet codebase =.
code = org.alov.viewer.SarApplet
archive = alov_applet.jar
width = 800 height = 600 align=center>
<param name="pid" value="test.xml">
</applet>
</html>
----------------------
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
More information about the MapServer-users
mailing list