The easy way of doing this, would be to create a featuresource that points to the database.
If the database has x,y columns, that would enable this without programming.
You can style the points (size, symbol, color, theme etc) in a layer.


If you want to do something more advanced, you must create a temporary featuresource, and insert your data into this temporary source.
Then you can create/re-use a layer to display this data.
There is C# code for this in the buffer sample, in the viewer folder of the installation. You can get the developer guide and API help files from the program shortcut that was installed when you installed MapGuide (assuming you did no de-select the documentation).

Regards, Kenneth, GEOGRAF A/S



Justin Driskell skrev:
Hello I am new to mapguide.  I am using Mapguide 1.2 and IIS/Dot.  I am writing 
a function that will be used by my website (in CS) to grab coordinates of sites 
from a database.  Then using the Mapguide API I will plot on the map those 
sites. Can you direct me to where I can get Mapguide API help.  I already have 
the Mapguide API documentation but I need a little help getting to the right 
function to do the job.  Does Mapguide have a function like 
drawCircle(location, layer).

Thanks in advanced

Justin Driskell
Engineer 1
(770)-989-9488
[EMAIL PROTECTED]
Scientific Research Corporation

2300 Windy Ridge Parkway Suite 400 South Atlanta, GA 30339 770-859-9161 (phone) 770-859-9315 (fax)

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to