[mapguide-users] aspx code behind

2009-02-12 Thread staniz

I am trying to make default.aspx with code behind.
Can sameone helps to provide information of code behind with Mapguide API? 


default.aspx.cs
using OSGeo.MapGuide;

public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
MapGuideApi.MgInitializeWebTier(@"C:\Program
Files\Autodesk\MapGuideEnterprise2008\WebServerExtensions\www\webconfig.ini");

MgUserInformation userInfo = new MgUserInformation("Anonymous", "");
MgSite site = new MgSite();
site.Open(userInfo);

String sessionId = site.CreateSession();
String webLayout = "Library://DevTV/HelloWorld.WebLayout";

}
}

default.aspx
http://www.w3.org/1999/xhtml"; >

HelloWorld



  
  


  



How to sent value from code behind to aspx?
please help..

regards,
Staniz
-- 
View this message in context: 
http://n2.nabble.com/aspx-code-behind-tp2319949p2319949.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


Re: [mapguide-users] Starting in Mapguide

2009-02-12 Thread Nisha P
u can follow the below link

http://mapguide.osgeo.org/sites/mapguide.osgeo.org/files/GettingStarted.pdf

On Thu, Feb 12, 2009 at 9:12 PM, Micho Gar  wrote:

> Hello everybody,
> I'm beginning to work with MapGuide, and I do not understand very well with
> the documentation. Do you know where there are examples from which I can
> download the source code?. I am working in jsp, and I can not find anything.
>
>
> Would also appreciate a few guidelines to start work with Mapguide.
>
> Thanks to all.
>
>
>
>
> --
> # michogar
> # Analista Programador SIG
> # Ubuntu Linux Counter 462666
>
>
>
> "It has a legend that if you play an original Windows Vista DVD backwards
> to hear Bill Gates Satanic chanting songs ... But that's not the worst ...
> If you play it right ... It installs!.
>
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>


-- 
Nisha P
IIITM-K
ni...@iiitmk.ac.in
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] New Tab Like Properties and Layers

2009-02-12 Thread Mark Pendergraft
I agree with you about wasted space.  One of the primary reasons for
moving to Fusion for me was the fact that the layout was so rigid.
Best of luck.
-Mark

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jamo
Sent: Thursday, February 12, 2009 1:57 PM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] New Tab Like Properties and Layers


Thanks for the heads up Mark, at the moment it is not an option, I've
not
looked into the fusion layouts to much, upon first couple of test runs
it
seemed the initial loading of the map was much longer than the default
layout, unfortunately for the application I'm working on time spent in
the
map would have been less than time spent loading the map(for future
applications I will be taking a close look at the fusion layouts)

I have code to replace the properties panel with custom properties panel
depending on what feature you are viewing, which to me is a big step,
however I have found that the task pane is a big screen space hog for
little
to no benefit for this application, therefore I have removed it, which
leaves search me wanting to add this search panel to the left pane (just
seems logical)?

The properties panel code is fairly basic at the moment (and probably
already been done before), but perhaps I can share it in the hope it
will
grow into something much more?

Regards

Adam J


-- 
View this message in context:
http://n2.nabble.com/New-Tab-Like-Properties-and-Layers-tp2318026p231815
6.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
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


RE: [mapguide-users] New Tab Like Properties and Layers

2009-02-12 Thread Jamo

Thanks for the heads up Mark, at the moment it is not an option, I've not
looked into the fusion layouts to much, upon first couple of test runs it
seemed the initial loading of the map was much longer than the default
layout, unfortunately for the application I'm working on time spent in the
map would have been less than time spent loading the map(for future
applications I will be taking a close look at the fusion layouts)

I have code to replace the properties panel with custom properties panel
depending on what feature you are viewing, which to me is a big step,
however I have found that the task pane is a big screen space hog for little
to no benefit for this application, therefore I have removed it, which
leaves search me wanting to add this search panel to the left pane (just
seems logical)?

The properties panel code is fairly basic at the moment (and probably
already been done before), but perhaps I can share it in the hope it will
grow into something much more?

Regards

Adam J


-- 
View this message in context: 
http://n2.nabble.com/New-Tab-Like-Properties-and-Layers-tp2318026p2318156.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


Re: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-12 Thread Mike Adair
Fusion 2.0 beta is reasonably stable for most the functionality that was 
in the 1.1 series of releases.  The biggest change is that a  
element now allows multiple   elements which can be of any layer 
type supported by OpenLayers, and this is the part that needs more 
testing.  We will be documenting how to configure that section soon, but 
the MapGuide standard template includes examples of including WMS and 
Google layers.


It also uses a new version of Jx based on MooTools rather than the old 
Prototype version but most of the differences there will be in the CSS 
for the application.  Fusion 2.0 also switches to using OpenLayers 
vector rendering in place of the excanvas implementation, and I haven't 
seen any showstopper bugs because of that change yet.


Mike



Jason Birch wrote:

It's beta, which means it's been tried by the developers but not much
more.  


>From my experience, it is very important to invest the time to test
software while it is in beta form.  It is impossible for developers to
know how you will use the software.  If you don't use it in beta, there
is a strong likelihood that your use of the released product will run
into bugs.  


Problems found in the release version may be fixed with a point-release,
but not with any urgency unless they affect a large number of users.

If you want stable release software for your use, then you need to test
it when it's in beta (or earlier).

Jason

-Original Message-
From: Franco Caloni
Sent: February-12-09 10:30 AM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

I saw it, but: how much is stable? 
I can try to use it but I would like to know it before :)

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

  


--
  Michael Adair
  Senior Software Architect
  DM Solutions Group Inc.

  Office: (613) 565-5056 x26
  mad...@dmsolutions.ca
  http://www.dmsolutions.ca
  http://research.dmsolutions.ca


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


RE: [mapguide-users] New Tab Like Properties and Layers

2009-02-12 Thread Mark Pendergraft
I'm aware that this may not be an option for you, but adding a new tab
in Fusion is extremely easy.  The fusion layout uses the Jx Library
which makes adding tabs, collapsible div's, etc. very simple to
implement.
-Mark

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jamo
Sent: Thursday, February 12, 2009 1:31 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] New Tab Like Properties and Layers


I've been asked to add a new tab to the default viewer (a search tab).

I would like to know if anyone else has been able to complete such a
task, I
was thinking of doing something like the following.

I would like it to function in the same manner as the properties tab, as
in
be able to slide it up and down and open and shut using the little
arrows
button on the right.

I keep getting argument not valid error...

If this is possible is it also possible to add javascript functions to
handle the various drag / minimise /maximise funtions at the same time?

function createNewTab()
{
try
{
var InfoDiv = parent.document.getElementById('InfoDiv');
var divToAdd = document.createElement('div');
divToAdd.setAttribute('id', 'myNewDiv');
divToAdd.innerHTML = 'some Text';

InfoDiv.appendChild(divToAdd);

}
catch(e)
{
alert(e.description);
}
}

Any help wold be great :)

I would like to do this without having to edit the ajaxmappane.tmpl or
any
of the default files, I would rather do it on an onLoad event so as
though
other applications can still use the default layout.

Cheers!

-- 
View this message in context:
http://n2.nabble.com/New-Tab-Like-Properties-and-Layers-tp2318026p231802
6.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
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


[mapguide-users] New Tab Like Properties and Layers

2009-02-12 Thread Jamo

I've been asked to add a new tab to the default viewer (a search tab).

I would like to know if anyone else has been able to complete such a task, I
was thinking of doing something like the following.

I would like it to function in the same manner as the properties tab, as in
be able to slide it up and down and open and shut using the little arrows
button on the right.

I keep getting argument not valid error...

If this is possible is it also possible to add javascript functions to
handle the various drag / minimise /maximise funtions at the same time?

function createNewTab()
{
try
{
var InfoDiv = parent.document.getElementById('InfoDiv');
var divToAdd = document.createElement('div');
divToAdd.setAttribute('id', 'myNewDiv');
divToAdd.innerHTML = 'some Text';

InfoDiv.appendChild(divToAdd);

}
catch(e)
{
alert(e.description);
}
}

Any help wold be great :)

I would like to do this without having to edit the ajaxmappane.tmpl or any
of the default files, I would rather do it on an onLoad event so as though
other applications can still use the default layout.

Cheers!

-- 
View this message in context: 
http://n2.nabble.com/New-Tab-Like-Properties-and-Layers-tp2318026p2318026.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


RE: [mapguide-users] Custom fusion widget support in MapGuide Studio

2009-02-12 Thread Chris Claydon
There are several supported parameter types in the widget info, though I don't 
think they are documented anywhere right now.

Try finding a pre-existing widget that has similar parameters, and look at its 
widget info file.

Note that the supported types are not very complex, but you should be able to 
get checkboxes for Booleans, combo boxes for options with a restricted set of 
values, fields with browse buttons for selecting resource IDs, color pickers 
for colors etc.

Chris.

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Wednesday, February 11, 2009 7:35 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Custom fusion widget support in MapGuide Studio


Hi All,

When I create and register a custom fusion widget, I can see it in the list
of available widgets. But when I edit the widget parameters in MapGuide
Studio, all the parameters are plain text fields. Is this the normal
behaviour?

- Jackie
--
View this message in context: 
http://n2.nabble.com/Custom-fusion-widget-support-in-MapGuide-Studio-tp2312828p2312828.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
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


RE: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-12 Thread Jason Birch
It's beta, which means it's been tried by the developers but not much
more.  

>From my experience, it is very important to invest the time to test
software while it is in beta form.  It is impossible for developers to
know how you will use the software.  If you don't use it in beta, there
is a strong likelihood that your use of the released product will run
into bugs.  

Problems found in the release version may be fixed with a point-release,
but not with any urgency unless they affect a large number of users.

If you want stable release software for your use, then you need to test
it when it's in beta (or earlier).

Jason

-Original Message-
From: Franco Caloni
Sent: February-12-09 10:30 AM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

I saw it, but: how much is stable? 
I can try to use it but I would like to know it before :)
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Scribble Coordinate System

2009-02-12 Thread Steve G

Yeah, that was it.  Thanks for your help and quick response.



James Card wrote:
> 
> On Thu, 12 Feb 2009 09:33:51 -0800, Steve G
>  wrote:
> 
>> I've looked into the scribblemethodsmgr.cs file and see where the target
>> coordinate system is being defined:
>>
>> public static string FL83_EF =
>> "PROJCS[\"FL83-EF\",GEOGCS[\"LL83\",DATUM[\"NAD83\",SPHEROID[\"GRS1980\",6378137.000,298.25722210]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"false_easting\",656166.667],PARAMETER[\"false_northing\",0.000],PARAMETER[\"scale_factor\",0.41176471],PARAMETER[\"central_meridian\",-81.00],PARAMETER[\"latitude_of_origin\",24.33],UNIT[\"Foot_US\",0.30480060960122]]";
>>
>> So I tried to copy the WKT for California State Plane Zone 3 ft and
>> replace FL83_EF, but when I used the tool, it gave me an error.  I
>> noticed that the WKT didn't have the "\" symbols as above.  I would only
>> imagine that typical WKT doesn't go here?  Can someone help me?  Sorry
>> for my ignorance...
> 
> The "\" is necessary so the software doesn't think that the quoted text
> string that began with '"PROJCS[' ends at the first '"' (double-quote) it
> encounters; the '\"' tells the program that this quote character is part
> of the data, not the end of the data.
> 
> -- 
> James Card
> California CAD Solutions, Inc.
> 209-578-5580 - Voice
> 209-521-6493 - FAX
> 
> 
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Scribble-Coordinate-System-tp2316275p2316775.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


R: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-12 Thread Franco Caloni
I saw it, but: how much is stable? 
I can try to use it but I would like to know it before :)


-Messaggio originale-
Da: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] Per conto di Mark
Pendergraft
Inviato: giovedì 12 febbraio 2009 19.23
A: MapGuide Users Mail List
Oggetto: RE: [mapguide-users] Fusion javascript (phpviewersample)

The beta is out already.  It hasn't been officially announced, but you can
download it from here:
http://download.osgeo.org/fusion/

-Mark P.


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


Re: [mapguide-users] Scribble Coordinate System

2009-02-12 Thread James Card

On Thu, 12 Feb 2009 09:33:51 -0800, Steve G  
wrote:


I've looked into the scribblemethodsmgr.cs file and see where the target
coordinate system is being defined:

public static string FL83_EF =
"PROJCS[\"FL83-EF\",GEOGCS[\"LL83\",DATUM[\"NAD83\",SPHEROID[\"GRS1980\",6378137.000,298.25722210]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"false_easting\",656166.667],PARAMETER[\"false_northing\",0.000],PARAMETER[\"scale_factor\",0.41176471],PARAMETER[\"central_meridian\",-81.00],PARAMETER[\"latitude_of_origin\",24.33],UNIT[\"Foot_US\",0.30480060960122]]";

So I tried to copy the WKT for California State Plane Zone 3 ft and replace FL83_EF, but 
when I used the tool, it gave me an error.  I noticed that the WKT didn't have the 
"\" symbols as above.  I would only imagine that typical WKT doesn't go here?  
Can someone help me?  Sorry for my ignorance...


The "\" is necessary so the software doesn't think that the quoted text string that began with 
'"PROJCS[' ends at the first '"' (double-quote) it encounters; the '\"' tells the program 
that this quote character is part of the data, not the end of the data.

--
James Card
California CAD Solutions, Inc.
209-578-5580 - Voice
209-521-6493 - FAX


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


RE: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-12 Thread Mark Pendergraft
The beta is out already.  It hasn't been officially announced, but you can 
download it from here:
http://download.osgeo.org/fusion/

-Mark P.

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Franco Caloni
Sent: Thursday, February 12, 2009 10:02 AM
To: 'MapGuide Users Mail List'
Subject: R: [mapguide-users] Fusion javascript (phpviewersample)

Do you know when 2.0 will be ready? 


-Messaggio originale-
Da: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] Per conto di Jason Birch
Inviato: giovedì 12 febbraio 2009 2.23
A: MapGuide Users Mail List
Oggetto: RE: [mapguide-users] Fusion javascript (phpviewersample)

I should mention that Fusion 2.0 has the potential to halve (or better) the
number and size of requests that your server has to handle, AND improve
perceived performance.  It does this by using things like CSS Sprites,
moving to MapGuide's JSON content type responses, reducing the size of some
third-party libraries, modifying the way that selection is handled, and
other neat tricks.  I'm looking forward to Fusion 2.0 a lot.

Jason


___
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


RE: [mapguide-users] Connect to PostgreSQL database via DNS(Mapguide Studio 2009)

2009-02-12 Thread Rui Daniro

Hi Kenneth, 

 

Thanks a lot for  your help.

I tried with PostGIS Provider and it was worst than with ODBC, then I tried
with OGR and works fine, I am able to see and plot the points, but ...there
is always a but..after plotting the points on my map, when I try query one
of my dots returns an error.

 

Fusion Error: 

WARNING: Exception occurred in AJAX callback.

SyntaxError: invalid label

Location: undefined (735)

xx)

 

Can you help me with this? 

 

  _  

De: Kenneth Skovhede, GEOGRAF A/S (via Nabble)
[mailto:ml-user+64672-1645459...@n2.nabble.com] 
Enviada: 12 February 2009 07:37
Para: Rui Daniro
Assunto: Re: [mapguide-users] Connect to PostgreSQL database via
DNS(Mapguide Studio 2009)

 

Have you tried both the PostGIS provider and the OGR provider?



Regards, Kenneth Skovhede, GEOGRAF A/S



Rui Daniro skrev: 

Hi Kenneth, 
 
Thank you very much for your time. 
 
I followed your suggestion and I still unable to do it.
 
I tested the connection with a diferent piece of software and I was able to
do it. I tried to access and create a layer based on the data on my database
using Quantum GIS it works fine, only with Mapguide I am not able to do it.
 
I went to check  if there is any error in the log files and nothing.
 
Do you have any other suggestion ofr my problem?
 
Thanks again for you time.
 
Rui
 
 
 
 
 
Kenneth Skovhede, GEOGRAF A/S wrote:
  

They should work right away.
 
Do you get any errors in the log files?
 
The preview feature does not always work, because the data extent is 
sometimes reported incorrectly.
Try to create a map, and set the coordinate systems and extent to fit 
the layer, then add the layer.
You should now be able to preview the map.
To be certain, try adding a layer with data in the same region that you 
know works.
 
Regards, Kenneth Skovhede, GEOGRAF A/S
 
 
 
Rui Daniro skrev:


Hi Kenneth,
 
 
 
Thanks for help, but I believe that is not my problem.  As I can see 
Paulo problems is to connect to the database, but not my case, I am 
able to connect and see the tabular data, the only thing I am not able 
to do is plot my geometric data.
 
 
 
Anyway, I did a search on my systems and I could not found those dll's 
so I decided copy and past them on the following folder 
\MapGuideOpenSource2.0\Server\Bin\FDO . Do they need any customisation?
 
 
 
Thanks again for you time.
 
 
 
Rui
 
 
 
 
 

 
*De:* Kenneth Skovhede, GEOGRAF A/S (via Nabble) 
[ml-user+64672-1645459...@...
 ... 
 
]
*Enviada:* 05 February 2009 07:38
*Para:* Rui Daniro
*Assunto:* Re: [mapguide-users] Connect to PostgreSQL database via DNS 
(Mapguide Studio 2009)
 
 
 
Hi Rui.
 
Please see if this explains your trouble:
http://n2.nabble.com/FDO-OGR-Provider-for-PostGreSQL-8.3-%2B-PostGis-td22700
66.html
 
Regards, Kenneth Skovhede, GEOGRAF A/S
 
 
 
Rui Daniro skrev:
 
 
  

Hi all,
 
I am using MapGuide Studio 2009 and have a database created using 


PostgreSQL
  

which I connected to it using via DNS. I tested the connection and I 


get a
  

message saying sucessful connected, then I defined the geometry 


properties
  

and selected the appropiate coordinate system for the table which I 


want to
  

map. On preview I can see the geometric properties adn data 


properties, when
  

I select view data I am able to see my table data, but when I select 


view
  

feature nothing happens. I can see the zoom/pan tool and the loading
animation, but nothing happens, I leave it for ages and nothing comes 


up.
  

Can you help me with this? Can you highlight on this? Thank you in 


advance.
  

best regards
 
Rui
 


___
mapguide-users mailing list
mapguide-us...@... 
 

http://lists.osgeo.org/mailman/listinfo/mapguide-users
 

 
This email is a reply to your post @ 
http://n2.nabble.com/Connect-to-PostgreSQL-database-via-DNS-%28Mapguide-Stud
io-2009%29-tp2268432p2273611.html
You can reply by email or by visting the link above.
 
 
 
 

View this message in context: RE: [mapguide-users] Connect to 
PostgreSQL database via DNS (Mapguide Studio 2009) 
 


Sent from th

RE: [mapguide-users] Scribble Coordinate System

2009-02-12 Thread Jason Birch
Hi Steve,

the \ character is required to "escape" the quotes, otherwise they will
terminate the WKT string.  If you add a \ before every " other than the
first and last in the string, it should get past that error.

Jason

-Original Message-
From: Steve G
Sent: February-12-09 9:34 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Scribble Coordinate System

I noticed that the
WKT didn't have the "\" symbols as above.  I would only imagine that
typical
WKT doesn't go here?  Can someone help me?  Sorry for my ignorance...

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


R: [mapguide-users] Fusion javascript (phpviewersample)

2009-02-12 Thread Franco Caloni
Do you know when 2.0 will be ready? 


-Messaggio originale-
Da: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] Per conto di Jason Birch
Inviato: giovedì 12 febbraio 2009 2.23
A: MapGuide Users Mail List
Oggetto: RE: [mapguide-users] Fusion javascript (phpviewersample)

I should mention that Fusion 2.0 has the potential to halve (or better) the
number and size of requests that your server has to handle, AND improve
perceived performance.  It does this by using things like CSS Sprites,
moving to MapGuide's JSON content type responses, reducing the size of some
third-party libraries, modifying the way that selection is handled, and
other neat tricks.  I'm looking forward to Fusion 2.0 a lot.

Jason


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


[mapguide-users] Scribble Coordinate System

2009-02-12 Thread Steve G

I am trying to use the Scribble tool from the Code Samples:

http://trac.osgeo.org/mapguide/wiki/CodeSamples/ASP.Net/ScribbleApp

I've downloaded and successfully installed the tool and it seems to work
relatively well with data and maps that are in LL84.  However, my data and
maps are in State Plane California Zone 3 ft projection.  If I use the tool
with maps that are in that projection, anything that I digitize is not
placed in the correct place in the map window.

I've looked into the scribblemethodsmgr.cs file and see where the target
coordinate system is being defined:

public static string FL83_EF =
"PROJCS[\"FL83-EF\",GEOGCS[\"LL83\",DATUM[\"NAD83\",SPHEROID[\"GRS1980\",6378137.000,298.25722210]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"false_easting\",656166.667],PARAMETER[\"false_northing\",0.000],PARAMETER[\"scale_factor\",0.41176471],PARAMETER[\"central_meridian\",-81.00],PARAMETER[\"latitude_of_origin\",24.33],UNIT[\"Foot_US\",0.30480060960122]]";


So I tried to copy the WKT for California State Plane Zone 3 ft and replace
FL83_EF, but when I used the tool, it gave me an error.  I noticed that the
WKT didn't have the "\" symbols as above.  I would only imagine that typical
WKT doesn't go here?  Can someone help me?  Sorry for my ignorance...
-- 
View this message in context: 
http://n2.nabble.com/Scribble-Coordinate-System-tp2316275p2316275.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


Re: [mapguide-users] window open

2009-02-12 Thread Mark Pendergraft

Here are 2 ways to accomplish what you are trying to do:

Option 1:
You have a widget which inherits Fusion.Tool.Canvas.
Use the mousedown even to get the coordinates clicked
Then use 
"var p = this.getMap().getEventPosition(e);" to get the event position
"var gp = this.getMap().pixToGeo(p.x, p.y);" to get the N/E at that position

Then send your northing and easting to a PHP page and use it to generate a
spatial filter (you may want to create a mgPolygon from your N/E as your
spatialfilter in order to make sure you cover the point)

Return the selected point, and send it to another page to create your pop up
window populated with the relevant information.

Option 2:
Use the URL feature in studio to show a link.  Use expressions to pass the
points information into the link, and have the link directed to a custom
page which will populate itself with the relevant data.


Seeing as you are new to MapGuide, I would highly recommend option 2, as it
requires very little coding and is very easy and user friendly.  I have
attached a photo of what the URL maptip looks like in my map.  In the
picture, the user hovers there mouse over a parcel and the maptip pops up
with a link to the parcel's page on the county's website.  All I have to do
is pass the parcel number in the link, which is all done by studio.

http://n2.nabble.com/file/n2315851/Untitled.jpg 

-Mark 


DYUTI wrote:
> 
>   hi..all...
> to open a new window while clicking on the points displayed on
> the map where i've to write the coding...In which file i've to make
> changes..&what change i've to make...plss help me... 
> 
> 
> 
> 
> thanks®ards
> dyuti
> 

-- 
View this message in context: 
http://n2.nabble.com/window-open-tp2295629p2315851.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


[mapguide-users] Starting in Mapguide

2009-02-12 Thread Micho Gar
Hello everybody,
I'm beginning to work with MapGuide, and I do not understand very well with
the documentation. Do you know where there are examples from which I can
download the source code?. I am working in jsp, and I can not find anything.


Would also appreciate a few guidelines to start work with Mapguide.

Thanks to all.




-- 
# michogar
# Analista Programador SIG
# Ubuntu Linux Counter 462666



"It has a legend that if you play an original Windows Vista DVD backwards to
hear Bill Gates Satanic chanting songs ... But that's not the worst ... If
you play it right ... It installs!.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Joins using FDO SQL Server Spatial

2009-02-12 Thread Martin Morrison
The experience I had was that they were selectable, it just took a long time 
3-4 minutes...

You will always get faster response with pre-canned data.  Get the new SQL 
provider, process the geometry and the data into a single table and watch it 
fly.

Martin



-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of wordsy
Sent: Wednesday, February 11, 2009 4:35 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Joins using FDO SQL Server Spatial


Hello Everyone;

I have all my spatial and attribute data stored in an SQL Server 2008 GIS
enabled database.  My table structure is as such.  BaseTable (with base
attributes) and FeatureTable (with more detailed attibutes).  I have created
views that join each FeatureTable with a BaseTable (1 to 1 relationship). 
The FeatureTable has the Geometry datatype field in it.  

The view created makes the layer unselectable on the map.  But if I do a
view directly on the FeatureTable, the features are now selecteble.  

My question is:

Can I not use inner joins (or any other joins) using this FDO (SQL Server
Spatial) ??  Anyone else run into this problem before?

Thanks in advance for any help.
-- 
View this message in context: 
http://n2.nabble.com/Joins-using-FDO-SQL-Server-Spatial-tp2311594p2311594.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
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


Re: [mapguide-users] Create programmatically a map

2009-02-12 Thread sekko970

Hi Kenneth, and thanks for your promptly reply.

I had used an ancoding instance.

Below, you can see my code to create the new map:

Dim resID As New
MgResourceIdentifier(Library://.../maps/MyMap.MapDefinition)

Dim enc As New System.Text.UTF8Encoding(False)

Dim newMapDef As New MgByteSource(enc.GetBytes(XMLMapTemplate.OuterXml),
enc.GetByteCount(XMLMapTemplate.OuterXml))

newMapDef.SetMimeType(MgMimeType.Xml)

Dim resourceSrvc As MgResourceService =
siteConn.CreateService(MgServiceType.ResourceService)

resourceSrvc.SetResource(resID, newMapDef.GetReader(), Nothing)

Dim map As New MgMap()

map.Create(resourceSrvc, resID, MapName)

...

Then, this is my code to create the map layout:

Dim resID As New MgResourceIdentifier(Library://.../Layouts/MyMap.WebLayout)

Dim enc As New System.Text.UTF8Encoding(False)

Dim newLayoutDef As New
MgByteSource(enc.GetBytes(XMLLayoutTemplate.OuterXml),
enc.GetByteCount(XMLLayoutTemplate.OuterXml))

newLayoutDef.SetMimeType(MgMimeType.Xml)

resourceSrvc As MgResourceService =
siteConn.CreateService(MgServiceType.ResourceService)

resourceSrvc.SetResource(resID, newLayoutDef.GetReader(), Nothing)

map.Save(resourceSrvc)


Thanks for your help.
Fabio

--


Kenneth Skovhede, GEOGRAF A/S wrote:
> 
> You could have the problem that .Net emits an utf-8 byte-order-marker 
> (BOM), when
> writing xml.
> http://en.wikipedia.org/wiki/Byte-order_mark
> 
> To counter this, explicitly create an encoding instance:
> System.Text.Encoding enc = new System.Text.UTF8Encoding(false);
> 
> Then implement a xml writer, or manually convert the xml to bytes, using 
> the encoding.
> 
> FYI, the MaestroAPI is LGPL, and so you may use it as a library, even 
> for commercial applications,
> and it handles this quirk and others.
> 
> Regards, Kenneth Skovhede, GEOGRAF A/S
> 
> 
> 
> sekko970 skrev:
>> Dear all,
>>
>> I have created programmatically a map (and its layout) using MG .Net web
>> API.
>> After creation, the new map and layout are visible in MG Maestro, and
>> using
>> the 'Show in browser" button are correctly shown in browser.
>>
>> The problem happens when I load the map directly from browser, and the
>> following error appears:
>> << The type 'OSGeo.MapGuide.MgNullArgumentException' in assembly
>> 'MapGuideDotNetApi, Version= 2.0.2.30 11, Culture=neutral,
>> PublicKeyToken=null' is not marked as serializable >>.
>>
>> Then, simply saving the new layout from MG Maestro (without any
>> modification), and reloading the map directly from browser, the error
>> disappears and the map is correctly shown.
>>
>> After saving the layout, there aren't differences in map and layout XML
>> definitions.
>>
>> Have you any idea about?
>> Thank you in advance.
>> Fabio
>>
>>   
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Create-programmatically-a-map-tp2314238p2315090.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


[mapguide-users] WFS

2009-02-12 Thread Martin Fafard

Hi

I can't publish WFS. I tried to see them with different clients 
(MapInfo, QGIS, uDig).

With MapInfo, the error message is:
"In response to a DescribeFeatureType request, the WFS Server returned 
an invalid feature type."

even for the samples data.

MapGuide 2.0.2

Any idea?
Thank you

Martin F
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Create programmatically a map

2009-02-12 Thread Kenneth Skovhede, GEOGRAF A/S
You could have the problem that .Net emits an utf-8 byte-order-marker 
(BOM), when

writing xml.
http://en.wikipedia.org/wiki/Byte-order_mark

To counter this, explicitly create an encoding instance:
System.Text.Encoding enc = new System.Text.UTF8Encoding(false);

Then implement a xml writer, or manually convert the xml to bytes, using 
the encoding.


FYI, the MaestroAPI is LGPL, and so you may use it as a library, even 
for commercial applications,

and it handles this quirk and others.

Regards, Kenneth Skovhede, GEOGRAF A/S



sekko970 skrev:

Dear all,

I have created programmatically a map (and its layout) using MG .Net web
API.
After creation, the new map and layout are visible in MG Maestro, and using
the 'Show in browser" button are correctly shown in browser.

The problem happens when I load the map directly from browser, and the
following error appears:
<< The type 'OSGeo.MapGuide.MgNullArgumentException' in assembly
'MapGuideDotNetApi, Version= 2.0.2.30 11, Culture=neutral,
PublicKeyToken=null' is not marked as serializable >>.

Then, simply saving the new layout from MG Maestro (without any
modification), and reloading the map directly from browser, the error
disappears and the map is correctly shown.

After saving the layout, there aren't differences in map and layout XML
definitions.

Have you any idea about?
Thank you in advance.
Fabio

  

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


[mapguide-users] Create programmatically a map

2009-02-12 Thread sekko970

Dear all,

I have created programmatically a map (and its layout) using MG .Net web
API.
After creation, the new map and layout are visible in MG Maestro, and using
the 'Show in browser" button are correctly shown in browser.

The problem happens when I load the map directly from browser, and the
following error appears:
<< The type 'OSGeo.MapGuide.MgNullArgumentException' in assembly
'MapGuideDotNetApi, Version= 2.0.2.30 11, Culture=neutral,
PublicKeyToken=null' is not marked as serializable >>.

Then, simply saving the new layout from MG Maestro (without any
modification), and reloading the map directly from browser, the error
disappears and the map is correctly shown.

After saving the layout, there aren't differences in map and layout XML
definitions.

Have you any idea about?
Thank you in advance.
Fabio

-- 
View this message in context: 
http://n2.nabble.com/Create-programmatically-a-map-tp2314238p2314238.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


Re: [mapguide-users] How to Highlight Line Features

2009-02-12 Thread padmini godavarthi

Hi,
In my table STARTVALVE has unique valves .By using that "STARTVALVE"
property iam trying for selection .


Regards,
Padmini.
 

Kenneth Skovhede, GEOGRAF A/S wrote:
> 
> You cannot use selection if the table does not have unique primary keys.
> 
> Regards, Kenneth Skovhede, GEOGRAF A/S
> 
> 
> 
> padmini godavarthi skrev:
>> Hi,
>> In my table iam not having any primary key columns.
>>
>> Thanks and Regards,
>> Padmini
>>
>>
>>
>>
>> Kenneth Skovhede, GEOGRAF A/S wrote:
>>   
>>> I think your data has broken primary keys (eg. empty strings as primary 
>>> key).
>>>
>>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>>
>>>
>>>
>>> padmini godavarthi skrev:
>>> 
   Hi,
 iam using Mapguide opensource 2.0 (with .net 2.0 +IIS 5.1)
 Now iam struck up with high lighting line features on the map.

 my code is as follows:-
 ---


 Dim fetresource1 As MgResourceIdentifier = New
 MgResourceIdentifier("Library://WaterNetwork/data/resource.FeatureSource")
 Dim nameQuery1 As MgFeatureQueryOptions = New
 MgFeatureQueryOptions()
 Dim val1 As String = "STARTVALVE"
 nameQuery1.AddFeatureProperty(val1)
   nameQuery1.SetFilter("STARTVALVE ='124'")
 Dim layer1 As MgLayer = map.GetLayers().GetItem("waterpipe")
 layer1.Selectable = True
 Dim featureReader1 As MgFeatureReader =
 featureService.SelectFeatures(fetresource1,
 layer1.GetFeatureClassName(),
 nameQuery1)

 Dim selection As MgSelection = New MgSelection(map)
 selection.AddFeatures(layer1, featureReader1, 0)
 Dim selectXML As String = selection.ToXml()
 selection.Save(resourceService, "watermap")
 Page.ClientScript.RegisterStartupScript(Page.GetType(), "test",
 "select('" & selectXML & "')", True)

 map.Save(resourceService)

 featureReader1.Close()
 -

 function select(val) {
  
  var selectionXML = val;
   parent.parent.SetSelectionXML(selectionXML); 
  alert("Selected");
   parent.parent.refresh;
  
 }


 but the line  feature is not highlighting ?  but this code works with
 polygon feature.
 i  found that in xml 


 >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd"> >>> id="1f6baf1e--1000-8000-0016e692a356">  >>> id="KingOra:IMCN~GIS_WATERPIPE_DETAILS~SHAPE">   
  

 ID doesn't came.is there problem with ID?

 Can u plz tell me the solution?

 Thanks and Regards,
 Padmini

   
   
>>> ___
>>> 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
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/How-to-Highlight-Line-Features-tp2307466p2314231.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


Re: [mapguide-users] How to Highlight Line Features

2009-02-12 Thread Kenneth Skovhede, GEOGRAF A/S

You cannot use selection if the table does not have unique primary keys.

Regards, Kenneth Skovhede, GEOGRAF A/S



padmini godavarthi skrev:

Hi,
In my table iam not having any primary key columns.

Thanks and Regards,
Padmini




Kenneth Skovhede, GEOGRAF A/S wrote:
  
I think your data has broken primary keys (eg. empty strings as primary 
key).


Regards, Kenneth Skovhede, GEOGRAF A/S



padmini godavarthi skrev:


  Hi,
iam using Mapguide opensource 2.0 (with .net 2.0 +IIS 5.1)
Now iam struck up with high lighting line features on the map.

my code is as follows:-
---


Dim fetresource1 As MgResourceIdentifier = New
MgResourceIdentifier("Library://WaterNetwork/data/resource.FeatureSource")
Dim nameQuery1 As MgFeatureQueryOptions = New
MgFeatureQueryOptions()
Dim val1 As String = "STARTVALVE"
nameQuery1.AddFeatureProperty(val1)
  nameQuery1.SetFilter("STARTVALVE ='124'")
Dim layer1 As MgLayer = map.GetLayers().GetItem("waterpipe")
layer1.Selectable = True
Dim featureReader1 As MgFeatureReader =
featureService.SelectFeatures(fetresource1, layer1.GetFeatureClassName(),
nameQuery1)

Dim selection As MgSelection = New MgSelection(map)
selection.AddFeatures(layer1, featureReader1, 0)
Dim selectXML As String = selection.ToXml()
selection.Save(resourceService, "watermap")
Page.ClientScript.RegisterStartupScript(Page.GetType(), "test",
"select('" & selectXML & "')", True)

map.Save(resourceService)

featureReader1.Close()
-

function select(val) {
 
 var selectionXML = val;
  parent.parent.SetSelectionXML(selectionXML); 
 alert("Selected");

  parent.parent.refresh;
 
}



but the line  feature is not highlighting ?  but this code works with
polygon feature.
i  found that in xml 



http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd">   id="KingOra:IMCN~GIS_WATERPIPE_DETAILS~SHAPE">   
 


ID doesn't came.is there problem with ID?

Can u plz tell me the solution?

Thanks and Regards,
Padmini

  
  

___
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


Re: [mapguide-users] How to Highlight Line Features

2009-02-12 Thread padmini godavarthi

Hi,
In my table iam not having any primary key columns.

Thanks and Regards,
Padmini




Kenneth Skovhede, GEOGRAF A/S wrote:
> 
> I think your data has broken primary keys (eg. empty strings as primary 
> key).
> 
> Regards, Kenneth Skovhede, GEOGRAF A/S
> 
> 
> 
> padmini godavarthi skrev:
>>
>>   Hi,
>> iam using Mapguide opensource 2.0 (with .net 2.0 +IIS 5.1)
>> Now iam struck up with high lighting line features on the map.
>>
>> my code is as follows:-
>> ---
>>
>>
>> Dim fetresource1 As MgResourceIdentifier = New
>> MgResourceIdentifier("Library://WaterNetwork/data/resource.FeatureSource")
>> Dim nameQuery1 As MgFeatureQueryOptions = New
>> MgFeatureQueryOptions()
>> Dim val1 As String = "STARTVALVE"
>> nameQuery1.AddFeatureProperty(val1)
>>   nameQuery1.SetFilter("STARTVALVE ='124'")
>> Dim layer1 As MgLayer = map.GetLayers().GetItem("waterpipe")
>> layer1.Selectable = True
>> Dim featureReader1 As MgFeatureReader =
>> featureService.SelectFeatures(fetresource1, layer1.GetFeatureClassName(),
>> nameQuery1)
>>
>> Dim selection As MgSelection = New MgSelection(map)
>> selection.AddFeatures(layer1, featureReader1, 0)
>> Dim selectXML As String = selection.ToXml()
>> selection.Save(resourceService, "watermap")
>> Page.ClientScript.RegisterStartupScript(Page.GetType(), "test",
>> "select('" & selectXML & "')", True)
>>
>> map.Save(resourceService)
>>
>> featureReader1.Close()
>> -
>>
>> function select(val) {
>>  
>>  var selectionXML = val;
>>   parent.parent.SetSelectionXML(selectionXML); 
>>  alert("Selected");
>>   parent.parent.refresh;
>>  
>> }
>>
>>
>> but the line  feature is not highlighting ?  but this code works with
>> polygon feature.
>> i  found that in xml 
>>
>>
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd"> > id="1f6baf1e--1000-8000-0016e692a356">  > id="KingOra:IMCN~GIS_WATERPIPE_DETAILS~SHAPE">   
>>  
>>
>> ID doesn't came.is there problem with ID?
>>
>> Can u plz tell me the solution?
>>
>> Thanks and Regards,
>> Padmini
>>
>>   
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/How-to-Highlight-Line-Features-tp2307466p2313727.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

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


Re: [mapguide-users] How to Highlight Line Features

2009-02-12 Thread Kenneth Skovhede, GEOGRAF A/S
I think your data has broken primary keys (eg. empty strings as primary 
key).


Regards, Kenneth Skovhede, GEOGRAF A/S



padmini godavarthi skrev:


  Hi,
iam using Mapguide opensource 2.0 (with .net 2.0 +IIS 5.1)
Now iam struck up with high lighting line features on the map.

my code is as follows:-
---


Dim fetresource1 As MgResourceIdentifier = New
MgResourceIdentifier("Library://WaterNetwork/data/resource.FeatureSource")
Dim nameQuery1 As MgFeatureQueryOptions = New
MgFeatureQueryOptions()
Dim val1 As String = "STARTVALVE"
nameQuery1.AddFeatureProperty(val1)
  nameQuery1.SetFilter("STARTVALVE ='124'")
Dim layer1 As MgLayer = map.GetLayers().GetItem("waterpipe")
layer1.Selectable = True
Dim featureReader1 As MgFeatureReader =
featureService.SelectFeatures(fetresource1, layer1.GetFeatureClassName(),
nameQuery1)

Dim selection As MgSelection = New MgSelection(map)
selection.AddFeatures(layer1, featureReader1, 0)
Dim selectXML As String = selection.ToXml()
selection.Save(resourceService, "watermap")
Page.ClientScript.RegisterStartupScript(Page.GetType(), "test",
"select('" & selectXML & "')", True)

map.Save(resourceService)

featureReader1.Close()
-

function select(val) {
 
 var selectionXML = val;
  parent.parent.SetSelectionXML(selectionXML); 
 alert("Selected");

  parent.parent.refresh;
 
}



but the line  feature is not highlighting ?  but this code works with
polygon feature.
i  found that in xml 



http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd">   id="KingOra:IMCN~GIS_WATERPIPE_DETAILS~SHAPE">   
 


ID doesn't came.is there problem with ID?

Can u plz tell me the solution?

Thanks and Regards,
Padmini

  

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