plugin: portal-names fixed
This commit is contained in:
parent
efd447b227
commit
55f6644f89
@ -2,7 +2,7 @@
|
||||
// @id iitc-plugin-portal-names@zaso
|
||||
// @name IITC plugin: Portal Names
|
||||
// @category Layer
|
||||
// @version 0.1.2.@@DATETIMEVERSION@@
|
||||
// @version 0.1.3.@@DATETIMEVERSION@@
|
||||
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||
// @updateURL @@UPDATEURL@@
|
||||
// @downloadURL @@DOWNLOADURL@@
|
||||
@ -63,8 +63,8 @@ window.plugin.portalNames.addLabel = function(guid, latLng) {
|
||||
var previousLayer = window.plugin.portalNames.labelLayers[guid];
|
||||
if (!previousLayer) {
|
||||
|
||||
var d = window.portals[guid].options.details;
|
||||
var portalName = d.portalV2.descriptiveText.TITLE;
|
||||
var d = window.portals[guid].options.data;
|
||||
var portalName = d.title;
|
||||
|
||||
var label = L.marker(latLng, {
|
||||
icon: L.divIcon({
|
||||
|
Loading…
x
Reference in New Issue
Block a user