Improving pixel tolerance in tablet viewer
Folks,
anyone had any experience in expanding the pixel tolerance in the htlm5 viewer? I have some incidents, and trucks etc... showing on the tablet (as points), and I have to zoom right in to be able to click on them and return anything as part of an identify.
I've toggled the settings in the tablet.json.js file for pixel tolerance to no avail - setting it as high as 500 (I assume pixels) which would seem a lot, and still it does not find any results at smaller scale map drawing. It's a pain to keep using the Identify by Rectangle tool out of the box.. so looking for help please!!!
from tablet.json.js
"moduleName": "Identify",
"moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.identify.IdentifyModule",
"configuration": {
"topMostLayerOnly": false,
"pixelTolerance": 500 ,
"polygonPixelTolerance": 0,
"returnGeometry": true,
"tools":
thanks
Gareth
PS. Viewer is 1.2
-
Gareth,
Are you setting the pixel tolerance for identify in Manager? I set it there, and point identify seems to work fine for me using an iPad...
0 -
Thanks Mike...
I wasn't using the manager no - I'll check that option also, but solved this by finding the right tablet.json.js file to edit- my bad. I was looking in the wwwroot/.. location rather than the sites directory tree itself!!
cheers
Gareth
0 -
Where do you set the pixel tolerance for the identify tool in manager?
0 -
In Silverlight it is available in Tool Behavior. I don't see that for HTML5, so you probably can't do it in Manager. Instead, you will need to do it in the JSON files.
0
Please sign in to leave a comment.
Comments
4 comments