Closed
Description
The getTileUrl() call in LeafletMap currently returns a tile that is not centered in the view, preventing the user from directly visualizing the effect of their selection. There appear to be two possible routes to solve this issue:
- Have getTileUrl() always return the center tile regardless of whether this tile contains any WMS data.
- Have getTileUrl() return a tile with a valid image return from the server, likely sorting on file size to identify the tile with the maximum amount of visual data.
For both routes, the major roadblock seems to be that the LeafletMap does not update when the user pans around the map or attempts to zoom in, and any attempt to override this behavior would likely result in an infinite update loop in React. This restriction might require the addition of a reload button somewhere on the page to force the component to find its new center tile and re-render the style options.