Skip to content

Commit d6636bf

Browse files
committed
Renamed several files to directory/index.md
1 parent 6e42e04 commit d6636bf

35 files changed

+43
-43
lines changed

docs/examples.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,47 +10,47 @@ Every tutorial here comes with step-by-step code explanation and is easy enough
1010

1111

1212
{% include tutorial_link.html
13-
page="quick-start/quick-start.html"
13+
page="quick-start/"
1414
thumbnail="quick-start/thumbnail.png"
1515
title="Leaflet Quick Start Guide"
1616
description="A simple step-by-step guide that will quickly get you started with Leaflet basics, including setting up a Leaflet map (with Mapbox tiles) on your page, working with markers, polylines and popups, and dealing with events."
1717
%}
1818

1919

2020
{% include tutorial_link.html
21-
page="mobile/mobile.html"
21+
page="mobile/"
2222
thumbnail="mobile/thumbnail.png"
2323
title="Leaflet on Mobile"
2424
description="In this tutorial, you'll learn how to create a fullscreen map tuned for mobile devices like iPhone, iPad or Android phones, and how to easily detect and use the current user location."
2525
%}
2626

2727

2828
{% include tutorial_link.html
29-
page="custom-icons/custom-icons.html"
29+
page="custom-icons/"
3030
thumbnail="custom-icons/thumbnail.png"
3131
title="Markers with Custom Icons"
3232
description="In this pretty tutorial, you'll learn how to easily define your own icons for use by the markers you put on the map."
3333
%}
3434

3535

3636
{% include tutorial_link.html
37-
page="geojson/geojson.html"
37+
page="geojson/"
3838
thumbnail="geojson/thumbnail.png"
3939
title="Using GeoJSON with Leaflet"
4040
description="In this tutorial, you'll learn how to create and interact with map vectors created from [GeoJSON](http://geojson.org/) objects."
4141
%}
4242

4343

4444
{% include tutorial_link.html
45-
page="choropleth/choropleth.html"
45+
page="choropleth/"
4646
thumbnail="choropleth/thumbnail.png"
4747
title="Interactive Choropleth Map"
4848
description="A case study of creating a colorful interactive [choropleth map](http://en.wikipedia.org/wiki/Choropleth_map) of US States Population Density with GeoJSON and some custom controls. News websites will love this."
4949
%}
5050

5151

5252
{% include tutorial_link.html
53-
page="layers-control/layers-control.html"
53+
page="layers-control/"
5454
thumbnail="layers-control/thumbnail.png"
5555
title="Layer Groups and Layers Control"
5656
description="A tutorial on how to manage groups of layers and use the layer switching control."
@@ -74,7 +74,7 @@ description="How to integrate with WMS and TMS services from professional GIS so
7474

7575

7676
{% include tutorial_link.html
77-
page="map-panes/map-panes.html"
77+
page="map-panes/"
7878
thumbnail="map-panes/thumbnail.png"
7979
title="Working with map panes"
8080
description="How the default map panes work to display overlays on top of tiles, and how to override that."

docs/examples/choropleth-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
layout: redirected
33
sitemap: false
4-
redirect_to: choropleth/choropleth-example.html
4+
redirect_to: choropleth/example.html
55
---

docs/examples/choropleth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
layout: redirected
33
sitemap: false
4-
redirect_to: choropleth/choropleth.html
4+
redirect_to: choropleth/
55
---

docs/examples/choropleth/choropleth.md renamed to docs/examples/choropleth/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ title: Interactive Choropleth Map
55

66
## Interactive Choropleth Map
77

8-
This is a case study of creating a colorful interactive [choropleth map](http://en.wikipedia.org/wiki/Choropleth_map) of US States Population Density with the help of [GeoJSON](geojson.html) and some [custom controls](../../reference.html#icontrol) (that will hopefully convince all the remaining major news and government websites that do not use Leaflet yet to start doing so).
8+
This is a case study of creating a colorful interactive [choropleth map](http://en.wikipedia.org/wiki/Choropleth_map) of US States Population Density with the help of [GeoJSON](../geojson/) and some [custom controls](../../reference.html#control) (that will hopefully convince all the remaining major news and government websites that do not use Leaflet yet to start doing so).
99

1010
The tutorial was inspired by the [Texas Tribune US Senate Runoff Results map](http://www.texastribune.org/library/data/us-senate-runoff-results-map/) (also powered by Leaflet), created by [Ryan Murphy](http://www.texastribune.org/about/staff/ryan-murphy/).
1111

12-
{% include frame.html url="choropleth-example.html" width=816 height=516 %}
12+
{% include frame.html url="example.html" width=816 height=516 %}
1313

1414
### Data Source
1515

16-
We'll be creating a visualization of population density per US state. As the amount of data (state shapes and the density value for each state) is not very big, the most convenient and simple way to store and then display it is [GeoJSON](../geojson/geojson.html).
16+
We'll be creating a visualization of population density per US state. As the amount of data (state shapes and the density value for each state) is not very big, the most convenient and simple way to store and then display it is [GeoJSON](../geojson/).
1717

1818
Each feature of our GeoJSON data ([us-states.js](us-states.js)) will look like this:
1919

@@ -43,7 +43,7 @@ Let's display our states data on a map with a custom Mapbox style for nice grays
4343

4444
L.geoJson(statesData).addTo(map);
4545

46-
{% include frame.html url="choropleth-basic.html" %}
46+
{% include frame.html url="example-basic.html" %}
4747

4848

4949
### Adding Some Color
@@ -78,7 +78,7 @@ Next we define a styling function for our GeoJSON layer so that its `fillColor`
7878

7979
Looks much better now!
8080

81-
{% include frame.html url="choropleth-color.html" %}
81+
{% include frame.html url="example-color.html" %}
8282

8383

8484
### Adding Interaction
@@ -227,6 +227,6 @@ CSS styles for the control (we also reuse the `info` class defined earlier):
227227
opacity: 0.7;
228228
}
229229

230-
Enjoy the result on the top of this page, or on a [separate page](choropleth-example.html).
230+
Enjoy the result on the top of this page, or on a [separate page](example.html).
231231

232232

docs/examples/custom-icons-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
layout: redirected
33
sitemap: false
4-
redirect_to: custom-icons/custom-icons-example.html
4+
redirect_to: custom-icons/example.html
55
---

docs/examples/custom-icons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
layout: redirected
33
sitemap: false
4-
redirect_to: custom-icons/custom-icons.html
4+
redirect_to: custom-icons/
55
---

0 commit comments

Comments
 (0)