Graphics Reference
In-Depth Information
This makes the two layers visible when the program starts up. Finally, let's implement the
two methods we defined earlier so that the user can choose which layers are shown:
def showBasemapLayer(self):
self.showVisibleMapLayers()
def showLandmarkLayer(self):
self.showVisibleMapLayers()
Running the program should show the two map layers, and you can show or hide each
layer using the commands in the View menu:
Search WWH ::




Custom Search