Geospatial – Actualités

My first steps with OpenScales

13 avril 2009

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

1. Install Tortoise . Good Windows installer here: (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.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *