Skip to content

Commit

Permalink
Enable tile cache and webmap annotations by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dezhin committed Oct 4, 2020
1 parent d1fc9c4 commit 9fdfd9f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changes
=======

3.6.0
-----

- Tile cache and webmap annotations are enabled by default.

3.5.0
-----

Expand Down
2 changes: 1 addition & 1 deletion nextgisweb/render/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def backup_configure(self, config):
config.exclude_table_data('tile_cache', '*')

option_annotations = (
Option('tile_cache.enabled', bool, default=False),
Option('tile_cache.enabled', bool, default=True),
Option('tile_cache.track_changes', bool, default=False),
Option('tile_cache.seed', bool, default=False),
)
2 changes: 1 addition & 1 deletion nextgisweb/webmap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ def query_stat(self):
Option('identify_radius', int, default=3, doc="Identification sensitivity."),
Option('popup_width', int, default=300, doc="Popup width in pixels."),
Option('popup_height', int, default=200, doc="Popup height in pixels."),
Option('annotation', bool, default=False, doc="Turn on / off annotations."),
Option('annotation', bool, default=True, doc="Turn on / off annotations."),
)

0 comments on commit 9fdfd9f

Please sign in to comment.