js/map.js
changeset 0 54063d8b0412
equal deleted inserted replaced
-1:000000000000 0:54063d8b0412
       
     1 /**
       
     2  * This class provides access to native mapping applications on the device.
       
     3  */
       
     4 function Map() {
       
     5 	
       
     6 }
       
     7 
       
     8 /**
       
     9  * Shows a native map on the device with pins at the given positions.
       
    10  * @param {Array} positions
       
    11  */
       
    12 Map.prototype.show = function(positions) {
       
    13 
       
    14 	var err = "map api is unimplemented on symbian.wrt";
       
    15 	debug.log(err);
       
    16 	return { name: "MapError", message: err };
       
    17 
       
    18 };
       
    19 
       
    20 if (typeof navigator.map == "undefined") navigator.map = new Map();