Prevent Callout box or Popup from getting cut off at bottomo or top of map
The Silverlight Viewer seems to have a way of determing when a call-out box is going to be over the edge of a map and it re-positions the call-out box so that it does not get cropped by the edge of the map. The HTML5 viewer does not do the same thing. Is there some way to modify the Desktop.css file or a .js file so that the HTML5 viewer functions the same way?
0
-
+1. We're experiencing the same problem
0 -
+1. We've received several responses from the public on this issue. Are there any configuration options availble short-term?
0 -
See this thread for one possible work around:
0 -
This link is broken. I'm looking to do the same thing in an HTML5 viewer. Any advice? We are using the 2.0 viewer. 0 -
I've fixed the broken link.
As a plug-in, the Silverlight viewer had the ability to detect the edges of the map view area and dynamically position the map tip so it didn't extend past the edge of that area. Unfortunately, that's a much more complicated process using HTML and JavaScript, so we haven't been able to implement that behavior in the HTML5 viewer.
In version 2.4, we offered a new way of displaying map tips, such that the map tip is always anchored in the top-left region of the map. If that behavior works for you, the problem of map tips getting cut off goes away, but if you still want the traditional, floating map tip, this continues to be a problem. It's something we'd like to address, but we have a lot of higher-priority features and enhancements to implement ahead of this. There is an idea for this enhancement (http://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=9066000000006L9AAI) here -- if the idea receives a lot more attention, it's certainly something we will look at reprioritizing.
Hope that helps!0 -
Thanks Jordan,
This work-around will work for us until we upgrade to 2.4 and use the anchored method for map tips! I appreciate you getting back to me so quickly!
Thanks,
Allison0 -
We have recently implemented the Pan to Point feature as referenced in the forum post above, so when a feature is clicked the map tip callout opens and the map centers to the feature. However, we are experiencing a bit of a lag in the map panning. When a feature is clicked, the call-out opens immediately, THEN the map pans, leaving the callout in the same spot of the click for a split second before it catches up with the pan and centers on the feature again. Has anyone experienced this issue when enabling the Pan to Point functionality?
{
"moduleName": "Map",
"moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.map.MapModule",
"configuration": {
"panDuration": 350,
"panRate": 50,
"zoomDuration": 500,
"zoomRate": 50,
"longClickMilliseconds": 500,
"maxExtentLogSize": 100,
"showLoadingStatus": true,
"loadingMessageTiming": [
1000,
3000,
3000
],
"defaultPointFeatureZoomScales": [],
"behaviors": [
{
"name": "MapOnClickBehavior",
"commands": [
"PanToPoint", "InvokeMapTip"
]
},0
Please sign in to leave a comment.
Comments
7 comments