[mapguide-users] Re: Is it possible to modify scale ranges of a layer dynamically

2010-02-25 Thread SriRam007
Yes after modification I want to save the ranges to the layer definition. thanks -- View this message in context: http://n2.nabble.com/Is-it-possible-to-modify-scale-ranges-of-a-layer-dynamically-tp4631747p4631796.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] How to change Existing Max scale for a layer

2010-02-25 Thread SriRam007
hi everyone, Can i change the Max scale for a Layer using MGOS and C#.net. I have modified the XML file of Layerdefinition for changing the scale dynamically. My Scale Range Details for a layer are as below - Range From To - 1

[mapguide-users] Color code in layerdefinition file

2010-02-24 Thread SriRam007
Hi everyone, Can i apply this color codes for a label control. I have got this XML file of a layerdefinition. I want to use the colors (Which are in Bold) for a asp.net label control as backcolor in my invoke url command page for showing the user currently used color for a line type or for a

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-23 Thread SriRam007
there is no SetResourceContent forgive me if i m saying wrong... MgResourceService resourceService = siteConnection.CreateService(MgServiceType.ResourceService) as MgResourceService; MgByteReader byteReader = resourceService.GetResourceContent(layerDefResId); --For getting the XML For

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-23 Thread SriRam007
MgResourceService resourceService = siteConnection.CreateService(MgServiceType.ResourceService) as MgResourceService; MgResourceIdentifier resId = new MgResourceIdentifier(layer.GetFeatureSourceId()); MgResourceIdentifier layerDefResId = layer.GetLayerDefinition(); MgByteReader

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-23 Thread SriRam007
Utility.InitializeWebTier(Request); string myLayerName = Districts;//layerSelect.Value.ToString() //args = Utility.GetRequestParameters(Request); //Query Qry = new Query(args); MgUserInformation userInfo = new MgUserInformation(Session[ID].ToString());

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-23 Thread SriRam007
Utility.InitializeWebTier(Request); string myLayerName = Districts; MgUserInformation userInfo = new MgUserInformation(Session[ID].ToString()); MgSiteConnection siteConnection = new MgSiteConnection(); siteConnection.Open(userInfo);

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-23 Thread SriRam007
thank u very much for ur very quick reply Now Its changing the feature label but temporarly. Can't we make it permanently. thanks -- View this message in context: http://n2.nabble.com/Is-it-Possible-to-set-Feature-Label-for-a-layer-dynamically-tp4590194p4618447.html Sent from the MapGuide

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-23 Thread SriRam007
Thank u very much to both of u Kenneth Skovhede, GEOGRAF A/S And zspitzer Really u both helped me a lot. Specially Kenneth Skovhede And here is the Full and Final Code Everyone can use it Utility.InitializeWebTier(Request); string myLayerName =

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-22 Thread SriRam007
hi, Upto 5th step is done. I got the LayerDefinition in XML format and modified the text tag but Could u please explain the 6th step little more. I m not getting what exactly i need to do. I am not sure should i change the Text tag for changing the label. TextKey/Text :: TextName/Text I just

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-19 Thread SriRam007
Thank u very much for ur reply Now I m trying according to u. If i get success i will post here all the code. thanks -- View this message in context: http://n2.nabble.com/Is-it-Possible-to-set-Feature-Label-for-a-layer-dynamically-tp4590194p4597444.html Sent from the MapGuide Users mailing

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-18 Thread SriRam007
Sorry i forget to tell u that i m not using maestro api. I have only Mapguide Open source. Can it be done by using .net and Javascript thanks. -- View this message in context: http://n2.nabble.com/Is-it-Possible-to-set-Feature-Label-for-a-layer-dynamically-tp4590194p4590960.html Sent from the

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-18 Thread SriRam007
Can u please post the exact link I went through all the link but still not getting anything which will be useful for me. I am using C#.Net and Javascript but some links are in PHP and some diffeerent topic are also comming i did not get which one should i use and which should be my first step

[mapguide-users] Is it Possible to set Feature Label for a layer dynamically

2010-02-17 Thread SriRam007
Hi everyone, Can anyone please tell me Is it Possible to set Feature Label for a layer dynamically using MGOS thanks -- View this message in context: http://n2.nabble.com/Is-it-Possible-to-set-Feature-Label-for-a-layer-dynamically-tp4590194p4590194.html Sent from the MapGuide Users mailing

[mapguide-users] Re: Is it Possible to set Feature Label for a layer dynamically

2010-02-17 Thread SriRam007
thanks for ur quick reply Can u please give some more idea and some sample code for this... thanks -- View this message in context: http://n2.nabble.com/Is-it-Possible-to-set-Feature-Label-for-a-layer-dynamically-tp4590194p4590389.html Sent from the MapGuide Users mailing list archive at

<    1   2