js/map.js
changeset 0 54063d8b0412
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/js/map.js	Tue Jul 06 11:31:19 2010 -0700
@@ -0,0 +1,20 @@
+/**
+ * This class provides access to native mapping applications on the device.
+ */
+function Map() {
+	
+}
+
+/**
+ * Shows a native map on the device with pins at the given positions.
+ * @param {Array} positions
+ */
+Map.prototype.show = function(positions) {
+
+	var err = "map api is unimplemented on symbian.wrt";
+	debug.log(err);
+	return { name: "MapError", message: err };
+
+};
+
+if (typeof navigator.map == "undefined") navigator.map = new Map();