[Pharo-dev] New builder for Roassal: building geographical maps

Sven Van Caekenberghe sven at stfx.eu
Fri Nov 15 16:39:37 EST 2013


Very nice, Alex, I guess you are using shape files then ?

Sven

On 15 Nov 2013, at 20:56, Alexandre Bergel <alexandre.bergel at me.com> wrote:

> Hi!
> 
> During our pair coding session on Friday, we worked on a new builder for Roassal.
> 
> Here is short example:
> 
> 
> 	| builder |
> 	builder := ROFranceMapBuilder new.
> 	builder shape circle size: 15; color: Color red; withLabel.
> 	builder showCities: #('Paris' 'Lyon' 'Marseille').
> 
> 	builder shape circle size: 25; color: Color blue; withLabel.
> 	builder show: 'Nice'.
> 
> 	builder open
> 
> It should produce:
> <Screen Shot 2013-11-15 at 4.53.30 PM.png>
> 
> 
> There is no reference to external files. It runs out of the box.
> 
> In case you got a sudden need to press a like button or do some retweet, here a bit of material:
> 
> https://www.facebook.com/media/set/?set=a.543459092407359.1073741830.340543479365589&type=1
> https://twitter.com/objectprofile/status/401433558684008448
> 
> On our facebook account we have many more screenshots.
> 
> Cheers,
> Alexandre
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> 





More information about the Pharo-dev mailing list