Hi!
Some of you have asked about visualizing locations on a map. It is fairly easy using the
map builder in roassal 2. Here is a small example:
=-=-=-=-=-=-=-=-=-=-=-=
| map |
map := RTMapBuilder new.
map countries: #('UnitedStates' 'Canada' 'Mexico').
map cities addCityNamed: 'New York City' location: 40.7127 @ -74.0059.
map cities addCityNamed: 'Ottawa' location: 45.420833 @ -75.69.
map cities addCityNamed: 'Mexico City' location: 19.433333 @ -99.133333.
map cities: #('New York City' 'Ottawa' 'Mexico City').
map render.
map view
-=-=-=-=-=-=-=-=-=-=-=-=
You will have something like:
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.