259 |
"""A widget that displays a map and offers some interaction""" |
"""A widget that displays a map and offers some interaction""" |
260 |
|
|
261 |
# Some messages that can be subscribed/unsubscribed directly through |
# Some messages that can be subscribed/unsubscribed directly through |
262 |
# the MapCanvas come in fact from other objects. This is a map to |
# the MapCanvas come in fact from other objects. This is a dict |
263 |
# map those messages to the names of the instance variables they |
# mapping those messages to the names of the instance variables they |
264 |
# actually come from. This delegation is implemented in the |
# actually come from. The delegation is implemented in the Subscribe |
265 |
# Subscribe and unsubscribed methods |
# and Unsubscribe methods |
266 |
delegated_messages = {LAYER_SELECTED: "selection", |
delegated_messages = {LAYER_SELECTED: "selection", |
267 |
SHAPES_SELECTED: "selection"} |
SHAPES_SELECTED: "selection"} |
268 |
|
|