|
POST
|
Where did you specify the maptip? It has to be on the root element of the maptip element (not on the layer, or map or a sub element of that).
... View more
08-20-2010
02:26 PM
|
0
|
0
|
1424
|
|
POST
|
Again I cannot guess what is wrong if you don't share some code, or the requests going between the browser and the server.
... View more
08-20-2010
11:45 AM
|
0
|
0
|
2015
|
|
POST
|
Because of this: IsHitTestVisible="False" If you disable hit testing, there's no way for the maptip to know you entered the feature with your mouse.
... View more
08-20-2010
11:43 AM
|
0
|
0
|
706
|
|
POST
|
AutoSave only applies to the actual features saved. Attachments are not considered a part of this. Also you cannot add attachments to features not yet saved to the server.
... View more
08-20-2010
11:42 AM
|
0
|
0
|
538
|
|
POST
|
v1.2 has not been tested with ArcGIS Server 10. While many things will continue to work, there are new features in the server that the old client will not know how to handle. I would not recommend using v1.2 in this scenario but upgrade to v2.0. The nice thing about silverlight is that you just have to update the application on the webserver, and the users will automatically get the new application. The upgrade path is as simple as installing the new 2.0 API, set the application to use Silverlight 4, upgrade the assembly references to point the new v2.0 api, recompile and publish the xap to the webserver. You will want to also upgrade the JavaScript so users who are still on Silverlight 3 automatically will get prompted to upgrade the plugin (in most cases this should already have happened through Windows Update).
... View more
08-20-2010
11:39 AM
|
0
|
0
|
522
|
|
POST
|
emazeika is correct. The topic linked to gives you the formula to convert to scale. Use the map's ExtentChanging event to recalculate the scale based on Map.Resolution. Note: As hinted in the doc, its technically impossible to display the correct scale, since there's no way of knowing the size of the screen and it's pixel resolution. (in cases where you have the screen cloned on multiple screens - like with a projector connected - the scale is even different on each screen!).
... View more
08-20-2010
07:47 AM
|
0
|
0
|
1050
|
|
POST
|
We are aware of the issue with Silverlight, but no we have not seen any significant memory issues regarding this bug. Are you saying you are seeing issues with the API, if you strip out all the other stuff from your application?
... View more
08-20-2010
07:35 AM
|
0
|
0
|
1783
|
|
POST
|
Light weight marker + one usercontrol will be way more efficient. If you have a lot of data you always want to keep your symbol templates as simple as possible. Note: I wouldn't generate a new usercontrol instance on each mouse over. I would just have one present on top of the map, and toggle the visibility and move it to the location of the new marker on mouse enter. Set the DataContext of the control to the graphic to update the contents in the custom maptip, just like "normal' maptip works.
... View more
08-20-2010
07:31 AM
|
0
|
0
|
802
|
|
POST
|
Try and ask over in the server forums: http://forums.arcgis.com/forums/8-ArcGIS-Server-General
... View more
08-19-2010
08:33 AM
|
0
|
0
|
420
|
|
POST
|
If you change values on the fly after the graphic has rendered, you must raise PropertyChanged for the properties you modified that affect rendering. Also if you require different offsets for all your graphics, make sure you use different symbol instances for each. Or create a template that expands its size around (0,0), so you don't have to muck around with offsets in the first place.
... View more
08-19-2010
08:30 AM
|
0
|
0
|
840
|
|
POST
|
The Silverlight map uses resolution in stead of scale, since scale is a very misleading value on a computer screen (because you basically don't know the dimension of your screen). So to zoom to a scale this use the Map.ZoomToResolution(mapUnitsPerPixel) method instead. where mapUnitsPerPixels is how many meters/feets/degrees (based on what projection you use) one pixel covers. To convert this value from a scale, you will need to know how big a pixel is on your screen. As mentioned above this is where it gets misleading, because most screens are different (when you connect a projector you even have two scales, one on your laptop and another one on your projector). An often used assumption is 96dpi (pixels per inch), so with a little math, you can calculate the resolution based on a specific scale (ie. 1:25000 means 1inch on screen = 25000 inches on the map, so at 96 dpi, 1 pixel is 25000/96, and lastly you should convert the inches to whatever unit your map projection is using) . Also see the scale discussion here: http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map.html
... View more
08-19-2010
08:27 AM
|
0
|
0
|
472
|
|
POST
|
GraphicsLayer does not support curves. The only way I can see how to do it would be to densify the line as you describe. If you are having performance issues, my guess is that you are over-densifying it beyond what's necessary. As an alternative you could also use the ElementLayer.
... View more
08-19-2010
08:20 AM
|
0
|
0
|
1148
|
|
POST
|
v2.0 is compatible with AGS9.3.1, but does offer new routing functionality that was not available in 9.3.1 (so stay clear of those added features). Could you share some code? It's really hard to guess what the problem could be.
... View more
08-19-2010
08:17 AM
|
0
|
0
|
2015
|
|
POST
|
Correct. This is not the behavior of the maptip. You can also use the MouseLeftButtonDown event on the graphic to pop up a UserControl on top of the map. Use the screencoordinate in the mouse event to determine where to put the usercontrol.
... View more
08-19-2010
08:16 AM
|
0
|
0
|
802
|
|
POST
|
Not out of the box, but take a look at this project: http://esrislcontrib.codeplex.com/ However, if you plan on displaying a lot of data, this is likely not the way to go. High amounts of data are best displayed using server side rendered images or a pre-generated server-cache.
... View more
08-18-2010
02:58 PM
|
0
|
0
|
881
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-11-2026 07:05 AM | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|