Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #629 | Reload map if additionalOptions changed for overrideTilesW…
…henUrlChanges (#740) The option `overrideTilesWhenUrlChanges` currently only works if the URL template changes but not if the options change. For example: ```dart TileLayerOptions( urlTemplate: 'https://api.mapbox.com/styles/v1/mapbox/{id}/tiles/{z}/{x}/{y}', additionalOptions: <String, String>{ 'id': mapboxStyle, }, ``` If the value of `id` (here the Mapbox layer style, e.g. streets, satellite, etc.) changes the option `overrideTilesWhenUrlChanges` should override the tiles as well.
- Loading branch information