Subversion Repositories eFlore/Applications.moissonnage

Rev

Rev 31 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31 Rev 37
Line 164... Line 164...
164
					if (key === 'color') {
164
					if (key === 'color') {
165
						options.opacity = parseInt(value.substring(0, 2), 16) / 255.0;
165
						options.opacity = parseInt(value.substring(0, 2), 16) / 255.0;
166
						options.color = "#" + value.substring(2, 8);
166
						options.color = "#" + value.substring(2, 8);
167
					} else if (key === 'width') {
167
					} else if (key === 'width') {
168
						options.weight = value;
168
						options.weight = value;
169
					} /*else if (key === 'Icon') {
169
					} else if (key === 'Icon') {
170
						ioptions = _parse(e);
170
						ioptions = _parse(e);
171
						if (ioptions.href) { options.href = ioptions.href; }
171
						if (ioptions.href) { options.href = ioptions.href; }
172
					}*/ else if (key === 'href') {
172
					} else if (key === 'href') {
173
						options.href = value;
173
						options.href = value;
174
					}
174
					}
175
				}
175
				}
176
			}
176
			}
177
			options.fillOpacity = 0;
177
			options.fillOpacity = 0;
Line 270... Line 270...
270
			for (j = 0; j < el[i].childNodes.length; j++) {
270
			for (j = 0; j < el[i].childNodes.length; j++) {
271
				descr = descr + el[i].childNodes[j].nodeValue;
271
				descr = descr + el[i].childNodes[j].nodeValue;
272
			}
272
			}
273
		}
273
		}
Line 274... Line 274...
274
 
274
 
275
		if (name) {
275
		/*if (name) {
276
			layer.bindPopup("<h2>" + name + "</h2>" + descr);
276
			layer.bindPopup("<h2>" + name + "</h2>" + descr);
Line 277... Line 277...
277
		}
277
		}*/
278
 
278
 
Line 279... Line 279...
279
		return layer;
279
		return layer;