|
POST
|
Sorry. The zooming behavior is by design. You might be able to intercept the mousewheel zoom and cancel it so it doesn't bubbles to the map. You can then do the Zoom call yourself.
... View more
05-28-2010
09:47 AM
|
0
|
0
|
1110
|
|
POST
|
Before you go down this road, I'm wondering why you are not using a GraphicsLayer ? There's nothing in this post (or your other one) that makes use of something the GraphicsLayer couldn't very easily do.
... View more
05-28-2010
09:45 AM
|
0
|
0
|
887
|
|
POST
|
I'm not sure I understand the problem. When you zoom, the mouse zooms around where the mouse cursor is (ie. if you hold the mouse on top of a city and zoom, the city will stay under the mouse cursor). There shouldn't be any panning involved.
... View more
05-27-2010
05:03 PM
|
0
|
0
|
1110
|
|
POST
|
If you need to lock down the service, it's probably better just to create different services, and secure them using token services. That way you don't really have to do anything on the client other than provide a login screen to get the token.
... View more
05-27-2010
08:37 AM
|
0
|
0
|
1201
|
|
POST
|
Listen for ExtentChanged/ExtentChanging. If your user moves out of the extent, zoom/pan back.
... View more
05-27-2010
08:28 AM
|
0
|
0
|
1201
|
|
POST
|
This line : esri:ElementLayer.Envelope="0,0,0,0" means "show the image at equator/greenwich with the size of the image (which you never set width/height on - you should)". When you change it to -30,30,-30,30, this means its still centered on equator/greenwich, but now 60map units wide and high (width/height of image will be overridden. However you are zooming to -103.0947, 21.07186, 58.95613, 68.22523, which doesn't intersect -30,30,-30,30. Other things to check: Is your image path correct?
... View more
05-27-2010
08:25 AM
|
0
|
0
|
887
|
|
POST
|
I wouldn't recommend using SOAP to ArcGIS Server. The proxy generated is enourmous, and the overhead is even bigger (no caching at all). It just doesn't scale very well. Have you looked at this approach instead: http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&scriptID=16800
... View more
05-27-2010
08:20 AM
|
0
|
0
|
2046
|
|
POST
|
You can use the userstate parameter in the ExecuteAsync to pass in an object that identifies the layer, for instance the layer instance, Layer ID or index (...or all of them in an array or custom class/struct etc). This is what the e.UserState value will contain when the request returns. This is very similar to how for instance the methods in System.Net.WebClient works.
... View more
05-26-2010
01:55 PM
|
0
|
0
|
351
|
|
POST
|
We are aware of this issue in the beta, and it will be fixed in the upcoming release.
... View more
05-26-2010
11:56 AM
|
0
|
0
|
401
|
|
POST
|
Unfortunately this didn't make it for the beta cut, but will be available in the next release.
... View more
05-26-2010
09:00 AM
|
0
|
0
|
1507
|
|
POST
|
Default settings are usually set for maximum performance. This means that for certain scenarios (like this) you might have to tweak the defaults.
... View more
05-26-2010
08:16 AM
|
0
|
0
|
950
|
|
POST
|
In that case don't print the map, but print a control that contains a map plus header etc.
... View more
05-26-2010
08:11 AM
|
0
|
0
|
922
|
|
POST
|
If you handle the touch events, the map shouldn't be receiving them (Make sure you set e.Handled = true). The map itself does not implement any touch events. If I recall correctly, if you are not handling touch, these events automatically gets converted to mouse down/move/up events. You could also set IsHitTestVisible=true on the mapcontrol which would prevent the control from getting any mouse and touch events.
... View more
05-26-2010
08:07 AM
|
0
|
0
|
272
|
|
POST
|
If you are hitting a FeatureService the rendering of the layer are coming from the server. It is also the server that drives what the symbology looks like in the TemplatePicker. If you want to change it, the simplest way is to update the symbology in your service. To see what parameters a specific command takes, refer to the individual commands in the Editor's library reference: http://help.arcgis.com/en/webapi/silverlight/apiref/topic214.html Some other gotcha's: - Your Feature/GraphicsLayers must have the ID property set. Editor ignores any layers that doesn't have an ID. - Commands that require a geometry service are only available if the Editor's geometry service url property is set.
... View more
05-25-2010
12:09 PM
|
0
|
0
|
354
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 2 weeks ago | |
| 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 |
yesterday
|