// ==UserScript== // @author lokpro // @name IITC plugin: Portal Images // @category Layer // @version 0.5 // @description Show portal images on the map. // @id portal-images // @namespace https://github.com/IITC-CE/ingress-intel-total-conversion // @updateURL https://raw.githubusercontent.com/Ingrass/IITC-portal-Images/main/portal-Images.meta.js // @downloadURL https://raw.githubusercontent.com/Ingrass/IITC-portal-Images/main/portal-Images.user.js // @match https://intel.ingress.com/* // @match https://intel-x.ingress.com/* // @grant none // ==/UserScript== /* This plugin is developed based on the Portal Names plugin by ZasoGD. */ /* TODO: settings for size and styles v0.5 2025-02-02 - background color according to faction - border-width according to portal level - background color opacity according to portal level - add border radius (round portal images) v0.1 2025-01-22 - basic functionality */ function wrapper(plugin_info) { // ensure plugin framework is there, even if iitc is not yet loaded if(typeof window.plugin !== 'function') window.plugin = function() {}; plugin_info.buildName = 'release'; plugin_info.dateTimeVersion = '2025-01-20-00000'; plugin_info.pluginId = 'portal-images'; //END PLUGIN AUTHORS NOTE // use own namespace for plugin window.plugin.portalImages = function() {}; window.plugin.portalImages.labelLayers = {}; window.plugin.portalImages.labelLayerGroup = null; window.plugin.portalImages.setupCSS = function() { $("