问题描述

点击选中多边形区域时报错:Uncaught TypeError:  M.splitis not a function

openlayers3 报错 Uncaught TypeError: M.split is not a function

换成debugol文件,详细错误为:

Uncaught

Goog.asserts.AsserttionError{message: “Assertion failed: 4th instruction should be a string”, ….}

openlayers3 报错 Uncaught TypeError: M.split is not a function

 

解决方案

仔细回想,样式中的text属性我设置了数值型,改为字符串型就好啦 (为了记录该问题,本姑娘专门把错误还原了一遍)


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2021-08-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2021-04-05
  • 2021-11-25
  • 2022-01-29
  • 2022-03-06
相关资源
相似解决方案