[mapguide-users] Adding a point to a map... PLZ Help!!! (.NET - C#)

2008-10-13 Thread Galois
Hello, I´m trying to add a point to a map but I have no idea how to it. I have declare the map object, and also I create a point with it's coordinates. But I don't know what is the next step that I have to do... The code follows public partial class _Default : System.Web.UI.Page { pu

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)

2008-10-16 Thread Kenneth Skovhede, GEOGRAF A/S
D] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:29 To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) This is not a solution, cause at the feature, I'll have lot of XML files and the code will have to work in order to

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)

2008-10-16 Thread Galois
;>>> Hmm, if you're attending to batch-process large number of points (along >>>> with >>>> attached data) then web service calling FDO directly will do it much >>>> more >>>> efficiently, since you can preset it on server side to poke exact >>>>

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET - C#)

2008-10-13 Thread Kenneth Skovhede, GEOGRAF A/S
A few steps are involved: 1. Create a temporary featuresource 2. Create a temporary layer to display the features 3. Insert the temporary layer into the runtime map The buffer files in the MapGuide viewer has template code for all three steps. All steps are explained in the Developer Guide (PDF

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET - C#)

2008-10-14 Thread Galois
First of all, thank u fro your reply. I don't get why should I create a temp layer. I have some coordinates in an XML file, and I just want to display them on an existing layer. Though I tried to create a new layer, it does not appear in my maps layers. That's what I did... MgResourceIdentif

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET - C#)

2008-10-14 Thread Kenneth Skovhede, GEOGRAF A/S
Did you look at the buffer sample code in the AJAX viewer? It does exactly what is required, besides inserting your points. About your code: You do not use the "resourceIdentifier" variable, which means your layer might reference something else. You save the layers to the regular repository, whi

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET - C#)

2008-10-15 Thread Galois
Maybe I'm stupid I cannot do it work. I have reconstruct the whole thing, but the new Layer doesn't appear in the page. I followed the Dev's Guide in order to create a Layer and add it in the map but nothing. Basically, I added these three functions. I really would appreciate if u could giv

RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)

2008-10-15 Thread Maksim Sestic
:15 To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) Maybe I'm stupid I cannot do it work. I have reconstruct the whole thing, but the new Layer doesn't appear in the page. I followed the Dev's Guide in orde

RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)

2008-10-15 Thread Galois
get to call MG refresh method from JavaScript once you > have that point within a datastore. > > Regards, > Maksim Sestic > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Galois > Sent: Wednesday, October 15, 2008 16:15 >

RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)

2008-10-15 Thread Maksim Sestic
day, October 15, 2008 16:29 To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) This is not a solution, cause at the feature, I'll have lot of XML files and the code will have to work in order to put all the interest points automatic o

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)

2008-10-16 Thread Kenneth Skovhede, GEOGRAF A/S
D] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:29 To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) This is not a solution, cause at the feature, I'll have lot of XML files and the code will have to work in order to

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)

2008-10-16 Thread Galois
>>> from a client you'll have to establish a web service to do the job on >>> the server side. And don't forget to call MG refresh method from >>> JavaScript once you have that point within a datastore. >>> >>> Regards, >>> Maks

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)

2008-10-16 Thread Galois
f Of Galois >>>>> Sent: Wednesday, October 15, 2008 16:29 >>>>> To: mapguide-users@lists.osgeo.org >>>>> Subject: RE: [mapguide-users] Adding a point to a map... PLZ Help!!! >>>>> (.NET >>>>> -C#) >>>>> >>>>&

Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)

2008-10-16 Thread Kenneth Skovhede, GEOGRAF A/S
actual information. Other way round you'll be making too many client-server roundtrips.Of couse, it all depends on the overall setup... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:29 To: mapguide-users@lists.osgeo.o