Hi, we have a query widget set up in Experience Builder where we want the user to be able to select a feature from the filter layer, apply a buffer and then see the intersecting results on a map from the data source. We have set an action so that the results show in our map but when using a buffer it only appears to show those that fall directly within the selected feature. In the image below you can see where we have applied a 5km buffer all those records inside the polygon are highlighted in red but one of the items we selected from the results list is off to the west and highlighted in yellow after using the "Show on map" data action. This should also show as a red point as should any other features within 5km of the polygon. We've tried this on a couple of maps now and in the second example shown below it didn't even show all the features within the selected polygon. The show on map action definitely appears to be a bit buggy. If someone could look into this it would be much appreciated.
Thanks
Anthony
Solved! Go to Solution.
We've released a patch for online and it should be working now.
Thanks,
Ke
I believe the Show on Map function is designed to work on a page by page basis, so on the second screenshot the it would only show the first 100 results from your query.
Hi @Ke_Xu, thanks for the quick response on this. I've made a public version of this available here.
And great shout @JeffreyThompson2 , I hadn't spotted that but you're right. When I changed it to show the results on a single page all those within the selected polygon show but those outside that fall within the buffer still wouldn't show. Below is a screen grab where the last record in the query is only highlighted in yellow when I use the data action "show on map", it doesn't show on the message action. I did notice it kind of glitches though so when you first run the query, all the features queried flash briefly on screen but then those outside the polygon disappear.
Thanks both for your help. Anthony
Thanks for your app. We could reproduce this issue and are looking into it. I will keep you updated.
Thanks,
Ke
Thanks for looking into this Ke, it's much appreciated.
We've released a patch for online and it should be working now.
Thanks,
Ke
That's excellent, thank you for sorting so quickly Ke, it's greatly appreciated.
Thanks,
Anthony
@Ke_Xu Why am I seeing locators for my organization on @AnthonyJonesRSK's application? I don't think that should be happening.
That's interesting. I'd assume as they're configured per your organisation then they are read from your account. Not ideal though if you have local locators appearing on a map for the other side of the world! Might confuse your users.