Google Maps Collaboration is another sample I wrote during the Flex 2 beta. Since it triggered some interest at the time, I updated the code for the GA build of Flex 2.

flexmaps.jpg

The Flex application is essentially a collaboration panel that I added on top of Google Maps, but that you could add on top of any application (HTML, Ajax, or Flex).

The Flex module adds the following collaboration features to Google Maps:

  1. Map sharing: Maps are      kept in sync (in real time) between users involved in a collaboration      session.
  2. Videoconferencing (Webcam      sharing and VOIP): You can share your Webcam and microphone to add video      and audio to your collaboration session.
  3. Whiteboarding:      Collaborating users can draw on the map. For example you could draw      potential directions, etc. The users’ whiteboards are kept in sync in real      time.
  4. Cursor sharing: When      you move your mouse, other users see the movements of your mouse and what      you are pointing at.


The Flex features used in this example include:

  1. Publish/subscribe messaging      and support for real-time communication
  2. Drawing API
  3. Support for webcam/voice      capture and streaming (Flash Media Server is required for streaming).

Run a simplified version of the application. Real time messaging (used for map sharing and whiteboard synchronization) has been disabled in this version.

Installation instructions:

  1. Install the Flex Data Services
  2. Download the application and deploy it in the samples web app.
  3. In messaging-config.xml, add a “flexmaps” destination: You can copy the dashboard_chat destination and change the destination id to “flexmaps”.
  4. Install the Flash Media Server: you can download a free developer edition here (click free developer edition)
  5. In C:\Program Files\Macromedia\Flash Media Server 2\applications\flex_videoconference, create a directory called flex_videoconference and copy the main.asc file in that directory
  6. Access the application using the appropriate URL. For example: http://localhost:8700/samples/flexmaps.html

            


作者:gdgzboy@牛C网
地址:http://www.niuc.net/post/286/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!



Tags: ,
评论(0) | 引用(0) | 阅读(326)
发表评论
昵称 [注册]
密码 游客无需密码
网址
电邮
打开HTML 打开UBB 打开表情 隐藏 记住我