open source basecamp

RSS
Twitter
 
Blog

Posts Tagged ‘Flex’

My first steps with OpenScales

Monday, April 13th, 2009 by Cédric Moullet

After a big refactoring of the imported/rewritten OpenLayers code, I wanted to test a little bit OpenScales . After playing with the demo: http://openscales.org/openscales.swf , let’s try to develop something.
All information can be found here: http://openscales.org/p/openscales/page/Development/
Important information : because FlexBuilder doesn’t work on Linux, I’m on a Vista Home edition computer.

1. Install Tortoise . Good Windows installer here: http://tortoisesvn.net/downloads (bouh… it needs a restart…)

2. Checkout svn code with Tortoise

3. Then start FlexBuilder (standard version for 249$ ). In Flex builder, click on File -> Import -> General -> Existing projects into workspace and FlexBuilder makes all the work for you.

4. Then find openscales-fx-examplessrcmainflexindex.mxml and run it. If you see a nice flex app, then it should be ok.

5. For the fun, I changed the line 43 of OpenStreetMap.mxml from
mark.addEventListener(MouseEvent.CLICK, showPopup); to
mark.addEventListener(MouseEvent.MOUSE_OVER, showPopup);
It works !

Hope it can help someone.

MapFish Labs: Flex prototype

Saturday, March 14th, 2009 by Cédric Moullet

Have a look at the new MapFish prototype which uses Flex technology.

This prototype is a client side application with the following functions:
- Navigation: Zoom / Pan / Full extent
- Layer Tree
- Satistical representation: chloropleth and proportional symbols
- Legend for proportional symbols
- Tooltip with hyperlink
- Higlight feature

We see Flex as an alternative to GeoExt, but Flex doesn’t have currently the power of ExtJS and OpenLayers. We look forward to use OpenScales in a near future in order to create real web mapping applications with Flex.