haoxinlei 7 gadi atpakaļ
vecāks
revīzija
e956cc9d91
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -372,7 +372,7 @@ function getPolygonSelector(polygonAndMarkers) {
 
 let setStyle = (style) => {
     if (!style)
-        return (shapeName) => { return {} }
+        return (shapeName) => { return {key:0} }
     else
         return (shapeName) => style[shapeName]
 }