mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 05:56:43 +00:00
First commit
This is the beginnings of a new core plugin to add geospatial capabilities, building on the JSON operators that we now have in the core. It uses the libraries leaflet.js for mapping and turf.js for geospatial calculations.
This commit is contained in:
25
plugins/tiddlywiki/geospatial/startup.js
Normal file
25
plugins/tiddlywiki/geospatial/startup.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*\
|
||||
title: $:/plugins/tiddlywiki/geospatial/startup.js
|
||||
type: application/javascript
|
||||
module-type: startup
|
||||
|
||||
Geospatial initialisation
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
// Export name and synchronous status
|
||||
exports.name = "geospatial";
|
||||
exports.after = ["load-modules"];
|
||||
exports.synchronous = true;
|
||||
|
||||
exports.startup = function() {
|
||||
// var turf = require("$:/plugins/tiddlywiki/geospatial/turf.js");
|
||||
// var leaflet = require("$:/plugins/tiddlywiki/geospatial/leaflet.js");
|
||||
};
|
||||
|
||||
})();
|
||||
Reference in New Issue
Block a user