maptalks.js icon indicating copy to clipboard operation
maptalks.js copied to clipboard

Cannot read properties of null (reading 'options')

Open RyfiLucy opened this issue 3 years ago • 4 comments

maptalks's version and what browser you use?

1.0.0-rc.6

Issue description

i use arcgis tilelayer in my vue project,when i close my dialog,the console log always report the same error---cannot read properties of null (reading 'options'). And when i open the dialog again, the map cannot move. These are the problem pic: image

Please provide a reproduction URL (on any jsfiddle like site)

RyfiLucy avatar Jul 04 '22 07:07 RyfiLucy

fix by https://github.com/maptalks/maptalks.js/commit/1a03d7d648c3bfa7f97f4b1f0c4ac7cd541712bf

deyihu avatar Jul 04 '22 07:07 deyihu

which version can i update?

RyfiLucy avatar Jul 04 '22 09:07 RyfiLucy

@fuzhenn

deyihu avatar Jul 04 '22 09:07 deyihu

thank @deyihu , I plan to publish a new version at the end of this week.

fuzhenn avatar Jul 06 '22 07:07 fuzhenn