apply multiple commands for Mip tip callouts
Hi,
I am trying to configure map tip call outs in such a way that the callout is always completely on the screen.
For now I have set up that the map pans to the point (point is centered on map). Sometimes the map tip callout is bigger and therefore the map also needs to pan down after it is panned to the point. I have figured out that the command for this is "PanUp" but I am having difficulties in configuring this in the .json file in comibnation with the 'PanToPoint" command.
This is my code so far. Where do I set the 'PanUp' command and do I configure its 'panStep' parameter?
{
"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",
"PanUp",
"InvokeMapTip"
]
}
...
}
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare