refetch_wms_on_size_change

Maps.refetch_wms_on_size_change()

Set the behavior of WebMap services with respect to size changes.

A size change is triggered if:

  • The axis that shows the wms-service is re-sized

  • The figure is re-sized

  • The figure dpi changes

  • The figure is saved with a dpi-value other than the current figure dpi

By default, WebMap services are dynamically re-fetched on any size-change. (this also means that saving figures at high dpi-values will cause a re-fetch of webmap services which might result in a different look of the exported image!)

Note

This will set the GLOBAL behavior for ALL EOmaps WebMap services!

Parameters:

refetch (bool) –

  • If True: WebMap services are dynamically re-fetched on size changes

  • If False: WebMap services are only re-fetched if the axis-extent changes.