304 |
wxOK | wxICON_INFORMATION) |
wxOK | wxICON_INFORMATION) |
305 |
|
|
306 |
def AddLayer(self): |
def AddLayer(self): |
307 |
dlg = wxFileDialog(self, "Select a session file", ".", "", "*.*", |
dlg = wxFileDialog(self, "Select a data file", ".", "", "*.*", |
308 |
wxOPEN) |
wxOPEN) |
309 |
if dlg.ShowModal() == wxID_OK: |
if dlg.ShowModal() == wxID_OK: |
310 |
filename = dlg.GetPath() |
filename = dlg.GetPath() |
521 |
helptext = "Switch to map-mode 'identify'", icon = "identify") |
helptext = "Switch to map-mode 'identify'", icon = "identify") |
522 |
_tool_command("map_label_tool", "&Label", "LabelTool", "LabelTool", |
_tool_command("map_label_tool", "&Label", "LabelTool", "LabelTool", |
523 |
helptext = "Add/Remove labels", icon = "label") |
helptext = "Add/Remove labels", icon = "label") |
|
#_tool_command("map_full_extent", "&Full extent", "FullExtent", "FullExtent", |
|
|
# helptext = "Full Extent", icon = "fullextent") |
|
524 |
_method_command("map_full_extent", "&Full extent", "FullExtent", |
_method_command("map_full_extent", "&Full extent", "FullExtent", |
525 |
helptext = "Full Extent", icon = "fullextent") |
helptext = "Full Extent", icon = "fullextent") |
526 |
_method_command("map_print", "Prin&t", "PrintMap", helptext = "Print the map") |
_method_command("map_print", "Prin&t", "PrintMap", helptext = "Print the map") |