Skip to content

Commit

Permalink
If there is a NAN value, set it to 0,0,0,0, still have a UI warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Mar 25, 2024
1 parent 3855bce commit 08eab55
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lizmap/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3737,10 +3737,12 @@ def project_config_file(
) + '\n\n'
+ tr(
'Then in the "Source" tab, you can recompute the extent or check your logs in QGIS.'
) + '\n\n'
+ tr(
'The extent has been set to a default value 0,0,0,0.'
)
)
else:
layer_options['extent'] = [0, 0, 0, 0]
layer_options['extent'] = [0, 0, 0, 0]
layer_options['crs'] = layer.crs().authid()

# styles
Expand Down

0 comments on commit 08eab55

Please sign in to comment.