Homework 9 CS2110
homework代写 | 代做GUI | tkinter代写 | 代写assignment – 这是一个tkinter面向对象设计的practice, 考察tkinter的理解, 是比较有代表性的GUI/tkinter/python等代写方向, 这个项目是python图形编程代写的代写题目
Homework 9 CS2110
1. Modify hw9start.py in five ways listed below. Note: as mentioned in class, you will receive 1 extra point (toward overall course point total) if you get your own Google API key for the Static Maps and Geocoding services. The long comment at the beginning of hw9start.py describes how to do this. If you don’t want this point, you can use the API found in the HW9 assignment item on ICON.
add a tkinter Entry widget to the GUI so that you can enter an address string (e.g. "Iowa City, IA" or "Beijing, China"). You probably should also add a Label widget near the Entry widget saying something like "Enter the location: ". modify the readEntryAndDisplayMap function so that it creates and displays a new map based on the address given in the Entry widget add buttons ( or other widget(s)) to enable changing the map zoom level, redisplaying the map each time the zoom level is changed. You may choose your own way to do this. One way would be to use two buttons (e.g. one labeled '+' and one labeled '-', like in the simplegui2.py code in the Nov. 15 and 18 lecture notes). Clicking on either of them would change the current zoom level by 1 and recompute and redisplay the map. provide a way to change between standard (road) map view and satellite, terrain, and hybrid map views (suggestion: use radio buttons as in the radiobutton.py code from the Dec. 2 lecture) display a map pin in the center of the map. Note: for this and the previous item, in addition to adding GUI elements, you will need to modify getMapURL to add more parts to the string sent to Google.
Submission note: Submit one file to ICON.