1
edit
Changes
no edit summary
=== 10. Add Mapping Option ===
'''*NOTE:''' In order to test this feature the newest version of the simulator must be installed<br/>
10.1. In order to implement Address Locator we need to add address field and getter/setter methods to <code>Student</code> class:
<source lang="java">
{
String address = student.getAddress();
showAddress(address);
new Thread(new Runnable(){
public void run(){
try{ Coordinates co Landmark[] landm = new CoordinatesLocator.geocode(45.423488, -75.697929address, 0null);
}
}).start();
10.7. Run the application, selected a Student and from the menu select '''Address on Map''':<br/>
[[Image: BB_map1.png | 350px300px]][[Image: BB_map2.png | 350px325px]]