tweaks to level number plugin

This commit is contained in:
Jon Atkins 2013-12-01 02:57:32 +00:00
parent ad85d93381
commit baa8f4bbcc

View File

@ -38,7 +38,8 @@ window.plugin.portalLevelNumbers.portalAdded = function(data) {
window.plugin.portalLevelNumbers.renderLevel = function(guid,latLng) {
plugin.portalLevelNumbers.removeLevel(guid);
var levelNumber = window.portals[guid].options.level;
var p = window.portals[guid];
var levelNumber = p.options.level;
var level = L.marker(latLng, {
icon: L.divIcon({
className: 'plugin-portal-level-numbers',