haoxinlei %!s(int64=7) %!d(string=hai) anos
pai
achega
e956cc9d91
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]
 }