Move openlayers to js/vendor
Move js/openlayers to js/vendor/openlayers Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
@ -3,7 +3,7 @@ imports:
|
||||
- javascript
|
||||
- php
|
||||
filter:
|
||||
excluded_paths: [js/vendor/*, js/jqplot/*, js/openlayers/*, js/codemirror/*, js/sprintf.js]
|
||||
excluded_paths: [js/vendor/*, js/jqplot/*, js/codemirror/*, js/sprintf.js]
|
||||
build:
|
||||
dependencies:
|
||||
before:
|
||||
@ -12,7 +12,7 @@ build:
|
||||
tests:
|
||||
override:
|
||||
-
|
||||
command: './vendor/bin/phpcs --standard=PMAStandard ./ --report=checkstyle --report-file=cs-data --ignore=*/vendor/*,*/codemirror/*,*/openlayers/*,*/jqplot/*,*/build/*'
|
||||
command: './vendor/bin/phpcs --standard=PMAStandard ./ --report=checkstyle --report-file=cs-data --ignore=*/vendor/*,*/codemirror/*,*/jqplot/*,*/build/*'
|
||||
analysis:
|
||||
file: 'cs-data' # The reporter filename
|
||||
format: 'php-cs-checkstyle' # The supported format by Scrutinizer
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
<target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding third party libraries" depends="phpcs-config">
|
||||
<exec executable="phpcs">
|
||||
<arg line="
|
||||
--ignore=*/vendor/*,*/codemirror/*,*/openlayers/*,*/jqplot/*,*/build/*
|
||||
--ignore=*/vendor/*,*/codemirror/*,*/jqplot/*,*/build/*
|
||||
--report=checkstyle
|
||||
--extensions=php
|
||||
--report-file='${basedir}/build/logs/checkstyle.xml'
|
||||
|
||||
@ -691,7 +691,7 @@ A list of files and corresponding functionality which degrade gracefully when re
|
||||
* :file:`./setup/` (setup script)
|
||||
* :file:`./examples/`
|
||||
* :file:`./sql/` (SQL scripts to configure advanced functionality)
|
||||
* :file:`./js/openlayers/` (GIS visualization)
|
||||
* :file:`./js/vendor/openlayers/` (GIS visualization)
|
||||
|
||||
.. _faqconfig:
|
||||
|
||||
|
||||
@ -123,7 +123,7 @@ function loadJSAndGISEditor(value, field, type, input_name) {
|
||||
loadGISEditor(value, field, type, input_name);
|
||||
}
|
||||
|
||||
script.src = 'js/openlayers/OpenLayers.js';
|
||||
script.src = 'js/vendor/openlayers/OpenLayers.js';
|
||||
head.appendChild(script);
|
||||
|
||||
gisEditorLoaded = true;
|
||||
|
||||
@ -150,7 +150,7 @@ function initGISVisualization() {
|
||||
resizeGISVisualization();
|
||||
if (typeof OpenLayers !== 'undefined') {
|
||||
// Configure OpenLayers
|
||||
OpenLayers._getScriptLocation = function() {return './js/openlayers/';};
|
||||
OpenLayers._getScriptLocation = function() {return './js/vendor/openlayers/';};
|
||||
// Adds necessary styles to the div that coontains the openStreetMap
|
||||
styleOSM();
|
||||
// Draws openStreetMap with openLayers
|
||||
|
||||
|
Before Width: | Height: | Size: 42 B After Width: | Height: | Size: 42 B |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 342 B |
|
Before Width: | Height: | Size: 405 B After Width: | Height: | Size: 405 B |
|
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 220 B |
|
Before Width: | Height: | Size: 758 B After Width: | Height: | Size: 758 B |
|
Before Width: | Height: | Size: 703 B After Width: | Height: | Size: 703 B |
|
Before Width: | Height: | Size: 753 B After Width: | Height: | Size: 753 B |
|
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 601 B |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 378 B After Width: | Height: | Size: 378 B |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 247 B |
|
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
|
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 360 B |
|
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 291 B |
|
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 381 B |
|
Before Width: | Height: | Size: 860 B After Width: | Height: | Size: 860 B |
|
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 299 B |
|
Before Width: | Height: | Size: 457 B After Width: | Height: | Size: 457 B |
|
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 524 B |
|
Before Width: | Height: | Size: 516 B After Width: | Height: | Size: 516 B |