|
POST
|
I have dynamic map service in my web application using ArcGIS API 2 for silverlight 4. I need infoWindow display feature attributes when mouse is over a feature in a layer of the dynamic map service. If anyone can share some idea, solution or kindly code, that would be great help!
... View more
10-13-2011
01:12 PM
|
0
|
2
|
2980
|
|
POST
|
I don't think ArcGIS Extension for Google Maps API has a control for lengend. However, you could integrate a Legend dijit from JS API in your app. Since both api using javascript, it shouldn't be that hard to accomplish your goal. sounds good idea. Let me try. Thanks.
... View more
08-04-2011
12:17 PM
|
0
|
0
|
616
|
|
POST
|
I have an application of ArcGIS Extension for Google Maps API. I need to know how to create Legend tool for it? Please help. Thanks!
... View more
08-03-2011
03:04 PM
|
0
|
2
|
1542
|
|
POST
|
I use ESRI tiled street map service WKID=102100 in our Silverlight application for City of Houston. the map needs to be zoom in further Houston area. But the tiled map only can zoom in certain scale. Does ESRI have anyway or plan to fix the problem?
... View more
07-05-2011
08:58 AM
|
0
|
1
|
2087
|
|
POST
|
I use arcgis silverlight 2.1 with editing feature. Is it possible to display length of line and vertex (x,y) for polyline or polygon feature during drawing a new feature? Thanks.
... View more
06-20-2011
11:15 AM
|
0
|
1
|
613
|
|
POST
|
I have ArcGIS for Silverlight 2.1 installed and going to test my silverlight application. I got style code of ESRI default FeatureDataForm from MS expression blend without modifying the style yet and run the application in VS2010, failed in runtime error (see attached). I comfirmed that both software using version 2.1 references. But it runs well in previous version 2.0. Is anybody has same experience or advice? Is it a bug in version 2.1? Thanks.
... View more
05-12-2011
01:48 PM
|
0
|
0
|
595
|
|
POST
|
I use MS Expression to style default FeatureDataForm in ArcGIS API for MS 2.0 and it works. but it doesn't work when it's upgrated to 2.1 and gives a unhandled exception - system.nullReferenceException. Please help! Appreciate! <Style x:Key="FeatureDataFormStyle1" TargetType="esri:FeatureDataForm" Style="{StaticResource FeatureDataFormStyle1}"> <Setter Property="Background"> <Setter.Value> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FFF3F7FA" Offset="0"/> <GradientStop Color="#FFFFFFFF" Offset="0.1"/> </LinearGradientBrush> </Setter.Value> </Setter> <Setter Property="BorderBrush"> <Setter.Value> <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> <GradientStop Color="#FFA3AEB9" Offset="0"/> <GradientStop Color="#FF8399A9" Offset="0.375"/> <GradientStop Color="#FF718597" Offset="0.375"/> <GradientStop Color="#FF617584" Offset="1"/> </LinearGradientBrush> </Setter.Value> </Setter> <Setter Property="BorderThickness" Value="1"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="esri:FeatureDataForm"> <Border x:Name="DataFormBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="2"> <Border.Resources> <Style x:Key="CustomScrollViewerStyle" TargetType="ScrollViewer"> <Setter Property="BorderThickness" Value="0,1"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="ScrollViewer"> <Grid> <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Margin="0,-1" Opacity="0.2" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"> <Border.OpacityMask> <LinearGradientBrush EndPoint="1.07,0.5" StartPoint="-0.07,0.5"> <GradientStop Color="#FF000000"/> <GradientStop Color="#7FFFFFFF" Offset="0.5"/> <GradientStop Color="#FF000000" Offset="1"/> </LinearGradientBrush> </Border.OpacityMask> </Border> <Grid Background="{TemplateBinding Background}"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <ScrollContentPresenter x:Name="ScrollContentPresenter" Cursor="{TemplateBinding Cursor}" ContentTemplate="{TemplateBinding ContentTemplate}" Margin="{TemplateBinding Padding}"/> <Rectangle Grid.Column="1" Fill="#FFE9EEF4" Grid.Row="1"/> <ScrollBar x:Name="VerticalScrollBar" Grid.Column="1" IsTabStop="False" Maximum="{TemplateBinding ScrollableHeight}" Margin="0,-1" Minimum="0" Orientation="Vertical" Grid.Row="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{TemplateBinding VerticalOffset}" ViewportSize="{TemplateBinding ViewportHeight}" Width="18"/> <ScrollBar x:Name="HorizontalScrollBar" Grid.Column="0" Height="18" IsTabStop="False" Maximum="{TemplateBinding ScrollableWidth}" Margin="-1,0,-1,-1" Minimum="0" Orientation="Horizontal" Grid.Row="1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Value="{TemplateBinding HorizontalOffset}" ViewportSize="{TemplateBinding ViewportWidth}"/> </Grid> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style> </Border.Resources> <Grid> <Grid.RowDefinitions> <RowDefinition Height="30"/> <RowDefinition Height="*"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <ScrollViewer Grid.Row="1" Background="{x:Null}" IsTabStop="False" Padding="{TemplateBinding Padding}" Style="{StaticResource CustomScrollViewerStyle}" VerticalScrollBarVisibility="Auto"> <ContentPresenter x:Name="ContentPresenter" Margin="12,5,6,5" IsHitTestVisible="False"/> </ScrollViewer> <Grid Margin="5" Grid.Row="2" HorizontalAlignment="Center"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Button x:Name="SaveButton" Content="Continue" Grid.Column="0" HorizontalContentAlignment="Center" Margin="5,0,5,5" MinWidth="75" MinHeight="22" Style="{TemplateBinding CommitButtonStyle}" Visibility="Visible" VerticalAlignment="Center" VerticalContentAlignment="Center" Click="btnApply_Click"/> <Button x:Name="CancelButton" Content="Cancel" Grid.Column="2" HorizontalContentAlignment="Center" Margin="0,0,5,5" MinWidth="75" MinHeight="22" Style="{TemplateBinding CommitButtonStyle}" Visibility="Visible" VerticalAlignment="Center" VerticalContentAlignment="Center" Click="btnCancel_Click"/> </Grid> </Grid> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> <!-------------> <esri:FeatureDataForm x:Name="MyFeatureDataForm" FeatureLayer="{Binding Path=Layers[ParkandRecreation], ElementName=Map}" IsReadOnly="False" LabelPosition="Left" />
... View more
05-09-2011
06:44 AM
|
0
|
1
|
675
|
|
POST
|
I moved my sliverlight application from one computer which has ArcGIS for silverlight 2.0 to another which has ArcGIS for silverlight 2.1. And Both computers have VS2010 and siverlight 4. Then I got error below when build my application without doing any change in the machine with ArcGIS for Silverlight 2.1. Please help! "Cannot resolve reference assemblies. Please check the reference assemblies. could not load file or assembly 'ESRI.Arc.GIS.Client,version=2.0.0.314, Culture=neutral,PublicKeyToken=8fc3cc63e44ad86' or one of its dependencies. The system cannot find the file specified."
... View more
05-05-2011
07:09 AM
|
0
|
1
|
787
|
|
POST
|
I saw all examples of ArcGIS Extension for the Google Maps API are for Google Maps Javascript API version 2 which is deprecated. e.g. gmap = new GMap2(document.getElementById("gmap")); Now Google use version 3.x. May I know ArcGIS Extension is going to upgrate or not?
... View more
04-29-2011
09:08 AM
|
0
|
1
|
835
|
|
POST
|
I use Aptana Studio 2 (http://www.aptana.com/products/studio2). There are intellisense plugs-in available from the ArcGIS Resource Center. Query code assist plugin in the resource center or try this link. Do I have to install plugin DOJO? It is failed to install it on my computer.
... View more
04-27-2011
08:32 AM
|
0
|
0
|
874
|
|
POST
|
I use Aptana Studio 2 (http://www.aptana.com/products/studio2). There are intellisense plugs-in available from the ArcGIS Resource Center. Query code assist plugin in the resource center or try this link. Thank you very much! very usefull information. Let me try it.
... View more
04-26-2011
02:32 PM
|
0
|
0
|
874
|
|
POST
|
I have developed ArcGIS API for silverlight by using Visual Studio.Net which has intellisense and error check. Now I start ArcGIS API Javascript. I am wondering if there is any IDE for it with intellisense and error check? Please help!
... View more
04-26-2011
01:17 PM
|
0
|
6
|
4415
|
|
POST
|
If you looked at Google Map API, Point or location -GLatLng is specified with lon/lat even though the Google Map is in WKID 102100. I would suggest that you covert your locator layer to WKID 4326. Otherwise you will have to do some covertion from State Plane feet to lon/lat before adding your result to the Google Map. Thanks for your help. How to the conversion from State Plane feet to lon/lat before adding your result to the Google Map?
... View more
04-26-2011
11:21 AM
|
0
|
0
|
528
|
|
POST
|
I am coding a Javascript application with ArcGIS Google Map Extension. I have my own geocoder which has spatial reference WKID 2278, not 4326. Results don't display in Google map. it works good for silverlight application by convert result to 4326 when display and online service test successful. but I don't know what should be done in this case. Please help!
... View more
04-22-2011
01:32 PM
|
0
|
3
|
965
|
|
POST
|
Thanks Heming. But still no result shows after changing. I am wondering where the result markers come from for ESRI geocoder. Do I need to create marker for my geocoder? please see the source code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html debug=true> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Using Geocoding Service</title> <script src="http://maps.google.com/maps?file=api&v=2&key=DioG219lPJG3WTn3zmQqebsjVg" type="text/javascript"></script> <script src="http://serverapi.arcgisonline.com/jsapi/gmaps/?v=1.6" type="text/javascript" ></script> <script type="text/javascript"> var gmap = null; var locator = null; var mapExtension = null; var gOverlays = null; function initialize() { gmap = new GMap2(document.getElementById('gmap')); gmap.addMapType(G_NORMAL_MAP); gmap.addMapType(G_SATELLITE_MAP); gmap.addControl(new GLargeMapControl()); gmap.addControl(new GMapTypeControl()); gmap.setCenter(new GLatLng(29.76, -95.36),12); // Redlands (Point) mapExtension = new esri.arcgis.gmaps.MapExtension(gmap); locator = new esri.arcgis.gmaps.Locator("http://gisapps.houstongims.org/ArcGIS/rest/services/Address_Locator_Zip_Appr_HCAD_Parcel2009/GeocodeServer"); } function findAddress() { mapExtension.removeFromMap(gOverlays); var address = new Object(); address.Street="611 Walker"; address.Zone= "77002"; var outFields = ["Street"]; locator.addressToLocations(address, outFields, false, mycallback); } function mycallback(addressResults) { gOverlays = mapExtension.addToMap(addressResults); } </script> </head> <body onload="initialize();" onunload="GUnload();"> <table width="100%" height="100%"> <tr> <td align="center"> <table> <tr align="left"> <td> <input type="button" value="Find Address" onclick="findAddress();" /> <input type="button" value="Clear Map Overlays" onclick="mapExtension.removeFromMap(gOverlays);" /> </td> </tr> <tr align="left" valign="top"> <td> <div id="gmap" style="width: 500px; height:500px;"></div> </td> </tr> </table> </td> </tr> </table> </body> </html>
... View more
04-19-2011
10:59 AM
|
0
|
0
|
523
|
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|