// ==UserScript== // @id iitc-plugin-user-location@cradle // @name IITC plugin: User Location // @category Tweaks // @version 0.2.0.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ // @description [@@BUILDNAME@@-@@BUILDDATE@@] Show user location marker on map // @include https://www.ingress.com/intel* // @include http://www.ingress.com/intel* // @match https://www.ingress.com/intel* // @match http://www.ingress.com/intel* // @grant none // ==/UserScript== @@PLUGINSTART@@ // PLUGIN START //////////////////////////////////////////////////////// window.plugin.userLocation = function() {}; window.plugin.userLocation.locationLayer = new L.LayerGroup(); window.plugin.userLocation.setup = function() { $('