-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1f454a
commit 8afcf40
Showing
25 changed files
with
11,325 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>catalogo patrimonio</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.wst.common.project.facet.core.builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.wst.validation.validationbuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature> | ||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> | ||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset=utf-8 /> | ||
<title>Lugar registrado</title> | ||
<link rel='stylesheet' href='stylesheets/registration.css' /> | ||
<script> | ||
function index(){ | ||
window.location='registration.html'; | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
<div id='masthead'> | ||
<div id='header' class='limiter'> | ||
<h1>Registro bienes de interés ambiental, cultural, histórico y etnográfico de Campo de Criptana</h1> | ||
</div> | ||
</div> | ||
|
||
<div class='limiter'> | ||
<h3>El lugar ha sido registrado, Gracias</h3> | ||
<input type=button onClick="location.href='registration.html'" value='Registrar otro lugar' value='click here'> | ||
<input type=button onClick="location.href='index.html'" value='Ir al mapa de lugares' value='click here'> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset=utf-8 /> | ||
<title>Agresión registrada</title> | ||
<link rel='stylesheet' href='stylesheets/registration.css' /> | ||
<script> | ||
function index(){ | ||
window.location='registration.html'; | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
<div id='masthead'> | ||
<div id='header' class='limiter'> | ||
<h1>Registro de agresiones ambientales en la provincia de Ciudad Real</h1> | ||
</div> | ||
</div> | ||
|
||
<div class='limiter'> | ||
<h3>La agresión ha sido registrada, Gracias</h3> | ||
<input type=button onClick="location.href='registration.html'" value='Registrar otra agresión' value='click here'> | ||
<input type=button onClick="location.href='index.html'" value='Ir al mapa de agresiones' value='click here'> | ||
</div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
L.Control.Fullscreen = L.Control.extend({ | ||
options: { | ||
position: 'topleft', | ||
title: 'View Fullscreen' | ||
}, | ||
|
||
onAdd: function (map) { | ||
var container = L.DomUtil.create('div', 'leaflet-control-fullscreen leaflet-bar leaflet-control'), | ||
link = L.DomUtil.create('a', 'leaflet-control-fullscreen-button leaflet-bar-part', container); | ||
|
||
this._map = map; | ||
|
||
link.href = '#'; | ||
link.title = this.options.title; | ||
|
||
L.DomEvent.on(link, 'click', this._click, this); | ||
|
||
return container; | ||
}, | ||
|
||
_click: function (e) { | ||
L.DomEvent.stopPropagation(e); | ||
L.DomEvent.preventDefault(e); | ||
this._map.toggleFullscreen(); | ||
} | ||
}); | ||
|
||
L.Map.include({ | ||
isFullscreen: function () { | ||
return this._isFullscreen; | ||
}, | ||
|
||
toggleFullscreen: function () { | ||
var container = this.getContainer(); | ||
if (this.isFullscreen()) { | ||
if (document.exitFullscreen) { | ||
document.exitFullscreen(); | ||
} else if (document.mozCancelFullScreen) { | ||
document.mozCancelFullScreen(); | ||
} else if (document.webkitCancelFullScreen) { | ||
document.webkitCancelFullScreen(); | ||
} else { | ||
L.DomUtil.removeClass(container, 'leaflet-pseudo-fullscreen'); | ||
this.invalidateSize(); | ||
this._isFullscreen = false; | ||
this.fire('fullscreenchange'); | ||
} | ||
} else { | ||
if (container.requestFullscreen) { | ||
container.requestFullscreen(); | ||
} else if (container.mozRequestFullScreen) { | ||
container.mozRequestFullScreen(); | ||
} else if (container.webkitRequestFullscreen) { | ||
container.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); | ||
} else { | ||
L.DomUtil.addClass(container, 'leaflet-pseudo-fullscreen'); | ||
this.invalidateSize(); | ||
this._isFullscreen = true; | ||
this.fire('fullscreenchange'); | ||
} | ||
} | ||
}, | ||
|
||
_onFullscreenChange: function () { | ||
var fullscreenElement = | ||
document.fullscreenElement || | ||
document.mozFullScreenElement || | ||
document.webkitFullscreenElement; | ||
|
||
if (fullscreenElement === this.getContainer()) { | ||
this._isFullscreen = true; | ||
this.fire('fullscreenchange'); | ||
} else if (this._isFullscreen) { | ||
this._isFullscreen = false; | ||
this.fire('fullscreenchange'); | ||
} | ||
} | ||
}); | ||
|
||
L.Map.mergeOptions({ | ||
fullscreenControl: false | ||
}); | ||
|
||
L.Map.addInitHook(function () { | ||
if (this.options.fullscreenControl) { | ||
this.fullscreenControl = new L.Control.Fullscreen(); | ||
this.addControl(this.fullscreenControl); | ||
} | ||
|
||
var fullscreenchange; | ||
|
||
if ('onfullscreenchange' in document) { | ||
fullscreenchange = 'fullscreenchange'; | ||
} else if ('onmozfullscreenchange' in document) { | ||
fullscreenchange = 'mozfullscreenchange'; | ||
} else if ('onwebkitfullscreenchange' in document) { | ||
fullscreenchange = 'webkitfullscreenchange'; | ||
} | ||
|
||
if (fullscreenchange) { | ||
this.on('load', function () { | ||
L.DomEvent.on(document, fullscreenchange, this._onFullscreenChange, this); | ||
}); | ||
|
||
this.on('unload', function () { | ||
L.DomEvent.off(document, fullscreenchange, this._onFullscreenChange); | ||
}); | ||
} | ||
}); | ||
|
||
L.control.fullscreen = function (options) { | ||
return new L.Control.Fullscreen(options); | ||
}; |
Oops, something went wrong.