Select to view content in your preferred language

Pop-up panning map view

639
5
07-20-2012 07:57 AM
TanyaOwens
Frequent Contributor
Every once in a while when I click the map to get a pop-up the map pans automatically (to the north) and I have to pan back down to see the the pop-up. Is there a fix for this?
0 Kudos
5 Replies
KatherineDalton
Esri Regular Contributor
Tanya and Steve,

Yes, it is the expected behavior that the map pans to display the pop-up window in its entirety. We felt the best option was to always show the entire pop-up, even if it meant shifting the map. There is no way to change this, but you could create your own pop-up that maybe was smaller than the default one. Even still, the behavior will be the same where the map will shift to always display the entire pop-up.

Hope that helps,
Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
JasonDoss
Deactivated User
Steve,

Does this happen in the deployed viewer or just when editing mode in app builder? I ask because I have the same issue when clicking a pop-up while working in app builder. After I deploy to our app server and open the viewer in IE on my desktop, the issue seems to go away.
0 Kudos
TomMagdaleno
Frequent Contributor
Steve,
  I'm curious what resolution you are running.  I am running a large monitor at high resolution so I never really noticed this.  But I am about to deploy a silverlight site to a user that prefers low resolution because the icons are bigger.  This may be a problem for him.
0 Kudos
KatherineDalton
Esri Regular Contributor
Hi Steve,

I haven't been able to reproduce this, but I only have access to a 19" monitor currently. Can you download the latest version of the ArcGIS Viewer for Silverlight (3.1) and see if the problem is still occurring? If so, would you please contact our Technical Support so that they can setup a system similar to yours and see if they can pinpoint the problem?

Thanks,
Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
YurongTan
Regular Contributor
If you have not made the decision, here is my two cents, though I am not a guru with Silverlight: 
I walked into this place mainly because Silverlight is easy to be deployed and quick to start with applications, especially with the Viewer and the pre-cooked templates that are very useful to kick start your map showing.  However, when the first round of apps are out and you would like to take it a little bit further, here is my shares.

1.  Silverlight is not something that makes your applications to interact seamlessly with your corporate databases (e.g. SQL server DB's) without additional steps.  For instance, I would like to have a second tier popup (link) that will show additional information for some of the items in the original popup and the additional information is NOT part of the layer attributes, but in a SQL server database, this turns out to be a challenge as SL by design does not support SQL server connections.  Second, items like textblock, etc. inside a popup (MapTip) is insulated from your app and therefore, attemps to juice up the appearance of the popup contents (e.g. make a popup more readable) through programming will be difficult (doable, but very limitted).   

2.  You can write codes that work exactly the way you want, but when the individual pierces are boundled together to make it a whole, there could be some hickups (known and unknown).  One instance is the map legend control (I use it for layer display control on/off and legend info/symbology).  No doubt tech support is very helpful and often go the extra miles to provide workarounds, but not always and without delays.

3.  Silverlight focuses primarily on presentation and it is relatively "young" as compared to others.  Keep in mind that "presentation" is a big part of any maps or graphics and I hope it will be made a much well-round platform down the road.  If you set your eyes on the future, this is a good warm up process.
0 Kudos