File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4949 var url = host + '/iserver/services/map-china400/rest/maps/China_4326' ;
5050 var chart ,
5151 div ,
52- popup = '' ;
52+ popup = '' , categoryDataMap , dataMap ;
5353 var map = new maplibregl . Map ( {
5454 container : 'map' ,
5555 style : {
8787 const image = await map . loadImage ( '../img/marker-icon.png' ) ;
8888 map . addImage ( 'positionPoint' , image . data ) ;
8989
90- var categoryDataMap = {
90+ categoryDataMap = {
9191 北京市 : [
9292 { value : 335 , name : resources . text_class + 'A' } ,
9393 { value : 679 , name : resources . text_class + 'B' } ,
104104 { value : 875 , name : resources . text_class + 'C' }
105105 ]
106106 } ;
107- var dataMap = {
107+ dataMap = {
108108 北京市 : [
109109 { value : 335 , name : resources . text_commodity + 'A' } ,
110110 { value : 310 , name : resources . text_commodity + 'B' } ,
You can’t perform that action at this time.
0 commit comments