Difference between revisions of "Activities/Map"

From Sugar Labs
Jump to navigation Jump to search
Line 4: Line 4:
 
The Map activity helps children to explore and create their own maps:
 
The Map activity helps children to explore and create their own maps:
  
* Search for your school, the Statue of Liberty, or find Mongolia - see roadmaps and satellite photos.
+
* Search for your school, New York City, Mongolia, anywhere in the world! See roadmaps and satellite photos.
 
* Write about what you see : add a description or embed a Wikipedia article
 
* Write about what you see : add a description or embed a Wikipedia article
 
* You can take photos, video, or audio in Record and place them onto the map
 
* You can take photos, video, or audio in Record and place them onto the map
* Use the XO's mesh network to collaborate, or save the map to the [[Journal]]
 
* Measure distance and area
 
 
* Participate in the online "OurMaps" wiki
 
* Participate in the online "OurMaps" wiki
 
* Advanced users add HTML and import KML (Google Earth), GeoRSS (Ushahidi), or OSM (OpenStreetMap) files
 
* Advanced users add HTML and import KML (Google Earth), GeoRSS (Ushahidi), or OSM (OpenStreetMap) files
Line 34: Line 32:
 
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.
 
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.
  
== Adding Media ==
+
== Adding Photos, Video, Audio ==
 
To add media from your journal onto the map, click on the '''Add Media''' button.
 
To add media from your journal onto the map, click on the '''Add Media''' button.
  
Line 58: Line 56:
 
[[Image:InfoMarkers.jpg]]
 
[[Image:InfoMarkers.jpg]]
  
== Saving Maps ==
+
== Add Lines and Shapes ==
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.
+
* Click the line button - '''/''' - to begin drawing a line.
 +
* Place points onto the map and a line will be drawn to connect them.
 +
* Click the line button again to complete.
 +
[[Image:DrawnPolygons.jpg]]
 +
 
 +
Filled shapes can be drawn using the hexagon shape button.
 +
 
 +
== Bookmark Maps ==
 +
You can bookmark a map by clicking the '''star''' button.  Bookmarked maps are added to the bottom of the screen : click a bookmarked map to return to it.
  
 
[[Image:Map-SavedMap.jpg‎]]
 
[[Image:Map-SavedMap.jpg‎]]
 
  
 
== Measuring Distance and Area ==
 
== Measuring Distance and Area ==

Revision as of 21:09, 29 March 2010

The Map activity helps children to explore and create their own maps:

  • Search for your school, New York City, Mongolia, anywhere in the world! See roadmaps and satellite photos.
  • Write about what you see : add a description or embed a Wikipedia article
  • You can take photos, video, or audio in Record and place them onto the map
  • Participate in the online "OurMaps" wiki
  • Advanced users add HTML and import KML (Google Earth), GeoRSS (Ushahidi), or OSM (OpenStreetMap) files

Download the activity here: http://maptonomy.appspot.com/Map-8.xo

This activity needs your help to get out of Beta. Please edit this or the discussion page if you have a question.

You may be interested in the Offline Maps project.

Tutorial

(Página en Español)

Getting Started

Move the map using the compass arrows on the sides. Zoom in and out using + and - buttons, or double-clicking. Enter a location into the Find bar to jump to a new location.

Map-Screenshot.jpg


Adding Text

You can add a text marker by clicking the i marker in the Edit section. Map-InfoIcon.jpg

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.

Adding Photos, Video, Audio

To add media from your journal onto the map, click on the Add Media button.

Map-AddMedia.jpg

Select a photo, video, or audio file from the Record activity.

Map-SelectMedia.jpg

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

Map-MediaIsOn.jpg

Adding Wikipedia and More

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

You can add articles using a code such as wiki::Japan

For other languages: Spanish (ES.wikipedia.org) is wikiES::Barcelona and French is wikiFR::Paris

Other codes are google::OLPC to embed a Google search, and vid::www.example.org/video.ogg for OGG videos.

InfoMarkers.jpg

Add Lines and Shapes

  • Click the line button - / - to begin drawing a line.
  • Place points onto the map and a line will be drawn to connect them.
  • Click the line button again to complete.

DrawnPolygons.jpg

Filled shapes can be drawn using the hexagon shape button.

Bookmark Maps

You can bookmark a map by clicking the star button. Bookmarked maps are added to the bottom of the screen : click a bookmarked map to return to it.

Map-SavedMap.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)

Maps4xo Library

Click the Browse icon in the Edit Menu to view the library. This example uses the real-life use of GPS to track and protect turtles:

Map-TurtleMap.jpg


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

Development

The Map activity was written in PyGTK. It relies on JavaScript files to interact with Google's Static Maps API and geocoder.

Having the activity work on Sugar-on-a-Stick or emulators is an ongoing problem: http://www.youtube.com/watch?v=6QvMtQIqdfQ

You can download the source code in this zip file: http://maptonomy.appspot.com/Map-8.zip

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

You may be interested in the beta Offline Maps project.

Future Plans

  • Detecting Sugar on a Stick systems and provide them with higher-res maps.
  • More travel, history, environmental, and engineering example maps