I was wondering if there is any way to resize the 'map container' in the NearBy app, so there is no blank white space on the right (see attached)?
Also, every time I want to do a new search I have to click on the 'Clear Search Result' button. Is there a way to by pass this, and/or hide the button. And instead have a new search initiated right away from a map click? (This was a functionality in a legacy 'Information lookup' template).
Thank you,
Nataliya
The whitespace to the right shouldn't be there. Looks like there could be a potential bug. Is your app public? If so can you share the link?
It is required to clear the search each time. While in "search mode" you can interact with the map to view info about the selected features so we require that you clear out the selection before performing another search.
@KellyHutchins It appears that the 'white space' would only show on a bigger desktop monitor. I tried the app on a laptop and didn't get the 'white space' on the right.
Here is a link to my app: https://omaha.maps.arcgis.com/apps/instant/nearby/index.html?appid=069f919b138e46989daf8b1743b87df9
Thank you,
Can you try adding the following to the custom css configuration option?
.grid-container,
.column-14,
.column-12,
.column-10,
.column-18,
.column-16,
.column-6 {
height: 100%;
width: 100%;
}
Thanks @KellyHutchins, that worked.
Hi Kelly.
While this fixed the white space issue for small screens it renders the map on desktop invisible. It has something to do with max-width:75vw.
Cameron
Can you send me a link to your app that has the custom css? Might need to be modified due to app updates.
If you remove the css is the white space still there on desktop? It looks like there is an issue with the max-width on smaller screen sizes that I'll look into but I don't know that the css with this post is needed anymore.