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.
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
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
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
MgResourceService resourceService =
siteConnection.CreateService(MgServiceType.ResourceService) as
MgResourceService;
MgResourceIdentifier resId = new
MgResourceIdentifier(layer.GetFeatureSourceId());
MgResourceIdentifier layerDefResId = layer.GetLayerDefinition();
MgByteReader
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());
Utility.InitializeWebTier(Request);
string myLayerName = Districts;
MgUserInformation userInfo = new
MgUserInformation(Session[ID].ToString());
MgSiteConnection siteConnection = new MgSiteConnection();
siteConnection.Open(userInfo);
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
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 =
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
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
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
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
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
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
101 - 115 of 115 matches
Mail list logo