Fix a typo; Fix a tutorial step ordering;
MODIFY
tutorials/choropleth/index.pug
tutorials/choropleth/index.pug
@@ -49,8 +49,8 @@ block mainTutorial
Now we style polygon with color.
+codeblock('javascript', 3, 2, false).
- var polulations = (states.features.map(function (state) { return state.properties.population }));
- var domain = [Math.min.apply(null, polulations), Math.max.apply(null, polulations)];
+ var populations = (states.features.map(function (state) { return state.properties.population }));
+ var domain = [Math.min.apply(null, populations), Math.max.apply(null, populations)];
var colorRange = ['rgb(237,248,233)', 'rgb(186,228,179)', 'rgb(116,196,118)', 'rgb(35,139,69)'];
var scale = d3.scale.quantize().domain(domain).range(colorRange);

MODIFY
tutorials/simple_point/index.pug
tutorials/simple_point/index.pug
@@ -39,7 +39,7 @@ block mainTutorial
:markdown-it
We can also use GeoJSON reader to create the point feature.
- +codeblock('javascript', 10, 3, false, 'Step 3-B').
+ +codeblock('javascript', 10, 2, false, 'Step 3-B').
var reader = geo.createFileReader('jsonReader', { 'layer': layer });
reader.read(cities, function (features) {
features[0].draw();

Fix a typo; Fix a tutorial step ordering;