当前提交
						3459302899
					
				
					共有  1 个文件被更改,包括 1 次插入 和 1 次删除
				
			
		|  | @ -150,7 +150,7 @@ info.onAdd = function (map) { | ||||||
| // method that we will use to update the control based on feature properties passed
 | // method that we will use to update the control based on feature properties passed
 | ||||||
| info.update = function (props) { | info.update = function (props) { | ||||||
|     this._div.innerHTML = '<h4>Prefecture</h4>' +  (props ? |     this._div.innerHTML = '<h4>Prefecture</h4>' +  (props ? | ||||||
|         '<b>' + props.name + '</b><br />' : 'Hover over a prefecture'); |         '<b>' + props.id.substring(3,5) + ' - ' + props.name + '</b><br />' : 'Hover over a prefecture'); | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| info.addTo(map); | info.addTo(map); | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用