--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/804ac082-c98d-4ec2-a356-4ba28bed0be9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
/*\
title: $:/core/modules/macros/geolocation.js
type: application/javascript
module-type: macro
Macro to return the current Geoposition in Coordinates
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
/*
Information about this macro
*/
exports.name = "geolocation";
exports.params = [];
/*
Run the macro
*/
exports.run = function() {
if (navigator.geolocation) {
navigator.geolocation.watchPosition(showPosition);
} else {
var geolocation = Geolocation is not supported by this browser;
}
var geolocation = position.coords.latitude + "," + position.coords.longitude;
return geolocation;
};
})();
__________________
Can anyone help?--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a601bb93-4d61-47a6-8d3e-813e6b64171a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/51a428fb-89a4-44c0-b317-c21392bc5d9f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b7725dc0-784c-487f-b63d-89310586edbf%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/53a1817f-6c08-46dd-a0b0-b38fe0b1a4f8%40googlegroups.com.
SylvainPS: Sylvain Naudin is not the author of this plugin. He's a very cool guy though...