Select to view content in your preferred language

MapTips don't work

487
2
05-13-2011 10:46 AM
DorothyMortenson
Deactivated User
I have tried the two different examples on the Silverlight page for MapTips. I've also found an example on this website:
http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/Adding_maptips.htm

In the MapTips with the code behind, I could not get it to work. Everything ran, but no errors.

So I went back to this simple example. My maptips featurelayer is colored red, as in the example.

I get a subset of data showing up. Only the subset of data show the map tips. I have no idea why I'm getting a subset.

In my mapservice, nothing is selected.

In my silverlight xaml, I do not use the where clause, so I have not selected anything. I did try to put  in a where clause (WHERE="SHAPE_AREA > 1"), but that did not change anything.

The map service is at:
http://geiser.wrd.state.or.us/owrd_gis/rest/services/WR/wr_query/MapServer/0


I am running ArcServer 9.3 

Any suggestions?

Dorothy
0 Kudos
2 Replies
ChristopherHill
Deactivated User
Could you post the xaml for your map?

Here is a simple sample
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MapTipWidget

Make sure you are using a graphic layer or feature layer with the map tip.
0 Kudos
dotMorten_esri
Esri Notable Contributor
By default the 9.3 server returns maximum 500 records. My guess is you have a lot more features than that, so there's a bunch of them you don't see, because the server never returns them. Try and set the Mode on the FeatureLayer to OnDemand, and it should only request the features in the current view. If you pan it will progressively get more and more features. As long as you never have more than 500 records in the current map view, you shoulnd't be seeing any missing features.
0 Kudos