diff --git a/colonizacion-leaflet/index.html b/colonizacion-leaflet/index.html
index 094b4a1..b0d3cf1 100644
--- a/colonizacion-leaflet/index.html
+++ b/colonizacion-leaflet/index.html
@@ -105,22 +105,22 @@ $.getJSON("data/zonas.geojson", function(zon_data){
else if (type == "C") fillColor = "#31a354";
else fillColor = "#f7f7f7"; //no data
return { color: "#999", weight: 0, fillColor: fillColor, fillOpacity: .6};
- },
- onEachFeature: function (feature, layer){
- layer.bindPopup( " Nombre: " + feature.properties.Nombre + "
" + " Tipo: " + feature.properties.D_Tipo + "
" + " Estado: " +feature.properties.D_Estado)
- }
-} ).addTo(mymap);
+ },
+ onEachFeature: function (feature, layer){
+ layer.bindPopup( " Nombre: " + feature.properties.Nombre + "
" + " Tipo: " + feature.properties.D_Tipo + "
" + " Estado: " +feature.properties.D_Estado)
+ }
+ }).addTo(mymap);
+
+ var legend = L.control({position: 'bottomright'});
+
+ legend.onAdd = function (mymap) {
+ var div = L.DomUtil.create('div', 'info legend');
+ div.innerHTML = " Poblados de ColonizaciĆ³n
Colonias Penitenciarias
Embalses";
+ return div;
+ };
+
+ legend.addTo(mymap);
});
-
-var legend = L.control({position: 'bottomright'});
-
-legend.onAdd = function (mymap) {
- var div = L.DomUtil.create('div', 'info legend');
- div.innerHTML = " Poblados de ColonizaciĆ³n
Colonias Penitenciarias
Embalses";
- return div;
-};
-
-legend.addTo(mymap);