POST
|
Sure. When printing and selecting the printer, use the 'Preferences' dialog to change the printer parameters : Orientation, Paper size..... The print will use these parameters that will become the default for the print preview dialog. Latest sources for SL4 are here : http://www.arcgis.com/home/item.html?id=e361c2cc69784fcba34358d0458f66e3 The version adapted for SL5 is given in this thread (second post). Thanks a lot Dominique 🙂
... View more
06-20-2012
09:42 PM
|
0
|
0
|
294
|
POST
|
Hi BROUX, Is it possible to print Map in A3, A2 ,A1 etc. I tried the sample 'Client side Map Printing to scale over multi pages' its working fine for A4 paper From where can i find the latest sample for printing in silverlight 4 api version 2.2. Regards balu
... View more
06-19-2012
04:51 AM
|
0
|
0
|
294
|
POST
|
The Heat map layer code is published here : http://esrisilverlight.codeplex.com/ The default gradient is :
GradientStopCollection stops = new GradientStopCollection();
stops.Add(new GradientStop() { Color = Colors.Transparent, Offset = 0 });
stops.Add(new GradientStop() { Color = Colors.Blue, Offset = .5 });
stops.Add(new GradientStop() { Color = Colors.Red, Offset = .75 });
stops.Add(new GradientStop() { Color = Colors.Yellow, Offset = .8 });
stops.Add(new GradientStop() { Color = Colors.White, Offset = 1 });
Gradient = stops; This worked for me, thanks dbroux
... View more
05-29-2012
05:40 AM
|
0
|
0
|
207
|
POST
|
If you go to the Code Gallery on the main Silverlight API page and search for print the are a number of samples that come up. If you can hold off a bit I would wait for 10.1 to be released as this has native print support as part of AGS When do I get that relese? thanks, Joby
... View more
05-29-2012
01:03 AM
|
0
|
0
|
192
|
POST
|
Hi, Can anyone give the silverlight 4 sample for print map? Thanks , Joby.
... View more
05-28-2012
09:31 PM
|
0
|
3
|
506
|
POST
|
Hi , Can anyone give me the default gradient of the heat map? thanks & regards, Joby
... View more
05-28-2012
05:27 AM
|
0
|
2
|
2589
|
POST
|
The link looks good to me:confused: h t t p://blogs.esri.com/esri/arcgis/2010/10/01/how-to-keep-maptips-in-the-map/ Sorry, When I clicked first time it goes somewhere else now only got the correct page. Thanks, Joby.
... View more
05-22-2012
01:37 AM
|
0
|
0
|
316
|
POST
|
The next version (3.0 release) will take care of that out of the box. If you want to implement the functionality by yourself in the current version, this Rex's blog post might help : http://blogs.esri.com/esri/arcgis/2010/10/01/how-to-keep-maptips-in-the-map/ Can you please send me the exact link? Thanks, Joby
... View more
05-21-2012
11:14 PM
|
0
|
0
|
316
|
POST
|
Hi, Is there any property in InfoWindow by setting which we can disable this? Thanks, Joby
... View more
05-21-2012
11:00 PM
|
0
|
0
|
316
|
POST
|
Hi, I have added an infow window in my silverlight application to show the details of the location. Its working normally,But when i move the map with this info window open it goes over the parent control which holds the map. Is there any way to getrid of it? Please help. regards, Joby.
... View more
05-21-2012
04:59 AM
|
0
|
6
|
733
|
POST
|
If you want to set the extent prior to the map is ready for zooming, just set the extent instead of zooming. ie. myMap.Extent = myNewExtent; By using this I am able to solve the problem. focusing after initializing the layer is of no use if we want to zoom to a point before loading the map.
... View more
04-30-2012
02:05 AM
|
0
|
0
|
588
|
POST
|
MyMap.ZoomTo ( pt); If you don't want to Zoom too close, you can do something like the following: Envelope env = new Envelope(); env.SpatialReference = MyMap.SpatialReference; env.XMax = pt.X + 500; env.YMax = pt.Y + 500; env.XMin = pt.X - 500; env.YMin = pt.Y - 500; MyMap.ZoomTo(env); Hi deminhu, by using this I am able to set the focus to that point. Now I am facing an issue, that is when I trying to focus at first time without loading the map the spatial reference become null so It wont focus to the correct location. I also tryed to hard cord the spatial reference but the issue continues. Please help. Is there any event in map which will fire after loading the map so that I can run the code at that time?
... View more
04-25-2012
02:19 AM
|
0
|
0
|
588
|
POST
|
Hi I have created an application in silverlight using arcgis api. In that I am saving the location in map using map points. I got the map points while I try to save the record. When i try to edit the same record I want to zoom to the particular location. How can I do this <Grid x:Name="LayoutRoot" Margin="2"> <Grid.Resources> <esri:PictureMarkerSymbol x:Key="PinPictureMarkerSymbol" Source="/UIControls.AccidentRecordForm;component/Images/Delete_2.png" /> </Grid.Resources> <esri:Map MouseClick="Map_MouseClick" x:Name="MyMap"> <esri:Map.Layers> <esri:ArcGISTiledMapServiceLayer Url="http://www.darb.ae/ArcGIS/rest/services/BaseMaps/DOT_StreetMap_En/MapServer"/> <esri:GraphicsLayer ID="MyGraphicsLayer"> <esri:GraphicsLayer.Graphics > <esri:Graphic Symbol="{StaticResource PinPictureMarkerSymbol}"> </esri:Graphic> </esri:GraphicsLayer.Graphics> </esri:GraphicsLayer> </esri:Map.Layers> </esri:Map> </Grid> MapPoint mapPoint=new MapPoint(Convert.ToDouble(crashForm.tbLocationEasting.Text), Convert.ToDouble(crashForm.tbLocationNorthing.Text)); GraphicsLayer graphicsLayer = MyMap.Layers["MyGraphicsLayer"] as GraphicsLayer; Graphic graphic = new Graphic() { Geometry = mercator.FromGeographic(mapPoint), Symbol = LayoutRoot.Resources["PinPictureMarkerSymbol"] as Symbol }; graphicsLayer.Graphics.Clear(); graphicsLayer.Graphics.Add(graphic); this is the code where I add graphics to the map whle editting. How can I zoom or focus to this location? Please help.
... View more
04-23-2012
10:35 PM
|
0
|
6
|
2159
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|