We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8864eb commit 5f26169Copy full SHA for 5f26169
src/plots/geo/geo.js
@@ -146,8 +146,10 @@ proto.onceTopojsonIsLoaded = function(geoData, geoLayout) {
146
traceData[trace.type].push(trace);
147
}
148
149
- for(var traceType in traceData){
150
- Plots.getModule(traceType).plot(this, traceData[traceType], geoLayout);
+ var traceKeys = Object.keys(traceData);
+ for(var j = 0; j < traceKeys.length; j++){
151
+ var traceKey = traceKeys[j];
152
+ Plots.getModule(traceKey).plot(this, traceData[traceKey], geoLayout);
153
154
155
this.render();
0 commit comments