POST
|
HI, I have Standard Layout templates (A4-Size) with 3 Data Frames with Different Specific Scales as map document (.mxd file).From Web User Interface; Users want to enter the Latitude’s and Longitude’s of Features (Point, Line or Polygon); that features should be added to 3 Data Frames with CENTER AT Feature; And successively resultant Layout template should be Printed. I have tried Different Approaches but nothing is worked for me. Could any one please give me a good Suggestions for above said Scenario.
... View more
03-14-2017
03:11 AM
|
0
|
0
|
857
|
POST
|
Thank you very much dbroux It Solved my problem. In continuation to this i want some suggestion from you on the below Question How to add lat and long as a point to point feature layer(not as a graphic on the map, it should update to database also) that is published as a feature service
... View more
12-18-2012
10:30 PM
|
0
|
0
|
169
|
POST
|
Hi, i'm trying to plot latitude and longitude as a graphic on Bing map tile layer. but that graphic is not displaying at the correct location. can anybody give me their valuable suggestions on the same. here is the code: Xaml View: <UserControl x:Class="SilverlightSample.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="http://schemas.esri.com/arcgis/client/2009" xmlns:j="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:esriBehaviors="clr-namespace:ESRI.ArcGIS.Client.Behaviors;assembly=ESRI.ArcGIS.Client.Behaviors" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:bing="clr-namespace:ESRI.ArcGIS.Client.Bing;assembly=ESRI.ArcGIS.Client.Bing"> <Grid x:Name="LayoutRoot" Background="White"> <Grid.Resources> <esri:SimpleMarkerSymbol x:Key="RedMarkerSymbol" Color="Red" Size="12" Style="Circle" /> </Grid.Resources> <esri:Map x:Name="MyMap" WrapAround="True" Extent="2172951.24,-2977568.64,15646541.00,6483665.35" Loaded="MyMap_Loaded"> <esri:Map.Layers> <bing:TileLayer ID="Bing Layer" LayerStyle="Road" ServerType="Production" Visible="True" Token="AtzVxHIwGvcsSLalf3ryOQrw9litxzSCSzpJxRgZNECjli-arkrbowrm2HI8xrv0" InitializationFailed="Layer_InitializationFailed" /> <esri:GraphicsLayer ID="PointsGraphicsLayer"> </esri:GraphicsLayer> </esri:Map.Layers> </esri:Map> .cs: namespace SilverlightSample { public partial class MainPage : UserControl { private static ESRI.ArcGIS.Client.Projection.WebMercator mercator = new ESRI.ArcGIS.Client.Projection.WebMercator(); GraphicsLayer PointsGL = null; public MainPage() { InitializeComponent(); //LoadGraphics(); PointsGL = MyMap.Layers["PointsGraphicsLayer"] as GraphicsLayer; } private void CreatePoint(string lt, string lon) { double i_lt = Convert.ToDouble(lt) ; double i_lon = Convert.ToDouble(lon); SpatialReference SR=MyMap.Layers[0].SpatialReference; PointsGL.ClearGraphics(); MapPoint P = new MapPoint(i_lt, i_lon);//,new SpatialReference(102100)); Graphic graphic = new Graphic() { Geometry = P,// mercator.FromGeographic(P), //mercator.FromGeographic(new MapPoint(coordinateList.Coordinates.X, coordinateList.Coordinates.Y)), Symbol = LayoutRoot.Resources["RedMarkerSymbol"] as SimpleMarkerSymbol, }; PointsGL.Graphics.Add(graphic); MyMap.PanTo(graphic.Geometry); } }
... View more
11-26-2012
10:29 PM
|
0
|
2
|
678
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|