Skip to content

Commit

Permalink
Fix a typo and add a nite
Browse files Browse the repository at this point in the history
Fix a typo and add a TODO note.
  • Loading branch information
M4rtinK committed Jan 3, 2017
1 parent 23633c8 commit 91c958a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/layers.py
Expand Up @@ -58,7 +58,7 @@ def max_zoom(self):
def min_zoom(self):
"""Minimum zoom level.
:returns: manimum zoom level
:returns: minimum zoom level
:rtype: int
"""
return int(self.config['min_zoom'])
Expand Down Expand Up @@ -165,6 +165,7 @@ def __init__(self, mapLayers, groupId, config, layerIds=None):

def _reload_layers(self):
"""Reload map layers for this group from the mapLayers module"""
# TODO: move the layer loading code here
self._layers = self._mapLayers.getLayersByGroupId(self.id)
# sort the layers by the label
# as that is what is usually needed when displaying them
Expand Down

0 comments on commit 91c958a

Please sign in to comment.