An OpenStreetMap browser for Smalltalk (Squeak)
-
Make sure you have metacello-work installed.
-
Load the project by running the following in your workspace:
Metacello new baseline: 'OpenSqueakMap'; repository: 'github:https://hpi-swa-teaching/OpenSqueakMap:master/packages'; onConflict: [:ex | ex allow]; load
-
To display a coordinate on the map, run the following in your workspace:
OpenSqueakMap open: longitude@latitude
Coordinates are to be passed as decimal numbers. For example, if you want to look at the coordinate 8°30'N 13°00'W, run:
OpenSqueakMap open: -13@8.5 "West and south coordinates become negative"
You can pass an optional zoom level. A zoom level of 0 will show you the entire world, 20 will show you a single building.
OpenSqueakMap open: -13@8.5 at: 16
The default zoom level is 17. OpenSqueakMap currently does not perform too well on lower levels due to the high amount of data that needs to be downloaded.
TODO documentation, check back soon!
This project is licensed under the MIT License - see the LICENSE file for details