Difference between revisions of "Activities/Map"

From Sugar Labs
Jump to navigation Jump to search
Line 118: Line 118:
 
<br />
 
<br />
  
 +
====Codes for Wikipedia, Pictures, Etc====
 
In addition to '''wiki::''' , you can add a language code to make '''wikiES::''' for Spanish or '''wikiFR::''' for French.
 
In addition to '''wiki::''' , you can add a language code to make '''wikiES::''' for Spanish or '''wikiFR::''' for French.
 +
 +
The code '''img::''' or '''pic::''' will post an image and '''google::''' will embed a Google search.  If you have an OGV video, you can use the code '''vid::''' - note that this will load slowly on most connections.
  
 
= How to Install =
 
= How to Install =

Revision as of 16:14, 13 September 2009

The Map activity allows children to create geo-tagged media mashups. Children can place images, videos, and audio recordings onto maps of their communities. They can use the XO's mesh network and the internet to collaborate on maps, or save the map they're working on to their Journal.

Version 3 speeds up the activity and adds new features: http://maptonomy.appspot.com/Map-3b.xo

This activity needs your help to get out of Beta. Please edit this or the discussion page if you have a question. The Log activity should have information on any errors.

Tutorial

(Página en Español)

Getting Started

Navigate the map using the compass arrows on the sides of the map. You can zoom in and out using the + and - buttons, or double-clicking. Enter a location into the Find bar to jump to a new part of the world. Like other activities, you can invite other XOs in your network to view the map.

Map-Screenshot.jpg

Adding Media

To add media from your journal onto the map, click on the Add Media button.
Map-AddMedia.jpg
This will open a file chooser dialog. Select a picture or video you made in the Record activity.

Map-SelectMedia.jpg

Your mouse will become a crosshair. Click the map to place the marker.

Map-MediaIsOn.jpg

Adding Text

You can add a text marker by clicking the i button in the Edit section. A text marker is shared with other XOs in your network. You can edit your own or others' text markers by clicking the marker and clicking the Edit button.

You can add images from the internet using the code img::www.example.org/picture.jpg

You can add articles from Simple English Wikipedia using the code wiki::Article Name

You can add articles from other languages' Wikipedias by adding its language code. For example, Spanish (ES.wikipedia.org) is wikiES:: and French (FR.wikipedia.org) is wikiFR::

Other codes are google:: to embed a Google search, and vid:: for OGG videos only.

InfoMarkers.jpg

Saving Maps

You can save a map by clicking the star button. Saved maps are added to the tray at the bottom of the activity. If you click a map button, the map will be returned to the location and zoom level as when the map was saved.

Map-SavedMap.jpg

You can copy an image of this map state to the clipboard if you want to use it in other activities, such as Write or Paint.
You can also describe this map as seen in the next screenshot:

Map-DescribeSaveMap.jpg

Measuring Distance and Area

The new Measure feature can measure polyline distance or rectangle area. This is useful for geometry, surveying, or learning units.

Click the Ruler icon in the Edit tab.

Map-MeasureOn.jpg

Select Distance and click two points to begin measuring. When you are finished, click Done.

Map-MeasureDistance.jpg

To measure Area, click opposite corners (for example, the northeast and southwest corners of Colorado)

Map-MeasureArea.jpg

Online Content

The Maps4xo Library

Click the Browse icon in the Edit Menu to view the library. Maps4xo shows new and nearby map content, as well as links to maps full of Wikipedia articles and Panoramio photos.

Map-MapLibrary.jpg

The map content is intended to serve as an introduction to GIS/mapping technology uses and concepts. This example is adapted from the real-life use of GPS to track and protect elephants in East Africa.

Map-ElephantMap.jpg

The OurMaps Wiki

OurMaps is a wiki for storing or sharing map markers online.

When many markers are in one place, they are combined into a red "cluster" marker:

Map-WikiCluster.jpg

A marker can have an image or Wikipedia article embedded inside. This marker uses Simple Wikipedia's mobile site.

Map-EmbedWiki.jpg

It is easy to create a marker and add to the map. A school can create a private group to collect markers that only they can see. A public group shares its markers with XO users around the world.

Map-AddToWiki.jpg

Codes for Wikipedia, Pictures, Etc

In addition to wiki:: , you can add a language code to make wikiES:: for Spanish or wikiFR:: for French.

The code img:: or pic:: will post an image and google:: will embed a Google search. If you have an OGV video, you can use the code vid:: - note that this will load slowly on most connections.

How to Install

Download this .xo file using the Browse activity: (http://maptonomy.appspot.com/Map-3b.xo download)

Development

The Map activity was written in PyGTK. It relies on javascript files (including prototype.js) to interface with Google Maps V3 and Google's Static Maps API.

All of the Map activity's code is under an MIT License.