04-06-2018 01:34 AM
is there any way to zoom to features on the map after setting filters?
I am doing a Test Search and the record is applied to the map as a filter --> only the filtered record(s) are visible in the map, like this:
And now after or while the filter is applied, the map should zoom in to this feature.
Thanks and regards
Solved! Go to Solution.
04-06-2018 01:50 AM
are you looking for a solution to do this with the default FA tools or do you want to do this programmatically?
I can't think of or find any way to do this in the default UI of the FA but I think it would certainly be a very helpful addition to it to have some kind of "Fit All" button. If you can file this as a product idea I would put all the HexPoints I have to support it ;-)
04-06-2018 03:43 AM
default would be definitley better.
But for now if you know a way to do this programmatically I would be grateful for every suggestion.
You can find the Link to the Product Idea here:
Thanks and regards
04-06-2018 06:25 AM
I can't really help you achieving this programmatically since I ve never really worked with the map object of the FA or the analyzer API. Also it is rather complicated to customize a Feature Analyzer view because you can t implement custom code for it directly in M.App Studio. You have to create a custom panel next to an analyzer panel, implement code in the custom panel and make it hide itself in the code.
Maybe someone else can help, I think accessing the map object and manipulate the bounding box should be similar to the procedure you would use in a map or bi view.
04-06-2018 06:41 AM - edited 04-06-2018 06:42 AM
04-06-2018 07:46 AM
Further Dave Comment:
The next release of the Analyzer Suite (due out shortly) will include addtional functionality for locating single features. Namely, we have enhanced the Data Table chart. To enable the geometry locate functionality, create a Data Table chart, then click the Enable geometry locate checkbox in the data table configuration:
Once the Apply button is clicked, you will see a marker icon in each row of your data table:
Clicking the marker will fit the map to the selected row.
Hope this helps.