-
+
+
+
+
@@ -26,10 +39,176 @@
{% endblock %}
{% block extra_js %}
-
- {# #}
+
+
+
+
+
+
{% endblock %}
{% block script_footer %}
- {% include 'main/includes/map_script.html' with lat=map_center_lat lon=map_center_lon polygons=polygons %}
+
+
{% endblock %}
diff --git a/positioning/apps/main/urls.py b/positioning/apps/main/urls.py
index 8f7ed76..da02492 100644
--- a/positioning/apps/main/urls.py
+++ b/positioning/apps/main/urls.py
@@ -1,4 +1,4 @@
-from apps.main.views.views_api import PolygonsApiView
+from apps.main.views.views_api import PolygonsApiView, PolygonsTagsCountApiView
from apps.main.views.views_page import MainIndexView
from django.urls import path
@@ -6,5 +6,10 @@ app_name = "main"
urlpatterns = [
path("", MainIndexView.as_view(), name="main_index"),
- path("buildings/polygons/", PolygonsApiView.as_view()),
+ path("buildings/polygons/", PolygonsApiView.as_view(), name="poligon_list_api"),
+ path(
+ "buildings/polygons/count/",
+ PolygonsTagsCountApiView.as_view(),
+ name="poligon_count_api",
+ ),
]
diff --git a/positioning/apps/main/views/views_api.py b/positioning/apps/main/views/views_api.py
index bd545cd..e39a47a 100644
--- a/positioning/apps/main/views/views_api.py
+++ b/positioning/apps/main/views/views_api.py
@@ -1,14 +1,40 @@
import json
+from datetime import timedelta
+from apps.eps.models.tags.model_tags import Tag
from apps.main.models.model_building import Building
from django.core.serializers import serialize
from django.http import HttpRequest, JsonResponse
+from django.utils import timezone
from django.views import View
class PolygonsApiView(View):
def get(self, request: HttpRequest) -> JsonResponse:
data = serialize(
- "geojson", Building.objects.all(), geometry_field="polygon", fields=["name"]
+ "geojson",
+ Building.objects.filter(active=True),
+ geometry_field="polygon",
+ fields=["name", "pk"],
)
return JsonResponse(json.loads(data))
+
+
+class PolygonsTagsCountApiView(View):
+ def get(self, request: HttpRequest) -> JsonResponse:
+ buildings = Building.objects.filter(active=True)
+ items: list = []
+ res = {
+ "error": "",
+ "status": 0,
+ "total": 0,
+ "items": items,
+ }
+ for building in buildings:
+ zones = building.zones.all()
+ tags = Tag.objects.filter(
+ zone__in=zones, date_time__gt=timezone.now() - timedelta(minutes=5)
+ )
+ tags_count = tags.count()
+ items.append({"id": building.id, "count": tags_count})
+ return JsonResponse(res)
diff --git a/positioning/apps/street_pos/services/map/repository.py b/positioning/apps/street_pos/services/map/repository.py
index 20c3e43..49a3270 100644
--- a/positioning/apps/street_pos/services/map/repository.py
+++ b/positioning/apps/street_pos/services/map/repository.py
@@ -7,6 +7,7 @@ from django.db.models import QuerySet
class StreetMapRepository(TagRepository):
def __init__(self, model: Tag = Tag) -> None:
+ super().__init__(model)
self.model = model
def filter(self, **kwargs: Any) -> QuerySet:
diff --git a/positioning/apps/street_pos/services/map/service.py b/positioning/apps/street_pos/services/map/service.py
index 94e8e34..11995cb 100644
--- a/positioning/apps/street_pos/services/map/service.py
+++ b/positioning/apps/street_pos/services/map/service.py
@@ -5,35 +5,20 @@ from base.base_service import BaseService
class StreetMapService(BaseService):
- def __init__(self, repository: StreetMapRepository = StreetMapRepository()) -> None:
- self.repository = repository or StreetMapRepository()
+ def __init__(self, repository: StreetMapRepository = None):
+ self.repository = (
+ repository if repository is not None else StreetMapRepository()
+ )
def get_tags(self) -> dict:
offset = timedelta(days=2)
now = self.get_current_time()
timeout = now - offset
- data = self.repository.filter(date_time__gte=timeout, is_street=True)
- tag_mas: list = []
- res = {
+ data = self.repository.filter(date_time_street__gte=timeout, is_street=True)
+
+ return {
"error": "",
"status": 0,
- "total": 0,
- "items": tag_mas,
+ "total": data.count(),
+ "items": [tag.to_dict() for tag in data],
}
-
- for tag in data:
- tag_mas.append(
- {
- "id": tag.worker.id if tag.worker else tag.id,
- "name": tag.worker.name if tag.worker else tag.name,
- "sn": tag.sn,
- "lat": tag.lat,
- "lon": tag.lon,
- "alt": tag.alt,
- "date_time": self.convert_to_local_time(tag.date_time).strftime(
- "%d.%m.%Y %H:%M:%S"
- ),
- }
- )
- res["total"] = data.count()
- return res
diff --git a/positioning/apps/street_pos/services/map/urls.py b/positioning/apps/street_pos/services/map/urls.py
index 31e251b..1727c6a 100644
--- a/positioning/apps/street_pos/services/map/urls.py
+++ b/positioning/apps/street_pos/services/map/urls.py
@@ -4,5 +4,5 @@ from django.urls import path
urlpatterns = [
path("", MapView.as_view(), name="street_map"),
- path("update_object/", TagCoordApiView.as_view(), name="tags_ajax"),
+ path("update_object/", TagCoordApiView.as_view(), name="tags_list_api"),
]
diff --git a/positioning/apps/street_pos/services/map/views/views_api.py b/positioning/apps/street_pos/services/map/views/views_api.py
index f054c6b..f61f000 100644
--- a/positioning/apps/street_pos/services/map/views/views_api.py
+++ b/positioning/apps/street_pos/services/map/views/views_api.py
@@ -5,6 +5,7 @@ import traceback
from typing import Any
from apps.street_pos.services.map.service import StreetMapService
+from django.conf import settings
from django.http import HttpRequest, JsonResponse
from django.views import View
@@ -14,7 +15,17 @@ logger = logging.getLogger("mfss")
class TagCoordApiView(View):
def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)
- self.service = StreetMapService() # Dependency injection
+ self.service = StreetMapService()
+
+ def _error_response(self, error_msg: str) -> JsonResponse:
+ return JsonResponse(
+ {
+ "error": error_msg,
+ "status": -100,
+ "total": 0,
+ "items": [],
+ }
+ )
def get(self, request: HttpRequest) -> JsonResponse:
try:
@@ -22,9 +33,5 @@ class TagCoordApiView(View):
return JsonResponse(data)
except Exception:
logger.error(traceback.format_exc())
- return {
- "error": "server error",
- "status": -100,
- "total": 0,
- "items": [],
- }
+ error_msg = traceback.format_exc() if settings.DEBUG else "Server error"
+ return self._error_response(error_msg)
diff --git a/positioning/apps/street_pos/templates/street_pos/map.html b/positioning/apps/street_pos/templates/street_pos/map.html
index bf0f37e..7351c89 100644
--- a/positioning/apps/street_pos/templates/street_pos/map.html
+++ b/positioning/apps/street_pos/templates/street_pos/map.html
@@ -2,14 +2,12 @@
{% load static %}
{% load settings_tag %}
{% block header_link %}
-
- {#
#}
- {##}
- {#
#}
+
+
+
{% endblock %}
{% block content %}
- {% block extra_js %}
-
- {# #}
- {% endblock %}
- {% block script_footer %}
- {% include 'street_pos/includes/map_script.html' with lat=map_center_lat lon=map_center_lon %}
- {% endblock %}
+{% endblock %}
+{% block extra_js %}
+
+
+
+
+
+
+{% endblock %}
+{% block script_footer %}
+
{% endblock %}
{% block form %}{% endblock %}
diff --git a/positioning/apps/workers/migrations/0004_remove_workshift_is_weekday_workshift_shift_type.py b/positioning/apps/workers/migrations/0004_remove_workshift_is_weekday_workshift_shift_type.py
new file mode 100644
index 0000000..954eeb8
--- /dev/null
+++ b/positioning/apps/workers/migrations/0004_remove_workshift_is_weekday_workshift_shift_type.py
@@ -0,0 +1,33 @@
+# Generated by Django 4.2.19 on 2025-03-31 07:48
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("workers", "0003_alter_worker_tag"),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name="workshift",
+ name="is_weekday",
+ ),
+ migrations.AddField(
+ model_name="workshift",
+ name="shift_type",
+ field=models.CharField(
+ choices=[
+ ("regular", "Обычный график (5/2)"),
+ ("shift", "Сменный график (2/2, 1/3 и т.д.)"),
+ ("flexible", "Гибкий график"),
+ ("night", "Ночная смена"),
+ ("remote", "Удаленный режим"),
+ ],
+ default="regular",
+ help_text="Выберите тип рабочего графика",
+ max_length=10,
+ verbose_name="Тип графика",
+ ),
+ ),
+ ]
diff --git a/static/gis/css/ol3.css b/static/gis/css/ol3.css
new file mode 100644
index 0000000..ac8f0a8
--- /dev/null
+++ b/static/gis/css/ol3.css
@@ -0,0 +1,39 @@
+.dj_map_wrapper {
+ position: relative;
+ float: left;
+}
+html[dir="rtl"] .dj_map_wrapper {
+ float: right;
+}
+
+.switch-type {
+ background-repeat: no-repeat;
+ cursor: pointer;
+ top: 0.5em;
+ width: 22px;
+ height: 20px;
+}
+
+.type-Point {
+ background-image: url("../img/draw_point_off.svg");
+ right: 5px;
+}
+.type-Point.type-active {
+ background-image: url("../img/draw_point_on.svg");
+}
+
+.type-LineString {
+ background-image: url("../img/draw_line_off.svg");
+ right: 30px;
+}
+.type-LineString.type-active {
+ background-image: url("../img/draw_line_on.svg");
+}
+
+.type-Polygon {
+ background-image: url("../img/draw_polygon_off.svg");
+ right: 55px;
+}
+.type-Polygon.type-active {
+ background-image: url("../img/draw_polygon_on.svg");
+}
diff --git a/static/gis/img/draw_line_off.svg b/static/gis/img/draw_line_off.svg
new file mode 100644
index 0000000..c403af6
--- /dev/null
+++ b/static/gis/img/draw_line_off.svg
@@ -0,0 +1 @@
+
diff --git a/static/gis/img/draw_line_on.svg b/static/gis/img/draw_line_on.svg
new file mode 100644
index 0000000..5eb0d6d
--- /dev/null
+++ b/static/gis/img/draw_line_on.svg
@@ -0,0 +1 @@
+
diff --git a/static/gis/img/draw_point_off.svg b/static/gis/img/draw_point_off.svg
new file mode 100644
index 0000000..5a29034
--- /dev/null
+++ b/static/gis/img/draw_point_off.svg
@@ -0,0 +1 @@
+
diff --git a/static/gis/img/draw_point_on.svg b/static/gis/img/draw_point_on.svg
new file mode 100644
index 0000000..f006524
--- /dev/null
+++ b/static/gis/img/draw_point_on.svg
@@ -0,0 +1 @@
+
diff --git a/static/gis/img/draw_polygon_off.svg b/static/gis/img/draw_polygon_off.svg
new file mode 100644
index 0000000..b02dd35
--- /dev/null
+++ b/static/gis/img/draw_polygon_off.svg
@@ -0,0 +1 @@
+
diff --git a/static/gis/img/draw_polygon_on.svg b/static/gis/img/draw_polygon_on.svg
new file mode 100644
index 0000000..303a02a
--- /dev/null
+++ b/static/gis/img/draw_polygon_on.svg
@@ -0,0 +1 @@
+
diff --git a/static/gis/js/OLMapWidget.js b/static/gis/js/OLMapWidget.js
new file mode 100644
index 0000000..b750327
--- /dev/null
+++ b/static/gis/js/OLMapWidget.js
@@ -0,0 +1,238 @@
+/* global ol */
+'use strict';
+class GeometryTypeControl extends ol.control.Control {
+ // Map control to switch type when geometry type is unknown
+ constructor(opt_options) {
+ const options = opt_options || {};
+
+ const element = document.createElement('div');
+ element.className = 'switch-type type-' + options.type + ' ol-control ol-unselectable';
+ if (options.active) {
+ element.classList.add("type-active");
+ }
+
+ super({
+ element: element,
+ target: options.target
+ });
+ const self = this;
+ const switchType = function(e) {
+ e.preventDefault();
+ if (options.widget.currentGeometryType !== self) {
+ options.widget.map.removeInteraction(options.widget.interactions.draw);
+ options.widget.interactions.draw = new ol.interaction.Draw({
+ features: options.widget.featureCollection,
+ type: options.type
+ });
+ options.widget.map.addInteraction(options.widget.interactions.draw);
+ options.widget.currentGeometryType.element.classList.remove('type-active');
+ options.widget.currentGeometryType = self;
+ element.classList.add("type-active");
+ }
+ };
+
+ element.addEventListener('click', switchType, false);
+ element.addEventListener('touchstart', switchType, false);
+ }
+}
+
+// TODO: allow deleting individual features (#8972)
+class MapWidget {
+ constructor(options) {
+ this.map = null;
+ this.interactions = {draw: null, modify: null};
+ this.typeChoices = false;
+ this.ready = false;
+
+ // Default options
+ this.options = {
+ default_lat: 0,
+ default_lon: 0,
+ default_zoom: 12,
+ is_collection: options.geom_name.includes('Multi') || options.geom_name.includes('Collection')
+ };
+
+ // Altering using user-provided options
+ for (const property in options) {
+ if (options.hasOwnProperty(property)) {
+ this.options[property] = options[property];
+ }
+ }
+ if (!options.base_layer) {
+ this.options.base_layer = new ol.layer.Tile({source: new ol.source.OSM()});
+ }
+
+ // RemovedInDjango51Warning: when the deprecation ends, remove setting
+ // width/height (3 lines below).
+ const mapContainer = document.getElementById(this.options.map_id);
+ mapContainer.style.width = `${mapContainer.dataset.width}px`;
+ mapContainer.style.height = `${mapContainer.dataset.height}px`;
+ this.map = this.createMap();
+ this.featureCollection = new ol.Collection();
+ this.featureOverlay = new ol.layer.Vector({
+ map: this.map,
+ source: new ol.source.Vector({
+ features: this.featureCollection,
+ useSpatialIndex: false // improve performance
+ }),
+ updateWhileAnimating: true, // optional, for instant visual feedback
+ updateWhileInteracting: true // optional, for instant visual feedback
+ });
+
+ // Populate and set handlers for the feature container
+ const self = this;
+ this.featureCollection.on('add', function(event) {
+ const feature = event.element;
+ feature.on('change', function() {
+ self.serializeFeatures();
+ });
+ if (self.ready) {
+ self.serializeFeatures();
+ if (!self.options.is_collection) {
+ self.disableDrawing(); // Only allow one feature at a time
+ }
+ }
+ });
+
+ const initial_value = document.getElementById(this.options.id).value;
+ if (initial_value) {
+ const jsonFormat = new ol.format.GeoJSON();
+ const features = jsonFormat.readFeatures('{"type": "Feature", "geometry": ' + initial_value + '}');
+ const extent = ol.extent.createEmpty();
+ features.forEach(function(feature) {
+ this.featureOverlay.getSource().addFeature(feature);
+ ol.extent.extend(extent, feature.getGeometry().getExtent());
+ }, this);
+ // Center/zoom the map
+ this.map.getView().fit(extent, {minResolution: 1});
+ } else {
+ this.map.getView().setCenter(this.defaultCenter());
+ }
+ this.createInteractions();
+ if (initial_value && !this.options.is_collection) {
+ this.disableDrawing();
+ }
+ const clearNode = document.getElementById(this.map.getTarget()).nextElementSibling;
+ if (clearNode.classList.contains('clear_features')) {
+ clearNode.querySelector('a').addEventListener('click', (ev) => {
+ ev.preventDefault();
+ self.clearFeatures();
+ });
+ }
+ this.ready = true;
+ }
+
+ createMap() {
+ return new ol.Map({
+ target: this.options.map_id,
+ layers: [this.options.base_layer],
+ view: new ol.View({
+ zoom: this.options.default_zoom
+ })
+ });
+ }
+
+ createInteractions() {
+ // Initialize the modify interaction
+ this.interactions.modify = new ol.interaction.Modify({
+ features: this.featureCollection,
+ deleteCondition: function(event) {
+ return ol.events.condition.shiftKeyOnly(event) &&
+ ol.events.condition.singleClick(event);
+ }
+ });
+
+ // Initialize the draw interaction
+ let geomType = this.options.geom_name;
+ if (geomType === "Geometry" || geomType === "GeometryCollection") {
+ // Default to Point, but create icons to switch type
+ geomType = "Point";
+ this.currentGeometryType = new GeometryTypeControl({widget: this, type: "Point", active: true});
+ this.map.addControl(this.currentGeometryType);
+ this.map.addControl(new GeometryTypeControl({widget: this, type: "LineString", active: false}));
+ this.map.addControl(new GeometryTypeControl({widget: this, type: "Polygon", active: false}));
+ this.typeChoices = true;
+ }
+ this.interactions.draw = new ol.interaction.Draw({
+ features: this.featureCollection,
+ type: geomType
+ });
+
+ this.map.addInteraction(this.interactions.draw);
+ this.map.addInteraction(this.interactions.modify);
+ }
+
+ defaultCenter() {
+ const center = [this.options.default_lon, this.options.default_lat];
+ if (this.options.map_srid) {
+ return ol.proj.transform(center, 'EPSG:4326', this.map.getView().getProjection());
+ }
+ return center;
+ }
+
+ enableDrawing() {
+ this.interactions.draw.setActive(true);
+ if (this.typeChoices) {
+ // Show geometry type icons
+ const divs = document.getElementsByClassName("switch-type");
+ for (let i = 0; i !== divs.length; i++) {
+ divs[i].style.visibility = "visible";
+ }
+ }
+ }
+
+ disableDrawing() {
+ if (this.interactions.draw) {
+ this.interactions.draw.setActive(false);
+ if (this.typeChoices) {
+ // Hide geometry type icons
+ const divs = document.getElementsByClassName("switch-type");
+ for (let i = 0; i !== divs.length; i++) {
+ divs[i].style.visibility = "hidden";
+ }
+ }
+ }
+ }
+
+ clearFeatures() {
+ this.featureCollection.clear();
+ // Empty textarea widget
+ document.getElementById(this.options.id).value = '';
+ this.enableDrawing();
+ }
+
+ serializeFeatures() {
+ // Three use cases: GeometryCollection, multigeometries, and single geometry
+ let geometry = null;
+ const features = this.featureOverlay.getSource().getFeatures();
+ if (this.options.is_collection) {
+ if (this.options.geom_name === "GeometryCollection") {
+ const geometries = [];
+ for (let i = 0; i < features.length; i++) {
+ geometries.push(features[i].getGeometry());
+ }
+ geometry = new ol.geom.GeometryCollection(geometries);
+ } else {
+ geometry = features[0].getGeometry().clone();
+ for (let j = 1; j < features.length; j++) {
+ switch (geometry.getType()) {
+ case "MultiPoint":
+ geometry.appendPoint(features[j].getGeometry().getPoint(0));
+ break;
+ case "MultiLineString":
+ geometry.appendLineString(features[j].getGeometry().getLineString(0));
+ break;
+ case "MultiPolygon":
+ geometry.appendPolygon(features[j].getGeometry().getPolygon(0));
+ }
+ }
+ }
+ } else {
+ if (features[0]) {
+ geometry = features[0].getGeometry();
+ }
+ }
+ const jsonFormat = new ol.format.GeoJSON();
+ document.getElementById(this.options.id).value = jsonFormat.writeGeometry(geometry);
+ }
+}
diff --git a/static/img/worker.png b/static/img/worker.png
new file mode 100644
index 0000000..b955d04
Binary files /dev/null and b/static/img/worker.png differ
diff --git a/static/openLayers/layersStyles.js b/static/openLayers/layersStyles.js
new file mode 100644
index 0000000..5d2cdef
--- /dev/null
+++ b/static/openLayers/layersStyles.js
@@ -0,0 +1,121 @@
+const getGTOMarkerText = function (feature) {
+ const statemum = feature.get('garagenum')
+ if (statemum) {
+ return statemum;
+ }
+ return feature.get('name')
+};
+
+const createGTOStateNumTextStyle = function (feature, resolution) {
+ const font = 'bold' + ' ' + '12px' + '/' + '1' + ' ' + 'Arial';
+ return new ol.style.Text({
+ textAlign: 'center',
+ textBaseline: 'middle',
+ font: font,
+ text: getGTOMarkerText(feature, resolution),
+ fill: new ol.style.Fill({color: '#000'}),
+ offsetX: 0,
+ offsetY: -25,
+ placement: 'point',
+ maxAngle: '0.7853981633974483',
+ overflow: 'false',
+ rotation: parseFloat('0'),
+ backgroundFill: new ol.style.Fill({color: '#fff'}),
+ backgroundStroke: new ol.style.Stroke({color: '#000', width: 1}),
+ padding: [3, 3, 3, 3],
+ });
+};
+
+const createGTOZoneNameTextStyle = function (feature, resolution) {
+ const font = 'bold' + ' ' + '9px' + '/' + '1' + ' ' + 'Arial';
+ return new ol.style.Text({
+ textAlign: 'center',
+ textBaseline: 'middle',
+ font: font,
+ text: getGTOMarkerText(feature, resolution),
+ fill: new ol.style.Fill({color: '#000'}),
+ offsetX: 0,
+ offsetY: -25,
+ placement: 'point',
+ maxAngle: '0.7853981633974483',
+ overflow: 'false',
+ rotation: parseFloat('0'),
+ padding: [3, 3, 3, 3],
+ });
+};
+
+function GTOStyleFunction(feature, resolution) {
+ return new ol.style.Style({
+ image: new ol.style.Icon({
+ src: feature.get('icon') ? feature.get('icon') : "/static/img/belaz.png",
+ width: 30,
+ height: 20
+ }),
+ text: createGTOStateNumTextStyle(feature, resolution)
+ })
+}
+
+function createHatchPattern() {
+ // Создаем элемент canvas для шаблона штриховки
+ const canvas = document.createElement('canvas');
+ canvas.width = 10; // Ширина шаблона
+ canvas.height = 10; // Высота шаблона
+
+ const ctx = canvas.getContext('2d');
+ ctx.strokeStyle = 'rgba(125, 105, 49, 0.1)'; // Цвет штриховки
+ ctx.lineWidth = 2;
+
+ // Рисуем диагональные линии для штриховки
+ ctx.beginPath();
+ ctx.moveTo(0, 10);
+ ctx.lineTo(10, 0);
+ ctx.stroke();
+
+ // Создаем паттерн из канваса
+ return ctx.createPattern(canvas, 'repeat');
+}
+
+function VlocationStyleFunction(feature, resolution) {
+ return new ol.style.Style({
+ image: new ol.style.Icon({
+ src: '/static/img/worker.png',
+ width: 25,
+ height: 30
+ })
+ })
+}
+
+function SPStyleFunction(feature, resolution) {
+ return new ol.style.Style({
+ image: new ol.style.Icon({
+ src: '/static/img/earthquake_yellow.png',
+ width: 25,
+ height: 30
+ })
+ })
+}
+
+function polygonStyleFunction(feature, resolution) {
+ return new ol.style.Style({
+ stroke: new ol.style.Stroke({
+ color: 'rgb(0,117,217)',
+ width: 2,
+ }),
+ fill: new ol.style.Fill({
+ color: createHatchPattern(),
+ }),
+ });
+}
+
+function polygonBrownStyleFunction(feature, resolution) {
+ return new ol.style.Style({
+ stroke: new ol.style.Stroke({
+ color: 'rgb(199,136,10)',
+ width: 2,
+ }),
+ fill: new ol.style.Fill({
+ color: 'rgba(199,136,10, 0.6)',
+ }),
+ text: createGTOZoneNameTextStyle(feature, resolution)
+ });
+}
diff --git a/static/street_pos/openLayers/lib/Firebug/errorIcon.png b/static/openLayers/lib/Firebug/errorIcon.png
similarity index 100%
rename from static/street_pos/openLayers/lib/Firebug/errorIcon.png
rename to static/openLayers/lib/Firebug/errorIcon.png
diff --git a/static/street_pos/openLayers/lib/Firebug/firebug.css b/static/openLayers/lib/Firebug/firebug.css
similarity index 100%
rename from static/street_pos/openLayers/lib/Firebug/firebug.css
rename to static/openLayers/lib/Firebug/firebug.css
diff --git a/static/street_pos/openLayers/lib/Firebug/firebug.html b/static/openLayers/lib/Firebug/firebug.html
similarity index 100%
rename from static/street_pos/openLayers/lib/Firebug/firebug.html
rename to static/openLayers/lib/Firebug/firebug.html
diff --git a/static/street_pos/openLayers/lib/Firebug/firebug.js b/static/openLayers/lib/Firebug/firebug.js
similarity index 100%
rename from static/street_pos/openLayers/lib/Firebug/firebug.js
rename to static/openLayers/lib/Firebug/firebug.js
diff --git a/static/street_pos/openLayers/lib/Firebug/firebugx.js b/static/openLayers/lib/Firebug/firebugx.js
similarity index 100%
rename from static/street_pos/openLayers/lib/Firebug/firebugx.js
rename to static/openLayers/lib/Firebug/firebugx.js
diff --git a/static/street_pos/openLayers/lib/Firebug/infoIcon.png b/static/openLayers/lib/Firebug/infoIcon.png
similarity index 100%
rename from static/street_pos/openLayers/lib/Firebug/infoIcon.png
rename to static/openLayers/lib/Firebug/infoIcon.png
diff --git a/static/street_pos/openLayers/lib/Firebug/license.txt b/static/openLayers/lib/Firebug/license.txt
similarity index 100%
rename from static/street_pos/openLayers/lib/Firebug/license.txt
rename to static/openLayers/lib/Firebug/license.txt
diff --git a/static/street_pos/openLayers/lib/Firebug/readme.txt b/static/openLayers/lib/Firebug/readme.txt
similarity index 100%
rename from static/street_pos/openLayers/lib/Firebug/readme.txt
rename to static/openLayers/lib/Firebug/readme.txt
diff --git a/static/street_pos/openLayers/lib/Firebug/warningIcon.png b/static/openLayers/lib/Firebug/warningIcon.png
similarity index 100%
rename from static/street_pos/openLayers/lib/Firebug/warningIcon.png
rename to static/openLayers/lib/Firebug/warningIcon.png
diff --git a/static/street_pos/openLayers/lib/OpenLayers.js b/static/openLayers/lib/OpenLayers.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers.js
rename to static/openLayers/lib/OpenLayers.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Animation.js b/static/openLayers/lib/OpenLayers/Animation.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Animation.js
rename to static/openLayers/lib/OpenLayers/Animation.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/BaseTypes.js b/static/openLayers/lib/OpenLayers/BaseTypes.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/BaseTypes.js
rename to static/openLayers/lib/OpenLayers/BaseTypes.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Bounds.js b/static/openLayers/lib/OpenLayers/BaseTypes/Bounds.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Bounds.js
rename to static/openLayers/lib/OpenLayers/BaseTypes/Bounds.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Class.js b/static/openLayers/lib/OpenLayers/BaseTypes/Class.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Class.js
rename to static/openLayers/lib/OpenLayers/BaseTypes/Class.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Date.js b/static/openLayers/lib/OpenLayers/BaseTypes/Date.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Date.js
rename to static/openLayers/lib/OpenLayers/BaseTypes/Date.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Element.js b/static/openLayers/lib/OpenLayers/BaseTypes/Element.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Element.js
rename to static/openLayers/lib/OpenLayers/BaseTypes/Element.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/BaseTypes/LonLat.js b/static/openLayers/lib/OpenLayers/BaseTypes/LonLat.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/BaseTypes/LonLat.js
rename to static/openLayers/lib/OpenLayers/BaseTypes/LonLat.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Pixel.js b/static/openLayers/lib/OpenLayers/BaseTypes/Pixel.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Pixel.js
rename to static/openLayers/lib/OpenLayers/BaseTypes/Pixel.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Size.js b/static/openLayers/lib/OpenLayers/BaseTypes/Size.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/BaseTypes/Size.js
rename to static/openLayers/lib/OpenLayers/BaseTypes/Size.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Console.js b/static/openLayers/lib/OpenLayers/Console.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Console.js
rename to static/openLayers/lib/OpenLayers/Console.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control.js b/static/openLayers/lib/OpenLayers/Control.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control.js
rename to static/openLayers/lib/OpenLayers/Control.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/ArgParser.js b/static/openLayers/lib/OpenLayers/Control/ArgParser.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/ArgParser.js
rename to static/openLayers/lib/OpenLayers/Control/ArgParser.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Attribution.js b/static/openLayers/lib/OpenLayers/Control/Attribution.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Attribution.js
rename to static/openLayers/lib/OpenLayers/Control/Attribution.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Button.js b/static/openLayers/lib/OpenLayers/Control/Button.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Button.js
rename to static/openLayers/lib/OpenLayers/Control/Button.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/CacheRead.js b/static/openLayers/lib/OpenLayers/Control/CacheRead.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/CacheRead.js
rename to static/openLayers/lib/OpenLayers/Control/CacheRead.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/CacheWrite.js b/static/openLayers/lib/OpenLayers/Control/CacheWrite.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/CacheWrite.js
rename to static/openLayers/lib/OpenLayers/Control/CacheWrite.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/DragFeature.js b/static/openLayers/lib/OpenLayers/Control/DragFeature.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/DragFeature.js
rename to static/openLayers/lib/OpenLayers/Control/DragFeature.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/DragPan.js b/static/openLayers/lib/OpenLayers/Control/DragPan.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/DragPan.js
rename to static/openLayers/lib/OpenLayers/Control/DragPan.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/DrawFeature.js b/static/openLayers/lib/OpenLayers/Control/DrawFeature.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/DrawFeature.js
rename to static/openLayers/lib/OpenLayers/Control/DrawFeature.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/EditingToolbar.js b/static/openLayers/lib/OpenLayers/Control/EditingToolbar.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/EditingToolbar.js
rename to static/openLayers/lib/OpenLayers/Control/EditingToolbar.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Geolocate.js b/static/openLayers/lib/OpenLayers/Control/Geolocate.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Geolocate.js
rename to static/openLayers/lib/OpenLayers/Control/Geolocate.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/GetFeature.js b/static/openLayers/lib/OpenLayers/Control/GetFeature.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/GetFeature.js
rename to static/openLayers/lib/OpenLayers/Control/GetFeature.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Graticule.js b/static/openLayers/lib/OpenLayers/Control/Graticule.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Graticule.js
rename to static/openLayers/lib/OpenLayers/Control/Graticule.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/KeyboardDefaults.js b/static/openLayers/lib/OpenLayers/Control/KeyboardDefaults.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/KeyboardDefaults.js
rename to static/openLayers/lib/OpenLayers/Control/KeyboardDefaults.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/LayerSwitcher.js b/static/openLayers/lib/OpenLayers/Control/LayerSwitcher.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/LayerSwitcher.js
rename to static/openLayers/lib/OpenLayers/Control/LayerSwitcher.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Measure.js b/static/openLayers/lib/OpenLayers/Control/Measure.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Measure.js
rename to static/openLayers/lib/OpenLayers/Control/Measure.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/ModifyFeature.js b/static/openLayers/lib/OpenLayers/Control/ModifyFeature.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/ModifyFeature.js
rename to static/openLayers/lib/OpenLayers/Control/ModifyFeature.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/MousePosition.js b/static/openLayers/lib/OpenLayers/Control/MousePosition.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/MousePosition.js
rename to static/openLayers/lib/OpenLayers/Control/MousePosition.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/NavToolbar.js b/static/openLayers/lib/OpenLayers/Control/NavToolbar.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/NavToolbar.js
rename to static/openLayers/lib/OpenLayers/Control/NavToolbar.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Navigation.js b/static/openLayers/lib/OpenLayers/Control/Navigation.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Navigation.js
rename to static/openLayers/lib/OpenLayers/Control/Navigation.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/NavigationHistory.js b/static/openLayers/lib/OpenLayers/Control/NavigationHistory.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/NavigationHistory.js
rename to static/openLayers/lib/OpenLayers/Control/NavigationHistory.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/OverviewMap.js b/static/openLayers/lib/OpenLayers/Control/OverviewMap.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/OverviewMap.js
rename to static/openLayers/lib/OpenLayers/Control/OverviewMap.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Pan.js b/static/openLayers/lib/OpenLayers/Control/Pan.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Pan.js
rename to static/openLayers/lib/OpenLayers/Control/Pan.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/PanPanel.js b/static/openLayers/lib/OpenLayers/Control/PanPanel.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/PanPanel.js
rename to static/openLayers/lib/OpenLayers/Control/PanPanel.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/PanZoom.js b/static/openLayers/lib/OpenLayers/Control/PanZoom.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/PanZoom.js
rename to static/openLayers/lib/OpenLayers/Control/PanZoom.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/PanZoomBar.js b/static/openLayers/lib/OpenLayers/Control/PanZoomBar.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/PanZoomBar.js
rename to static/openLayers/lib/OpenLayers/Control/PanZoomBar.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Panel.js b/static/openLayers/lib/OpenLayers/Control/Panel.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Panel.js
rename to static/openLayers/lib/OpenLayers/Control/Panel.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Permalink.js b/static/openLayers/lib/OpenLayers/Control/Permalink.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Permalink.js
rename to static/openLayers/lib/OpenLayers/Control/Permalink.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/PinchZoom.js b/static/openLayers/lib/OpenLayers/Control/PinchZoom.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/PinchZoom.js
rename to static/openLayers/lib/OpenLayers/Control/PinchZoom.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/SLDSelect.js b/static/openLayers/lib/OpenLayers/Control/SLDSelect.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/SLDSelect.js
rename to static/openLayers/lib/OpenLayers/Control/SLDSelect.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Scale.js b/static/openLayers/lib/OpenLayers/Control/Scale.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Scale.js
rename to static/openLayers/lib/OpenLayers/Control/Scale.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/ScaleLine.js b/static/openLayers/lib/OpenLayers/Control/ScaleLine.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/ScaleLine.js
rename to static/openLayers/lib/OpenLayers/Control/ScaleLine.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/SelectFeature.js b/static/openLayers/lib/OpenLayers/Control/SelectFeature.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/SelectFeature.js
rename to static/openLayers/lib/OpenLayers/Control/SelectFeature.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Snapping.js b/static/openLayers/lib/OpenLayers/Control/Snapping.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Snapping.js
rename to static/openLayers/lib/OpenLayers/Control/Snapping.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Split.js b/static/openLayers/lib/OpenLayers/Control/Split.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Split.js
rename to static/openLayers/lib/OpenLayers/Control/Split.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/TouchNavigation.js b/static/openLayers/lib/OpenLayers/Control/TouchNavigation.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/TouchNavigation.js
rename to static/openLayers/lib/OpenLayers/Control/TouchNavigation.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/TransformFeature.js b/static/openLayers/lib/OpenLayers/Control/TransformFeature.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/TransformFeature.js
rename to static/openLayers/lib/OpenLayers/Control/TransformFeature.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/UTFGrid.js b/static/openLayers/lib/OpenLayers/Control/UTFGrid.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/UTFGrid.js
rename to static/openLayers/lib/OpenLayers/Control/UTFGrid.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/WMSGetFeatureInfo.js b/static/openLayers/lib/OpenLayers/Control/WMSGetFeatureInfo.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/WMSGetFeatureInfo.js
rename to static/openLayers/lib/OpenLayers/Control/WMSGetFeatureInfo.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/WMTSGetFeatureInfo.js b/static/openLayers/lib/OpenLayers/Control/WMTSGetFeatureInfo.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/WMTSGetFeatureInfo.js
rename to static/openLayers/lib/OpenLayers/Control/WMTSGetFeatureInfo.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/Zoom.js b/static/openLayers/lib/OpenLayers/Control/Zoom.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/Zoom.js
rename to static/openLayers/lib/OpenLayers/Control/Zoom.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/ZoomBox.js b/static/openLayers/lib/OpenLayers/Control/ZoomBox.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/ZoomBox.js
rename to static/openLayers/lib/OpenLayers/Control/ZoomBox.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/ZoomIn.js b/static/openLayers/lib/OpenLayers/Control/ZoomIn.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/ZoomIn.js
rename to static/openLayers/lib/OpenLayers/Control/ZoomIn.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/ZoomOut.js b/static/openLayers/lib/OpenLayers/Control/ZoomOut.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/ZoomOut.js
rename to static/openLayers/lib/OpenLayers/Control/ZoomOut.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/ZoomPanel.js b/static/openLayers/lib/OpenLayers/Control/ZoomPanel.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/ZoomPanel.js
rename to static/openLayers/lib/OpenLayers/Control/ZoomPanel.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Control/ZoomToMaxExtent.js b/static/openLayers/lib/OpenLayers/Control/ZoomToMaxExtent.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Control/ZoomToMaxExtent.js
rename to static/openLayers/lib/OpenLayers/Control/ZoomToMaxExtent.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Events.js b/static/openLayers/lib/OpenLayers/Events.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Events.js
rename to static/openLayers/lib/OpenLayers/Events.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Events/buttonclick.js b/static/openLayers/lib/OpenLayers/Events/buttonclick.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Events/buttonclick.js
rename to static/openLayers/lib/OpenLayers/Events/buttonclick.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Feature.js b/static/openLayers/lib/OpenLayers/Feature.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Feature.js
rename to static/openLayers/lib/OpenLayers/Feature.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Feature/Vector.js b/static/openLayers/lib/OpenLayers/Feature/Vector.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Feature/Vector.js
rename to static/openLayers/lib/OpenLayers/Feature/Vector.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Filter.js b/static/openLayers/lib/OpenLayers/Filter.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Filter.js
rename to static/openLayers/lib/OpenLayers/Filter.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Filter/Comparison.js b/static/openLayers/lib/OpenLayers/Filter/Comparison.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Filter/Comparison.js
rename to static/openLayers/lib/OpenLayers/Filter/Comparison.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Filter/FeatureId.js b/static/openLayers/lib/OpenLayers/Filter/FeatureId.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Filter/FeatureId.js
rename to static/openLayers/lib/OpenLayers/Filter/FeatureId.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Filter/Function.js b/static/openLayers/lib/OpenLayers/Filter/Function.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Filter/Function.js
rename to static/openLayers/lib/OpenLayers/Filter/Function.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Filter/Logical.js b/static/openLayers/lib/OpenLayers/Filter/Logical.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Filter/Logical.js
rename to static/openLayers/lib/OpenLayers/Filter/Logical.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Filter/Spatial.js b/static/openLayers/lib/OpenLayers/Filter/Spatial.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Filter/Spatial.js
rename to static/openLayers/lib/OpenLayers/Filter/Spatial.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format.js b/static/openLayers/lib/OpenLayers/Format.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format.js
rename to static/openLayers/lib/OpenLayers/Format.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/ArcXML.js b/static/openLayers/lib/OpenLayers/Format/ArcXML.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/ArcXML.js
rename to static/openLayers/lib/OpenLayers/Format/ArcXML.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/ArcXML/Features.js b/static/openLayers/lib/OpenLayers/Format/ArcXML/Features.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/ArcXML/Features.js
rename to static/openLayers/lib/OpenLayers/Format/ArcXML/Features.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/Atom.js b/static/openLayers/lib/OpenLayers/Format/Atom.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/Atom.js
rename to static/openLayers/lib/OpenLayers/Format/Atom.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/CQL.js b/static/openLayers/lib/OpenLayers/Format/CQL.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/CQL.js
rename to static/openLayers/lib/OpenLayers/Format/CQL.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/CSWGetDomain.js b/static/openLayers/lib/OpenLayers/Format/CSWGetDomain.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/CSWGetDomain.js
rename to static/openLayers/lib/OpenLayers/Format/CSWGetDomain.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js b/static/openLayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js
rename to static/openLayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/CSWGetRecords.js b/static/openLayers/lib/OpenLayers/Format/CSWGetRecords.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/CSWGetRecords.js
rename to static/openLayers/lib/OpenLayers/Format/CSWGetRecords.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js b/static/openLayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js
rename to static/openLayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/Context.js b/static/openLayers/lib/OpenLayers/Format/Context.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/Context.js
rename to static/openLayers/lib/OpenLayers/Format/Context.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/Filter.js b/static/openLayers/lib/OpenLayers/Format/Filter.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/Filter.js
rename to static/openLayers/lib/OpenLayers/Format/Filter.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/Filter/v1.js b/static/openLayers/lib/OpenLayers/Format/Filter/v1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/Filter/v1.js
rename to static/openLayers/lib/OpenLayers/Format/Filter/v1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/Filter/v1_0_0.js b/static/openLayers/lib/OpenLayers/Format/Filter/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/Filter/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Format/Filter/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/Filter/v1_1_0.js b/static/openLayers/lib/OpenLayers/Format/Filter/v1_1_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/Filter/v1_1_0.js
rename to static/openLayers/lib/OpenLayers/Format/Filter/v1_1_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/GML.js b/static/openLayers/lib/OpenLayers/Format/GML.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/GML.js
rename to static/openLayers/lib/OpenLayers/Format/GML.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/GML/Base.js b/static/openLayers/lib/OpenLayers/Format/GML/Base.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/GML/Base.js
rename to static/openLayers/lib/OpenLayers/Format/GML/Base.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/GML/v2.js b/static/openLayers/lib/OpenLayers/Format/GML/v2.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/GML/v2.js
rename to static/openLayers/lib/OpenLayers/Format/GML/v2.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/GML/v3.js b/static/openLayers/lib/OpenLayers/Format/GML/v3.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/GML/v3.js
rename to static/openLayers/lib/OpenLayers/Format/GML/v3.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/GPX.js b/static/openLayers/lib/OpenLayers/Format/GPX.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/GPX.js
rename to static/openLayers/lib/OpenLayers/Format/GPX.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/GeoJSON.js b/static/openLayers/lib/OpenLayers/Format/GeoJSON.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/GeoJSON.js
rename to static/openLayers/lib/OpenLayers/Format/GeoJSON.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/GeoRSS.js b/static/openLayers/lib/OpenLayers/Format/GeoRSS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/GeoRSS.js
rename to static/openLayers/lib/OpenLayers/Format/GeoRSS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/JSON.js b/static/openLayers/lib/OpenLayers/Format/JSON.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/JSON.js
rename to static/openLayers/lib/OpenLayers/Format/JSON.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/KML.js b/static/openLayers/lib/OpenLayers/Format/KML.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/KML.js
rename to static/openLayers/lib/OpenLayers/Format/KML.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/OGCExceptionReport.js b/static/openLayers/lib/OpenLayers/Format/OGCExceptionReport.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/OGCExceptionReport.js
rename to static/openLayers/lib/OpenLayers/Format/OGCExceptionReport.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/OSM.js b/static/openLayers/lib/OpenLayers/Format/OSM.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/OSM.js
rename to static/openLayers/lib/OpenLayers/Format/OSM.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/OWSCommon.js b/static/openLayers/lib/OpenLayers/Format/OWSCommon.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/OWSCommon.js
rename to static/openLayers/lib/OpenLayers/Format/OWSCommon.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/OWSCommon/v1.js b/static/openLayers/lib/OpenLayers/Format/OWSCommon/v1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/OWSCommon/v1.js
rename to static/openLayers/lib/OpenLayers/Format/OWSCommon/v1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/OWSCommon/v1_0_0.js b/static/openLayers/lib/OpenLayers/Format/OWSCommon/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/OWSCommon/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Format/OWSCommon/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/OWSCommon/v1_1_0.js b/static/openLayers/lib/OpenLayers/Format/OWSCommon/v1_1_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/OWSCommon/v1_1_0.js
rename to static/openLayers/lib/OpenLayers/Format/OWSCommon/v1_1_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/OWSContext.js b/static/openLayers/lib/OpenLayers/Format/OWSContext.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/OWSContext.js
rename to static/openLayers/lib/OpenLayers/Format/OWSContext.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/OWSContext/v0_3_1.js b/static/openLayers/lib/OpenLayers/Format/OWSContext/v0_3_1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/OWSContext/v0_3_1.js
rename to static/openLayers/lib/OpenLayers/Format/OWSContext/v0_3_1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/QueryStringFilter.js b/static/openLayers/lib/OpenLayers/Format/QueryStringFilter.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/QueryStringFilter.js
rename to static/openLayers/lib/OpenLayers/Format/QueryStringFilter.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/SLD.js b/static/openLayers/lib/OpenLayers/Format/SLD.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/SLD.js
rename to static/openLayers/lib/OpenLayers/Format/SLD.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/SLD/v1.js b/static/openLayers/lib/OpenLayers/Format/SLD/v1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/SLD/v1.js
rename to static/openLayers/lib/OpenLayers/Format/SLD/v1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/SLD/v1_0_0.js b/static/openLayers/lib/OpenLayers/Format/SLD/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/SLD/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Format/SLD/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/SLD/v1_0_0_GeoServer.js b/static/openLayers/lib/OpenLayers/Format/SLD/v1_0_0_GeoServer.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/SLD/v1_0_0_GeoServer.js
rename to static/openLayers/lib/OpenLayers/Format/SLD/v1_0_0_GeoServer.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/SOSCapabilities.js b/static/openLayers/lib/OpenLayers/Format/SOSCapabilities.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/SOSCapabilities.js
rename to static/openLayers/lib/OpenLayers/Format/SOSCapabilities.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js b/static/openLayers/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/SOSGetFeatureOfInterest.js b/static/openLayers/lib/OpenLayers/Format/SOSGetFeatureOfInterest.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/SOSGetFeatureOfInterest.js
rename to static/openLayers/lib/OpenLayers/Format/SOSGetFeatureOfInterest.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/SOSGetObservation.js b/static/openLayers/lib/OpenLayers/Format/SOSGetObservation.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/SOSGetObservation.js
rename to static/openLayers/lib/OpenLayers/Format/SOSGetObservation.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/Text.js b/static/openLayers/lib/OpenLayers/Format/Text.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/Text.js
rename to static/openLayers/lib/OpenLayers/Format/Text.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WCSGetCoverage.js b/static/openLayers/lib/OpenLayers/Format/WCSGetCoverage.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WCSGetCoverage.js
rename to static/openLayers/lib/OpenLayers/Format/WCSGetCoverage.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFS.js b/static/openLayers/lib/OpenLayers/Format/WFS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFS.js
rename to static/openLayers/lib/OpenLayers/Format/WFS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFSCapabilities.js b/static/openLayers/lib/OpenLayers/Format/WFSCapabilities.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFSCapabilities.js
rename to static/openLayers/lib/OpenLayers/Format/WFSCapabilities.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1.js b/static/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1.js
rename to static/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1_0_0.js b/static/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1_1_0.js b/static/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1_1_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1_1_0.js
rename to static/openLayers/lib/OpenLayers/Format/WFSCapabilities/v1_1_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFSDescribeFeatureType.js b/static/openLayers/lib/OpenLayers/Format/WFSDescribeFeatureType.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFSDescribeFeatureType.js
rename to static/openLayers/lib/OpenLayers/Format/WFSDescribeFeatureType.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFST.js b/static/openLayers/lib/OpenLayers/Format/WFST.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFST.js
rename to static/openLayers/lib/OpenLayers/Format/WFST.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFST/v1.js b/static/openLayers/lib/OpenLayers/Format/WFST/v1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFST/v1.js
rename to static/openLayers/lib/OpenLayers/Format/WFST/v1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFST/v1_0_0.js b/static/openLayers/lib/OpenLayers/Format/WFST/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFST/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Format/WFST/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WFST/v1_1_0.js b/static/openLayers/lib/OpenLayers/Format/WFST/v1_1_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WFST/v1_1_0.js
rename to static/openLayers/lib/OpenLayers/Format/WFST/v1_1_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WKT.js b/static/openLayers/lib/OpenLayers/Format/WKT.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WKT.js
rename to static/openLayers/lib/OpenLayers/Format/WKT.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMC.js b/static/openLayers/lib/OpenLayers/Format/WMC.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMC.js
rename to static/openLayers/lib/OpenLayers/Format/WMC.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMC/v1.js b/static/openLayers/lib/OpenLayers/Format/WMC/v1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMC/v1.js
rename to static/openLayers/lib/OpenLayers/Format/WMC/v1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMC/v1_0_0.js b/static/openLayers/lib/OpenLayers/Format/WMC/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMC/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Format/WMC/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMC/v1_1_0.js b/static/openLayers/lib/OpenLayers/Format/WMC/v1_1_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMC/v1_1_0.js
rename to static/openLayers/lib/OpenLayers/Format/WMC/v1_1_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities.js b/static/openLayers/lib/OpenLayers/Format/WMSCapabilities.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities.js
rename to static/openLayers/lib/OpenLayers/Format/WMSCapabilities.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1.js b/static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1.js
rename to static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1.js b/static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1.js
rename to static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_0.js b/static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_0.js
rename to static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1.js b/static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1.js
rename to static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1_WMSC.js b/static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1_WMSC.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1_WMSC.js
rename to static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1_WMSC.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3.js b/static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3.js
rename to static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3_0.js b/static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3_0.js
rename to static/openLayers/lib/OpenLayers/Format/WMSCapabilities/v1_3_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSDescribeLayer.js b/static/openLayers/lib/OpenLayers/Format/WMSDescribeLayer.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSDescribeLayer.js
rename to static/openLayers/lib/OpenLayers/Format/WMSDescribeLayer.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js b/static/openLayers/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js
rename to static/openLayers/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMSGetFeatureInfo.js b/static/openLayers/lib/OpenLayers/Format/WMSGetFeatureInfo.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMSGetFeatureInfo.js
rename to static/openLayers/lib/OpenLayers/Format/WMSGetFeatureInfo.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMTSCapabilities.js b/static/openLayers/lib/OpenLayers/Format/WMTSCapabilities.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMTSCapabilities.js
rename to static/openLayers/lib/OpenLayers/Format/WMTSCapabilities.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WMTSCapabilities/v1_0_0.js b/static/openLayers/lib/OpenLayers/Format/WMTSCapabilities/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WMTSCapabilities/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Format/WMTSCapabilities/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WPSCapabilities.js b/static/openLayers/lib/OpenLayers/Format/WPSCapabilities.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WPSCapabilities.js
rename to static/openLayers/lib/OpenLayers/Format/WPSCapabilities.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WPSCapabilities/v1_0_0.js b/static/openLayers/lib/OpenLayers/Format/WPSCapabilities/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WPSCapabilities/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Format/WPSCapabilities/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WPSDescribeProcess.js b/static/openLayers/lib/OpenLayers/Format/WPSDescribeProcess.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WPSDescribeProcess.js
rename to static/openLayers/lib/OpenLayers/Format/WPSDescribeProcess.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/WPSExecute.js b/static/openLayers/lib/OpenLayers/Format/WPSExecute.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/WPSExecute.js
rename to static/openLayers/lib/OpenLayers/Format/WPSExecute.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/XLS.js b/static/openLayers/lib/OpenLayers/Format/XLS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/XLS.js
rename to static/openLayers/lib/OpenLayers/Format/XLS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/XLS/v1.js b/static/openLayers/lib/OpenLayers/Format/XLS/v1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/XLS/v1.js
rename to static/openLayers/lib/OpenLayers/Format/XLS/v1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/XLS/v1_1_0.js b/static/openLayers/lib/OpenLayers/Format/XLS/v1_1_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/XLS/v1_1_0.js
rename to static/openLayers/lib/OpenLayers/Format/XLS/v1_1_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/XML.js b/static/openLayers/lib/OpenLayers/Format/XML.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/XML.js
rename to static/openLayers/lib/OpenLayers/Format/XML.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Format/XML/VersionedOGC.js b/static/openLayers/lib/OpenLayers/Format/XML/VersionedOGC.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Format/XML/VersionedOGC.js
rename to static/openLayers/lib/OpenLayers/Format/XML/VersionedOGC.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry.js b/static/openLayers/lib/OpenLayers/Geometry.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry.js
rename to static/openLayers/lib/OpenLayers/Geometry.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry/Collection.js b/static/openLayers/lib/OpenLayers/Geometry/Collection.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry/Collection.js
rename to static/openLayers/lib/OpenLayers/Geometry/Collection.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry/Curve.js b/static/openLayers/lib/OpenLayers/Geometry/Curve.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry/Curve.js
rename to static/openLayers/lib/OpenLayers/Geometry/Curve.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry/LineString.js b/static/openLayers/lib/OpenLayers/Geometry/LineString.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry/LineString.js
rename to static/openLayers/lib/OpenLayers/Geometry/LineString.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry/LinearRing.js b/static/openLayers/lib/OpenLayers/Geometry/LinearRing.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry/LinearRing.js
rename to static/openLayers/lib/OpenLayers/Geometry/LinearRing.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry/MultiLineString.js b/static/openLayers/lib/OpenLayers/Geometry/MultiLineString.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry/MultiLineString.js
rename to static/openLayers/lib/OpenLayers/Geometry/MultiLineString.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry/MultiPoint.js b/static/openLayers/lib/OpenLayers/Geometry/MultiPoint.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry/MultiPoint.js
rename to static/openLayers/lib/OpenLayers/Geometry/MultiPoint.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry/MultiPolygon.js b/static/openLayers/lib/OpenLayers/Geometry/MultiPolygon.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry/MultiPolygon.js
rename to static/openLayers/lib/OpenLayers/Geometry/MultiPolygon.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry/Point.js b/static/openLayers/lib/OpenLayers/Geometry/Point.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry/Point.js
rename to static/openLayers/lib/OpenLayers/Geometry/Point.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Geometry/Polygon.js b/static/openLayers/lib/OpenLayers/Geometry/Polygon.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Geometry/Polygon.js
rename to static/openLayers/lib/OpenLayers/Geometry/Polygon.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler.js b/static/openLayers/lib/OpenLayers/Handler.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler.js
rename to static/openLayers/lib/OpenLayers/Handler.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Box.js b/static/openLayers/lib/OpenLayers/Handler/Box.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Box.js
rename to static/openLayers/lib/OpenLayers/Handler/Box.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Click.js b/static/openLayers/lib/OpenLayers/Handler/Click.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Click.js
rename to static/openLayers/lib/OpenLayers/Handler/Click.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Drag.js b/static/openLayers/lib/OpenLayers/Handler/Drag.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Drag.js
rename to static/openLayers/lib/OpenLayers/Handler/Drag.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Feature.js b/static/openLayers/lib/OpenLayers/Handler/Feature.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Feature.js
rename to static/openLayers/lib/OpenLayers/Handler/Feature.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Hover.js b/static/openLayers/lib/OpenLayers/Handler/Hover.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Hover.js
rename to static/openLayers/lib/OpenLayers/Handler/Hover.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Keyboard.js b/static/openLayers/lib/OpenLayers/Handler/Keyboard.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Keyboard.js
rename to static/openLayers/lib/OpenLayers/Handler/Keyboard.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/MouseWheel.js b/static/openLayers/lib/OpenLayers/Handler/MouseWheel.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/MouseWheel.js
rename to static/openLayers/lib/OpenLayers/Handler/MouseWheel.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Path.js b/static/openLayers/lib/OpenLayers/Handler/Path.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Path.js
rename to static/openLayers/lib/OpenLayers/Handler/Path.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Pinch.js b/static/openLayers/lib/OpenLayers/Handler/Pinch.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Pinch.js
rename to static/openLayers/lib/OpenLayers/Handler/Pinch.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Point.js b/static/openLayers/lib/OpenLayers/Handler/Point.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Point.js
rename to static/openLayers/lib/OpenLayers/Handler/Point.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/Polygon.js b/static/openLayers/lib/OpenLayers/Handler/Polygon.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/Polygon.js
rename to static/openLayers/lib/OpenLayers/Handler/Polygon.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Handler/RegularPolygon.js b/static/openLayers/lib/OpenLayers/Handler/RegularPolygon.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Handler/RegularPolygon.js
rename to static/openLayers/lib/OpenLayers/Handler/RegularPolygon.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Icon.js b/static/openLayers/lib/OpenLayers/Icon.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Icon.js
rename to static/openLayers/lib/OpenLayers/Icon.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Kinetic.js b/static/openLayers/lib/OpenLayers/Kinetic.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Kinetic.js
rename to static/openLayers/lib/OpenLayers/Kinetic.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang.js b/static/openLayers/lib/OpenLayers/Lang.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang.js
rename to static/openLayers/lib/OpenLayers/Lang.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/ar.js b/static/openLayers/lib/OpenLayers/Lang/ar.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/ar.js
rename to static/openLayers/lib/OpenLayers/Lang/ar.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/be-tarask.js b/static/openLayers/lib/OpenLayers/Lang/be-tarask.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/be-tarask.js
rename to static/openLayers/lib/OpenLayers/Lang/be-tarask.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/bg.js b/static/openLayers/lib/OpenLayers/Lang/bg.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/bg.js
rename to static/openLayers/lib/OpenLayers/Lang/bg.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/br.js b/static/openLayers/lib/OpenLayers/Lang/br.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/br.js
rename to static/openLayers/lib/OpenLayers/Lang/br.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/ca.js b/static/openLayers/lib/OpenLayers/Lang/ca.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/ca.js
rename to static/openLayers/lib/OpenLayers/Lang/ca.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/cs-CZ.js b/static/openLayers/lib/OpenLayers/Lang/cs-CZ.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/cs-CZ.js
rename to static/openLayers/lib/OpenLayers/Lang/cs-CZ.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/da-DK.js b/static/openLayers/lib/OpenLayers/Lang/da-DK.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/da-DK.js
rename to static/openLayers/lib/OpenLayers/Lang/da-DK.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/de.js b/static/openLayers/lib/OpenLayers/Lang/de.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/de.js
rename to static/openLayers/lib/OpenLayers/Lang/de.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/el.js b/static/openLayers/lib/OpenLayers/Lang/el.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/el.js
rename to static/openLayers/lib/OpenLayers/Lang/el.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/en-CA.js b/static/openLayers/lib/OpenLayers/Lang/en-CA.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/en-CA.js
rename to static/openLayers/lib/OpenLayers/Lang/en-CA.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/en.js b/static/openLayers/lib/OpenLayers/Lang/en.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/en.js
rename to static/openLayers/lib/OpenLayers/Lang/en.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/es.js b/static/openLayers/lib/OpenLayers/Lang/es.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/es.js
rename to static/openLayers/lib/OpenLayers/Lang/es.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/fi.js b/static/openLayers/lib/OpenLayers/Lang/fi.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/fi.js
rename to static/openLayers/lib/OpenLayers/Lang/fi.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/fr.js b/static/openLayers/lib/OpenLayers/Lang/fr.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/fr.js
rename to static/openLayers/lib/OpenLayers/Lang/fr.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/fur.js b/static/openLayers/lib/OpenLayers/Lang/fur.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/fur.js
rename to static/openLayers/lib/OpenLayers/Lang/fur.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/gl.js b/static/openLayers/lib/OpenLayers/Lang/gl.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/gl.js
rename to static/openLayers/lib/OpenLayers/Lang/gl.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/gsw.js b/static/openLayers/lib/OpenLayers/Lang/gsw.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/gsw.js
rename to static/openLayers/lib/OpenLayers/Lang/gsw.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/hr.js b/static/openLayers/lib/OpenLayers/Lang/hr.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/hr.js
rename to static/openLayers/lib/OpenLayers/Lang/hr.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/hsb.js b/static/openLayers/lib/OpenLayers/Lang/hsb.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/hsb.js
rename to static/openLayers/lib/OpenLayers/Lang/hsb.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/hu.js b/static/openLayers/lib/OpenLayers/Lang/hu.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/hu.js
rename to static/openLayers/lib/OpenLayers/Lang/hu.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/ia.js b/static/openLayers/lib/OpenLayers/Lang/ia.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/ia.js
rename to static/openLayers/lib/OpenLayers/Lang/ia.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/id.js b/static/openLayers/lib/OpenLayers/Lang/id.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/id.js
rename to static/openLayers/lib/OpenLayers/Lang/id.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/io.js b/static/openLayers/lib/OpenLayers/Lang/io.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/io.js
rename to static/openLayers/lib/OpenLayers/Lang/io.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/is.js b/static/openLayers/lib/OpenLayers/Lang/is.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/is.js
rename to static/openLayers/lib/OpenLayers/Lang/is.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/it.js b/static/openLayers/lib/OpenLayers/Lang/it.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/it.js
rename to static/openLayers/lib/OpenLayers/Lang/it.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/ja.js b/static/openLayers/lib/OpenLayers/Lang/ja.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/ja.js
rename to static/openLayers/lib/OpenLayers/Lang/ja.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/km.js b/static/openLayers/lib/OpenLayers/Lang/km.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/km.js
rename to static/openLayers/lib/OpenLayers/Lang/km.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/ksh.js b/static/openLayers/lib/OpenLayers/Lang/ksh.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/ksh.js
rename to static/openLayers/lib/OpenLayers/Lang/ksh.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/lt.js b/static/openLayers/lib/OpenLayers/Lang/lt.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/lt.js
rename to static/openLayers/lib/OpenLayers/Lang/lt.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/nb.js b/static/openLayers/lib/OpenLayers/Lang/nb.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/nb.js
rename to static/openLayers/lib/OpenLayers/Lang/nb.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/nds.js b/static/openLayers/lib/OpenLayers/Lang/nds.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/nds.js
rename to static/openLayers/lib/OpenLayers/Lang/nds.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/nl.js b/static/openLayers/lib/OpenLayers/Lang/nl.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/nl.js
rename to static/openLayers/lib/OpenLayers/Lang/nl.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/nn.js b/static/openLayers/lib/OpenLayers/Lang/nn.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/nn.js
rename to static/openLayers/lib/OpenLayers/Lang/nn.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/oc.js b/static/openLayers/lib/OpenLayers/Lang/oc.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/oc.js
rename to static/openLayers/lib/OpenLayers/Lang/oc.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/pl.js b/static/openLayers/lib/OpenLayers/Lang/pl.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/pl.js
rename to static/openLayers/lib/OpenLayers/Lang/pl.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/pt-BR.js b/static/openLayers/lib/OpenLayers/Lang/pt-BR.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/pt-BR.js
rename to static/openLayers/lib/OpenLayers/Lang/pt-BR.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/pt.js b/static/openLayers/lib/OpenLayers/Lang/pt.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/pt.js
rename to static/openLayers/lib/OpenLayers/Lang/pt.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/ru.js b/static/openLayers/lib/OpenLayers/Lang/ru.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/ru.js
rename to static/openLayers/lib/OpenLayers/Lang/ru.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/sk.js b/static/openLayers/lib/OpenLayers/Lang/sk.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/sk.js
rename to static/openLayers/lib/OpenLayers/Lang/sk.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/sv-SE.js b/static/openLayers/lib/OpenLayers/Lang/sv-SE.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/sv-SE.js
rename to static/openLayers/lib/OpenLayers/Lang/sv-SE.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/te.js b/static/openLayers/lib/OpenLayers/Lang/te.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/te.js
rename to static/openLayers/lib/OpenLayers/Lang/te.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/vi.js b/static/openLayers/lib/OpenLayers/Lang/vi.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/vi.js
rename to static/openLayers/lib/OpenLayers/Lang/vi.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/zh-CN.js b/static/openLayers/lib/OpenLayers/Lang/zh-CN.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/zh-CN.js
rename to static/openLayers/lib/OpenLayers/Lang/zh-CN.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Lang/zh-TW.js b/static/openLayers/lib/OpenLayers/Lang/zh-TW.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Lang/zh-TW.js
rename to static/openLayers/lib/OpenLayers/Lang/zh-TW.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer.js b/static/openLayers/lib/OpenLayers/Layer.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer.js
rename to static/openLayers/lib/OpenLayers/Layer.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/ArcGIS93Rest.js b/static/openLayers/lib/OpenLayers/Layer/ArcGIS93Rest.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/ArcGIS93Rest.js
rename to static/openLayers/lib/OpenLayers/Layer/ArcGIS93Rest.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/ArcGISCache.js b/static/openLayers/lib/OpenLayers/Layer/ArcGISCache.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/ArcGISCache.js
rename to static/openLayers/lib/OpenLayers/Layer/ArcGISCache.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/ArcIMS.js b/static/openLayers/lib/OpenLayers/Layer/ArcIMS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/ArcIMS.js
rename to static/openLayers/lib/OpenLayers/Layer/ArcIMS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Bing.js b/static/openLayers/lib/OpenLayers/Layer/Bing.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Bing.js
rename to static/openLayers/lib/OpenLayers/Layer/Bing.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Boxes.js b/static/openLayers/lib/OpenLayers/Layer/Boxes.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Boxes.js
rename to static/openLayers/lib/OpenLayers/Layer/Boxes.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/EventPane.js b/static/openLayers/lib/OpenLayers/Layer/EventPane.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/EventPane.js
rename to static/openLayers/lib/OpenLayers/Layer/EventPane.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/FixedZoomLevels.js b/static/openLayers/lib/OpenLayers/Layer/FixedZoomLevels.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/FixedZoomLevels.js
rename to static/openLayers/lib/OpenLayers/Layer/FixedZoomLevels.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/GeoRSS.js b/static/openLayers/lib/OpenLayers/Layer/GeoRSS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/GeoRSS.js
rename to static/openLayers/lib/OpenLayers/Layer/GeoRSS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Google.js b/static/openLayers/lib/OpenLayers/Layer/Google.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Google.js
rename to static/openLayers/lib/OpenLayers/Layer/Google.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Google/v3.js b/static/openLayers/lib/OpenLayers/Layer/Google/v3.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Google/v3.js
rename to static/openLayers/lib/OpenLayers/Layer/Google/v3.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Grid.js b/static/openLayers/lib/OpenLayers/Layer/Grid.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Grid.js
rename to static/openLayers/lib/OpenLayers/Layer/Grid.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/HTTPRequest.js b/static/openLayers/lib/OpenLayers/Layer/HTTPRequest.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/HTTPRequest.js
rename to static/openLayers/lib/OpenLayers/Layer/HTTPRequest.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Image.js b/static/openLayers/lib/OpenLayers/Layer/Image.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Image.js
rename to static/openLayers/lib/OpenLayers/Layer/Image.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/KaMap.js b/static/openLayers/lib/OpenLayers/Layer/KaMap.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/KaMap.js
rename to static/openLayers/lib/OpenLayers/Layer/KaMap.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/KaMapCache.js b/static/openLayers/lib/OpenLayers/Layer/KaMapCache.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/KaMapCache.js
rename to static/openLayers/lib/OpenLayers/Layer/KaMapCache.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/MapGuide.js b/static/openLayers/lib/OpenLayers/Layer/MapGuide.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/MapGuide.js
rename to static/openLayers/lib/OpenLayers/Layer/MapGuide.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/MapServer.js b/static/openLayers/lib/OpenLayers/Layer/MapServer.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/MapServer.js
rename to static/openLayers/lib/OpenLayers/Layer/MapServer.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Markers.js b/static/openLayers/lib/OpenLayers/Layer/Markers.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Markers.js
rename to static/openLayers/lib/OpenLayers/Layer/Markers.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/OSM.js b/static/openLayers/lib/OpenLayers/Layer/OSM.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/OSM.js
rename to static/openLayers/lib/OpenLayers/Layer/OSM.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/PointGrid.js b/static/openLayers/lib/OpenLayers/Layer/PointGrid.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/PointGrid.js
rename to static/openLayers/lib/OpenLayers/Layer/PointGrid.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/PointTrack.js b/static/openLayers/lib/OpenLayers/Layer/PointTrack.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/PointTrack.js
rename to static/openLayers/lib/OpenLayers/Layer/PointTrack.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/SphericalMercator.js b/static/openLayers/lib/OpenLayers/Layer/SphericalMercator.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/SphericalMercator.js
rename to static/openLayers/lib/OpenLayers/Layer/SphericalMercator.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/TMS.js b/static/openLayers/lib/OpenLayers/Layer/TMS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/TMS.js
rename to static/openLayers/lib/OpenLayers/Layer/TMS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Text.js b/static/openLayers/lib/OpenLayers/Layer/Text.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Text.js
rename to static/openLayers/lib/OpenLayers/Layer/Text.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/TileCache.js b/static/openLayers/lib/OpenLayers/Layer/TileCache.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/TileCache.js
rename to static/openLayers/lib/OpenLayers/Layer/TileCache.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/UTFGrid.js b/static/openLayers/lib/OpenLayers/Layer/UTFGrid.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/UTFGrid.js
rename to static/openLayers/lib/OpenLayers/Layer/UTFGrid.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Vector.js b/static/openLayers/lib/OpenLayers/Layer/Vector.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Vector.js
rename to static/openLayers/lib/OpenLayers/Layer/Vector.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Vector/RootContainer.js b/static/openLayers/lib/OpenLayers/Layer/Vector/RootContainer.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Vector/RootContainer.js
rename to static/openLayers/lib/OpenLayers/Layer/Vector/RootContainer.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/WMS.js b/static/openLayers/lib/OpenLayers/Layer/WMS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/WMS.js
rename to static/openLayers/lib/OpenLayers/Layer/WMS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/WMTS.js b/static/openLayers/lib/OpenLayers/Layer/WMTS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/WMTS.js
rename to static/openLayers/lib/OpenLayers/Layer/WMTS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/WorldWind.js b/static/openLayers/lib/OpenLayers/Layer/WorldWind.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/WorldWind.js
rename to static/openLayers/lib/OpenLayers/Layer/WorldWind.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/XYZ.js b/static/openLayers/lib/OpenLayers/Layer/XYZ.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/XYZ.js
rename to static/openLayers/lib/OpenLayers/Layer/XYZ.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Layer/Zoomify.js b/static/openLayers/lib/OpenLayers/Layer/Zoomify.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Layer/Zoomify.js
rename to static/openLayers/lib/OpenLayers/Layer/Zoomify.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Map.js b/static/openLayers/lib/OpenLayers/Map.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Map.js
rename to static/openLayers/lib/OpenLayers/Map.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Marker.js b/static/openLayers/lib/OpenLayers/Marker.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Marker.js
rename to static/openLayers/lib/OpenLayers/Marker.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Marker/Box.js b/static/openLayers/lib/OpenLayers/Marker/Box.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Marker/Box.js
rename to static/openLayers/lib/OpenLayers/Marker/Box.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Popup.js b/static/openLayers/lib/OpenLayers/Popup.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Popup.js
rename to static/openLayers/lib/OpenLayers/Popup.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Popup/Anchored.js b/static/openLayers/lib/OpenLayers/Popup/Anchored.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Popup/Anchored.js
rename to static/openLayers/lib/OpenLayers/Popup/Anchored.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Popup/AnchoredBubble.js b/static/openLayers/lib/OpenLayers/Popup/AnchoredBubble.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Popup/AnchoredBubble.js
rename to static/openLayers/lib/OpenLayers/Popup/AnchoredBubble.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Popup/Framed.js b/static/openLayers/lib/OpenLayers/Popup/Framed.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Popup/Framed.js
rename to static/openLayers/lib/OpenLayers/Popup/Framed.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Popup/FramedCloud.js b/static/openLayers/lib/OpenLayers/Popup/FramedCloud.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Popup/FramedCloud.js
rename to static/openLayers/lib/OpenLayers/Popup/FramedCloud.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Projection.js b/static/openLayers/lib/OpenLayers/Projection.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Projection.js
rename to static/openLayers/lib/OpenLayers/Projection.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol.js b/static/openLayers/lib/OpenLayers/Protocol.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol.js
rename to static/openLayers/lib/OpenLayers/Protocol.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/CSW.js b/static/openLayers/lib/OpenLayers/Protocol/CSW.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/CSW.js
rename to static/openLayers/lib/OpenLayers/Protocol/CSW.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/CSW/v2_0_2.js b/static/openLayers/lib/OpenLayers/Protocol/CSW/v2_0_2.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/CSW/v2_0_2.js
rename to static/openLayers/lib/OpenLayers/Protocol/CSW/v2_0_2.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/HTTP.js b/static/openLayers/lib/OpenLayers/Protocol/HTTP.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/HTTP.js
rename to static/openLayers/lib/OpenLayers/Protocol/HTTP.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/SOS.js b/static/openLayers/lib/OpenLayers/Protocol/SOS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/SOS.js
rename to static/openLayers/lib/OpenLayers/Protocol/SOS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/SOS/v1_0_0.js b/static/openLayers/lib/OpenLayers/Protocol/SOS/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/SOS/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Protocol/SOS/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/Script.js b/static/openLayers/lib/OpenLayers/Protocol/Script.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/Script.js
rename to static/openLayers/lib/OpenLayers/Protocol/Script.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/WFS.js b/static/openLayers/lib/OpenLayers/Protocol/WFS.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/WFS.js
rename to static/openLayers/lib/OpenLayers/Protocol/WFS.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/WFS/v1.js b/static/openLayers/lib/OpenLayers/Protocol/WFS/v1.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/WFS/v1.js
rename to static/openLayers/lib/OpenLayers/Protocol/WFS/v1.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/WFS/v1_0_0.js b/static/openLayers/lib/OpenLayers/Protocol/WFS/v1_0_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/WFS/v1_0_0.js
rename to static/openLayers/lib/OpenLayers/Protocol/WFS/v1_0_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Protocol/WFS/v1_1_0.js b/static/openLayers/lib/OpenLayers/Protocol/WFS/v1_1_0.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Protocol/WFS/v1_1_0.js
rename to static/openLayers/lib/OpenLayers/Protocol/WFS/v1_1_0.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Renderer.js b/static/openLayers/lib/OpenLayers/Renderer.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Renderer.js
rename to static/openLayers/lib/OpenLayers/Renderer.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Renderer/Canvas.js b/static/openLayers/lib/OpenLayers/Renderer/Canvas.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Renderer/Canvas.js
rename to static/openLayers/lib/OpenLayers/Renderer/Canvas.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Renderer/Elements.js b/static/openLayers/lib/OpenLayers/Renderer/Elements.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Renderer/Elements.js
rename to static/openLayers/lib/OpenLayers/Renderer/Elements.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Renderer/SVG.js b/static/openLayers/lib/OpenLayers/Renderer/SVG.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Renderer/SVG.js
rename to static/openLayers/lib/OpenLayers/Renderer/SVG.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Renderer/VML.js b/static/openLayers/lib/OpenLayers/Renderer/VML.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Renderer/VML.js
rename to static/openLayers/lib/OpenLayers/Renderer/VML.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Request.js b/static/openLayers/lib/OpenLayers/Request.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Request.js
rename to static/openLayers/lib/OpenLayers/Request.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Request/XMLHttpRequest.js b/static/openLayers/lib/OpenLayers/Request/XMLHttpRequest.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Request/XMLHttpRequest.js
rename to static/openLayers/lib/OpenLayers/Request/XMLHttpRequest.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Rule.js b/static/openLayers/lib/OpenLayers/Rule.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Rule.js
rename to static/openLayers/lib/OpenLayers/Rule.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/SingleFile.js b/static/openLayers/lib/OpenLayers/SingleFile.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/SingleFile.js
rename to static/openLayers/lib/OpenLayers/SingleFile.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Spherical.js b/static/openLayers/lib/OpenLayers/Spherical.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Spherical.js
rename to static/openLayers/lib/OpenLayers/Spherical.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Strategy.js b/static/openLayers/lib/OpenLayers/Strategy.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Strategy.js
rename to static/openLayers/lib/OpenLayers/Strategy.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Strategy/BBOX.js b/static/openLayers/lib/OpenLayers/Strategy/BBOX.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Strategy/BBOX.js
rename to static/openLayers/lib/OpenLayers/Strategy/BBOX.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Strategy/Cluster.js b/static/openLayers/lib/OpenLayers/Strategy/Cluster.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Strategy/Cluster.js
rename to static/openLayers/lib/OpenLayers/Strategy/Cluster.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Strategy/Filter.js b/static/openLayers/lib/OpenLayers/Strategy/Filter.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Strategy/Filter.js
rename to static/openLayers/lib/OpenLayers/Strategy/Filter.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Strategy/Fixed.js b/static/openLayers/lib/OpenLayers/Strategy/Fixed.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Strategy/Fixed.js
rename to static/openLayers/lib/OpenLayers/Strategy/Fixed.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Strategy/Paging.js b/static/openLayers/lib/OpenLayers/Strategy/Paging.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Strategy/Paging.js
rename to static/openLayers/lib/OpenLayers/Strategy/Paging.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Strategy/Refresh.js b/static/openLayers/lib/OpenLayers/Strategy/Refresh.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Strategy/Refresh.js
rename to static/openLayers/lib/OpenLayers/Strategy/Refresh.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Strategy/Save.js b/static/openLayers/lib/OpenLayers/Strategy/Save.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Strategy/Save.js
rename to static/openLayers/lib/OpenLayers/Strategy/Save.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Style.js b/static/openLayers/lib/OpenLayers/Style.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Style.js
rename to static/openLayers/lib/OpenLayers/Style.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Style2.js b/static/openLayers/lib/OpenLayers/Style2.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Style2.js
rename to static/openLayers/lib/OpenLayers/Style2.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/StyleMap.js b/static/openLayers/lib/OpenLayers/StyleMap.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/StyleMap.js
rename to static/openLayers/lib/OpenLayers/StyleMap.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Symbolizer.js b/static/openLayers/lib/OpenLayers/Symbolizer.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Symbolizer.js
rename to static/openLayers/lib/OpenLayers/Symbolizer.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Line.js b/static/openLayers/lib/OpenLayers/Symbolizer/Line.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Line.js
rename to static/openLayers/lib/OpenLayers/Symbolizer/Line.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Point.js b/static/openLayers/lib/OpenLayers/Symbolizer/Point.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Point.js
rename to static/openLayers/lib/OpenLayers/Symbolizer/Point.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Polygon.js b/static/openLayers/lib/OpenLayers/Symbolizer/Polygon.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Polygon.js
rename to static/openLayers/lib/OpenLayers/Symbolizer/Polygon.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Raster.js b/static/openLayers/lib/OpenLayers/Symbolizer/Raster.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Raster.js
rename to static/openLayers/lib/OpenLayers/Symbolizer/Raster.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Text.js b/static/openLayers/lib/OpenLayers/Symbolizer/Text.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Symbolizer/Text.js
rename to static/openLayers/lib/OpenLayers/Symbolizer/Text.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Tile.js b/static/openLayers/lib/OpenLayers/Tile.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Tile.js
rename to static/openLayers/lib/OpenLayers/Tile.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Tile/Image.js b/static/openLayers/lib/OpenLayers/Tile/Image.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Tile/Image.js
rename to static/openLayers/lib/OpenLayers/Tile/Image.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Tile/Image/IFrame.js b/static/openLayers/lib/OpenLayers/Tile/Image/IFrame.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Tile/Image/IFrame.js
rename to static/openLayers/lib/OpenLayers/Tile/Image/IFrame.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Tile/UTFGrid.js b/static/openLayers/lib/OpenLayers/Tile/UTFGrid.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Tile/UTFGrid.js
rename to static/openLayers/lib/OpenLayers/Tile/UTFGrid.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Tween.js b/static/openLayers/lib/OpenLayers/Tween.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Tween.js
rename to static/openLayers/lib/OpenLayers/Tween.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Util.js b/static/openLayers/lib/OpenLayers/Util.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Util.js
rename to static/openLayers/lib/OpenLayers/Util.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/Util/vendorPrefix.js b/static/openLayers/lib/OpenLayers/Util/vendorPrefix.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/Util/vendorPrefix.js
rename to static/openLayers/lib/OpenLayers/Util/vendorPrefix.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/WPSClient.js b/static/openLayers/lib/OpenLayers/WPSClient.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/WPSClient.js
rename to static/openLayers/lib/OpenLayers/WPSClient.js
diff --git a/static/street_pos/openLayers/lib/OpenLayers/WPSProcess.js b/static/openLayers/lib/OpenLayers/WPSProcess.js
similarity index 100%
rename from static/street_pos/openLayers/lib/OpenLayers/WPSProcess.js
rename to static/openLayers/lib/OpenLayers/WPSProcess.js
diff --git a/static/street_pos/openLayers/lib/Rico/Color.js b/static/openLayers/lib/Rico/Color.js
similarity index 100%
rename from static/street_pos/openLayers/lib/Rico/Color.js
rename to static/openLayers/lib/Rico/Color.js
diff --git a/static/street_pos/openLayers/lib/Rico/Corner.js b/static/openLayers/lib/Rico/Corner.js
similarity index 100%
rename from static/street_pos/openLayers/lib/Rico/Corner.js
rename to static/openLayers/lib/Rico/Corner.js
diff --git a/static/street_pos/openLayers/lib/Rico/license.js b/static/openLayers/lib/Rico/license.js
similarity index 100%
rename from static/street_pos/openLayers/lib/Rico/license.js
rename to static/openLayers/lib/Rico/license.js
diff --git a/static/street_pos/openLayers/lib/deprecated.js b/static/openLayers/lib/deprecated.js
similarity index 100%
rename from static/street_pos/openLayers/lib/deprecated.js
rename to static/openLayers/lib/deprecated.js
diff --git a/static/openLayers/map/map-core.js b/static/openLayers/map/map-core.js
new file mode 100644
index 0000000..8458c00
--- /dev/null
+++ b/static/openLayers/map/map-core.js
@@ -0,0 +1,192 @@
+const propertiesTranslate = {
+ name: "Имя",
+ sn: "Серийный номер",
+ lat: "Широта",
+ lon: "Долгота",
+ alt: "Высота",
+ time: "Время координаты",
+ date_time: "Время координаты",
+ statenum: "Госномер",
+ garagenum: "Гаражный номер",
+ model: "Тип",
+ depth: "Глубина",
+ magnitude: "Магнитуда",
+ region: "Регион",
+ source: "Источник",
+ uid: "Идентификатор",
+}
+let popover;
+
+function disposePopover() {
+ if (popover) {
+ popover.dispose();
+ popover = undefined;
+ }
+}
+
+class MapCore {
+ constructor(mapId, options = {}) {
+ this.mapId = mapId;
+ this.options = options;
+ this.map = null;
+ this.layers = {
+ base: [],
+ static: [],
+ dynamic: []
+ };
+ this.controls = [];
+ this.markers = {};
+ this.popup = null;
+ }
+
+ async initialize() {
+ // Инициализация карты
+ this.map = new ol.Map({
+ target: this.mapId,
+ controls: this.controls,
+ layers: [],
+ view: new ol.View({
+ center: ol.proj.fromLonLat(this.options.center || [0, 0]),
+ zoom: this.options.zoom || 12
+ })
+ });
+
+ // Инициализация базовых слоев
+ await this._initBaseLayers();
+
+ this._initPopup();
+ window.Map_ = this.map
+ return this;
+ }
+
+ async _initBaseLayers() {
+ // Добавление OSM слоя
+ const osmLayer = new ol.layer.Tile({
+ baseLayer: true,
+ source: new ol.source.OSM(),
+ title: 'OpenStreet Map'
+ });
+
+ this.layers.base.push(osmLayer);
+
+ // Группировка слоев
+ const layerGroups = [
+ new ol.layer.Group({
+ title: 'Базовые слои',
+ type: 'base',
+ layers: this.layers.base,
+ openInLayerSwitcher: true,
+
+ }),
+ new ol.layer.Group({
+ title: 'Статические слои',
+ type: 'static',
+ layers: this.layers.static,
+ openInLayerSwitcher: true,
+
+ }),
+ new ol.layer.Group({
+ title: 'Динамические слои',
+ type: 'dynamic',
+ layers: this.layers.dynamic,
+ openInLayerSwitcher: true,
+
+ })
+ ];
+
+ this.map.getLayers().extend(layerGroups);
+ }
+
+ _initPopup() {
+ const element = document.getElementById('popup')
+ const popup = new ol.Overlay({
+ element: element,
+ positioning: 'bottom-center',
+ });
+
+ this.map.addOverlay(popup);
+
+
+ this.map.on('click', function (evt) {
+ // Получение feature по клику
+ const feature = window.Map_.forEachFeatureAtPixel(evt.pixel, function (feature) {
+ return feature;
+ });
+
+ // Удаление существующего popover
+ disposePopover();
+
+
+ if (!feature) {
+ return; // Если feature не найден, ничего не делаем
+ }
+ // Получение координат клика
+ const coordinates = evt.coordinate;
+
+ // Получение контейнера элемента popup
+ const element = document.getElementById('popup'); // Убедитесь, что этот элемент существует в DOM
+
+ // Установка позиции popup на карте
+ popup.setPosition(coordinates);
+
+ function createPopover(feature) {
+ const res = document.createElement('div')
+ const properties = feature.getProperties()
+ const invisibleProperties = ['id', 'geometry', 'icon', 'condition', 'style', 'layer', 'pk']
+ for (let property in properties) {
+ if (invisibleProperties.includes(property)) continue
+ let div = document.createElement('div')
+ let span = document.createElement('span')
+ let strong = document.createElement('strong')
+
+ strong.textContent = propertiesTranslate[property] + ": "
+ div.appendChild(strong)
+
+ span.textContent = feature.get(property)
+ div.appendChild(span)
+
+ res.appendChild(div)
+ }
+ return res
+ }
+
+ // Создание нового popover
+ popover = new bootstrap.Popover(element, {
+ placement: 'top', // Расположение popover
+ html: true, // Поддержка HTML-содержимого
+ content: createPopover(feature),
+ });
+
+ // Отображение popover
+ popover.show();
+ });
+ this.map.on('movestart', disposePopover);
+ this.map.on("pointermove", function (evt) {
+ var hit = this.forEachFeatureAtPixel(evt.pixel, function (feature, layer) {
+ return true;
+ });
+ if (hit) {
+ this.getTargetElement().style.cursor = 'pointer';
+ } else {
+ this.getTargetElement().style.cursor = '';
+ }
+ });
+ }
+
+ addControl(control) {
+ this.controls.push(control);
+ if (this.map) {
+ this.map.addControl(control);
+ }
+ }
+
+ addLayer(layer, type = 'static') {
+ this.layers[type].push(layer);
+ if (this.map) {
+ const group = this.map.getLayers().getArray().find(g => g.get('type') === type);
+ if (group) {
+ group.getLayers().push(layer);
+ }
+ }
+ }
+}
diff --git a/static/openLayers/map/map-created-layer-manager.js b/static/openLayers/map/map-created-layer-manager.js
new file mode 100644
index 0000000..dc37c2f
--- /dev/null
+++ b/static/openLayers/map/map-created-layer-manager.js
@@ -0,0 +1,114 @@
+ class CreatedLayersManager {
+ constructor(options) {
+ this.url = options.url
+ this.mapCore = options.mapCore
+
+ this.fetchLayers()
+ }
+
+ fetchLayers() {
+ fetch(this.url).then(response => {
+ return response.json()
+ }).then(data => {
+ data["static_layers"].forEach(layer => {
+ const newLayer = this.createLayer(layer);
+ this.mapCore.addLayer(newLayer)
+ })
+ data["dynamic_layers"].forEach(layer => {
+ const newLayer = this.createLayer(layer);
+ this.mapCore.addLayer(newLayer)
+ })
+ })
+
+
+ }
+
+ createLayer(layer) {
+ let newLayer;
+ const createStyleFromFeature = function (feature, resolution) {
+ // Получаем стили из feature
+ const styleProperties = feature.get("style");
+
+ // Если стили заданы, создаем стиль на их основе
+ if (styleProperties) {
+ const stroke = styleProperties["stroke-color"] || styleProperties["stroke-width"]
+ ? new ol.style.Stroke({
+ color: styleProperties["stroke-color"] || "blue",
+ width: styleProperties["stroke-width"] || 2,
+ lineDash: styleProperties['stroke-line-dash']
+ })
+ : null;
+
+ const fill = styleProperties["fill-color"] ? new ol.style.Fill({
+ color: styleProperties["fill-color"]
+ }) : null;
+
+ const zoom = window.Map_.getView().getZoom();
+ const text = zoom > 12
+ ? new ol.style.Text({
+ text: styleProperties["text-value"],
+ font: styleProperties["text-font"] || "14px Calibri,sans-serif",
+ fill: new ol.style.Fill({
+ color: styleProperties["text-color"] || styleProperties["stroke-color"] || "white"
+ }),
+ scale: 1,
+ offsetX: styleProperties["text-offset-x"] || 0,
+ offsetY: styleProperties["text-offset-y"] || 0,
+ textAlign: styleProperties["text-align"] || "center",
+ textBaseline: styleProperties["text-baseline"] || "middle",
+ rotation: styleProperties['text-rotation'] || 0
+ })
+ : null;
+
+ return new ol.style.Style({
+ stroke: stroke,
+ fill: fill,
+ text: text
+ });
+ }
+ // Дефолтный стиль
+ return new ol.style.Style({
+ fill: new ol.style.Fill({
+ color: 'rgba(255, 0, 0, 0.5)'
+ }),
+ stroke: new ol.style.Stroke({
+ color: 'blue',
+ width: 2
+ }),
+ text: new ol.style.Text({
+ // text: 'Hello, OpenLayers!',
+ font: '14px Calibri,sans-serif',
+ fill: new ol.style.Fill({
+ color: 'white'
+ }),
+ offsetX: 0,
+ offsetY: -20,
+ textAlign: 'center',
+ textBaseline: 'middle'
+ })
+ });
+ };
+ if (layer.layer_type === 'Tile') {
+ newLayer = new ol.layer.Tile({
+ source: new ol.source.XYZ({
+ url: layer.url,
+ }),
+ visible: layer.is_visible,
+ });
+ } else if (layer.layer_type === 'Vector') {
+ newLayer = new ol.layer.Vector({
+ source: new ol.source.Vector({
+ url: layer.url,
+ format: new ol.format.GeoJSON(),
+ }),
+ visible: layer.is_visible,
+ style: createStyleFromFeature
+ });
+ }
+ newLayer.set('title', layer.name)
+ newLayer.set('name', layer.name)
+
+ return newLayer
+ }
+
+ }
diff --git a/static/openLayers/map/map-layer-switcher.js b/static/openLayers/map/map-layer-switcher.js
new file mode 100644
index 0000000..f246e45
--- /dev/null
+++ b/static/openLayers/map/map-layer-switcher.js
@@ -0,0 +1,109 @@
+class LayerSwitcher {
+ constructor(mapCore, target) {
+ this.mapCore = mapCore;
+ this.target = target;
+
+ this.initLayerSwitcher()
+ }
+
+ initLayerSwitcher() {
+ this.layerSwitcherControl = new ol.control.LayerShop({
+ minibar: true,
+ target: this.target
+ })
+
+
+ this.mapCore.map.getLayers().on('change:length', () => {
+ this.saveLayerVisibility();
+ });
+
+ this.mapCore.map.getLayers().getArray().forEach(layer => {
+ layer.on('change:visible', () => {
+ this.saveLayerVisibility();
+ });
+ });
+
+ this.addVisibilityListeners(this.mapCore.map.getLayers().getArray());
+ this.restoreLayerVisibility();
+ // Монтирование компонента
+ this.mapCore.addControl(this.layerSwitcherControl)
+ this.addBlockVisibleListener()
+ }
+
+ saveLayerVisibility() {
+ const layers = this.mapCore.map.getLayers().getArray();
+ const visibilityState = {};
+
+ function traverseLayers(layers, path) {
+ layers.forEach((layer, index) => {
+ if (layer instanceof ol.layer.Group) {
+ visibilityState[`${path}.group${index}`] = layer.getVisible();
+ traverseLayers(layer.getLayers().getArray(), `${path}.group${index}`);
+ } else {
+ visibilityState[`${path}.layer${index}`] = layer.getVisible();
+ }
+ });
+ }
+
+ traverseLayers(layers, 'root');
+ localStorage.setItem('layerVisibility', JSON.stringify(visibilityState));
+ }
+
+ restoreLayerVisibility() {
+ const visibilityState = JSON.parse(localStorage.getItem('layerVisibility'));
+ if (!visibilityState) return;
+
+ const layers = this.mapCore.map.getLayers().getArray();
+
+ // Рекурсивная функция для восстановления видимости
+ function traverseLayers(layers, path) {
+ layers.forEach((layer, index) => {
+ const layerKey = `${path}.layer${index}`;
+ const groupKey = `${path}.group${index}`;
+
+ if (layer instanceof ol.layer.Group) {
+ if (visibilityState[groupKey] !== undefined) {
+ layer.setVisible(visibilityState[groupKey]);
+ }
+ traverseLayers(layer.getLayers().getArray(), groupKey);
+ } else {
+ // Если это обычный слой, восстанавливаем его видимость
+ if (visibilityState[layerKey] !== undefined) {
+ layer.setVisible(visibilityState[layerKey]);
+ }
+ }
+ });
+ }
+
+ traverseLayers(layers, 'root');
+ }
+
+ addVisibilityListeners(layers) {
+ layers.forEach(layer => {
+ layer.on('change:visible', () => {
+ this.saveLayerVisibility();
+ });
+
+ if (layer instanceof ol.layer.Group) {
+ // Рекурсивно добавляем обработчики для слоев внутри группы
+ this.addVisibilityListeners(layer.getLayers().getArray());
+ }
+ });
+ }
+
+ addBlockVisibleListener() {
+ const layersBtn = document.getElementById('layers-btn')
+ layersBtn.addEventListener("click", (event) => {
+ if (this.target.style.display === "block") {
+ this.target.style.display = "none";
+ } else {
+ this.target.style.display = "block";
+ }
+ layersBtn.classList.toggle("selected");
+ });
+ }
+
+ addButton(control, placement) {
+ this.layerSwitcherControl.addControl(control, placement)
+ }
+}
diff --git a/static/openLayers/map/map-marker-manager.js b/static/openLayers/map/map-marker-manager.js
new file mode 100644
index 0000000..20343a3
--- /dev/null
+++ b/static/openLayers/map/map-marker-manager.js
@@ -0,0 +1,70 @@
+ class MarkerManager {
+ constructor(layer, styleFunction) {
+ this.layer = layer;
+ this.source = layer.getSource();
+ this.markers = {};
+ this.styleFunction = styleFunction;
+ }
+
+ addMarker(id, coordinates, properties = {}) {
+ const point = new ol.geom.Point(ol.proj.fromLonLat(coordinates));
+ const feature = new ol.Feature(point);
+
+ for (const prop in properties) {
+ feature.set(prop, properties[prop]);
+ }
+
+ if (this.styleFunction) {
+ feature.setStyle(this.styleFunction(feature));
+ }
+
+ this.source.addFeature(feature);
+ this.markers[id] = feature;
+ return feature;
+ }
+
+ updateMarker(id, coordinates, properties = {}) {
+ const marker = this.markers[id];
+ if (!marker) return this.addMarker(id, coordinates, properties);
+
+ const newCoords = ol.proj.fromLonLat(coordinates);
+ marker.getGeometry().setCoordinates(newCoords);
+
+ for (const prop in properties) {
+ marker.set(prop, properties[prop]);
+ }
+
+ return marker;
+ }
+
+ animateMarker(id, newCoordinates, duration = 2000) {
+ const marker = this.markers[id];
+ if (!marker) return;
+
+ const startCoordinates = marker.getGeometry().getCoordinates();
+ const endCoordinates = ol.proj.fromLonLat(newCoordinates);
+ const startTime = performance.now();
+
+ const animate = (currentTime) => {
+ const elapsed = currentTime - startTime;
+ const fraction = Math.min(elapsed / duration, 1);
+
+ const interpolated = [
+ startCoordinates[0] + fraction * (endCoordinates[0] - startCoordinates[0]),
+ startCoordinates[1] + fraction * (endCoordinates[1] - startCoordinates[1])
+ ];
+
+ marker.getGeometry().setCoordinates(interpolated);
+
+ if (fraction < 1) {
+ requestAnimationFrame(animate);
+ }
+ };
+
+ requestAnimationFrame(animate);
+ }
+
+ clearMarkers() {
+ this.source.clear()
+ }
+ }
diff --git a/static/street_pos/openLayers/ol-ext/ol-ext.min.css b/static/openLayers/ol-ext/ol-ext.min.css
similarity index 100%
rename from static/street_pos/openLayers/ol-ext/ol-ext.min.css
rename to static/openLayers/ol-ext/ol-ext.min.css
diff --git a/static/street_pos/openLayers/ol-ext/ol-ext.min.js b/static/openLayers/ol-ext/ol-ext.min.js
similarity index 100%
rename from static/street_pos/openLayers/ol-ext/ol-ext.min.js
rename to static/openLayers/ol-ext/ol-ext.min.js
diff --git a/static/street_pos/openLayers/ol-ext/ol-layer-theme.css b/static/openLayers/ol-ext/ol-layer-theme.css
similarity index 100%
rename from static/street_pos/openLayers/ol-ext/ol-layer-theme.css
rename to static/openLayers/ol-ext/ol-layer-theme.css
diff --git a/static/street_pos/openLayers/proj4js.js b/static/openLayers/proj4js.js
similarity index 100%
rename from static/street_pos/openLayers/proj4js.js
rename to static/openLayers/proj4js.js
diff --git a/static/street_pos/openLayers/theme/default/google.css b/static/openLayers/theme/default/google.css
similarity index 100%
rename from static/street_pos/openLayers/theme/default/google.css
rename to static/openLayers/theme/default/google.css
diff --git a/static/street_pos/openLayers/theme/default/ie6-style.css b/static/openLayers/theme/default/ie6-style.css
similarity index 100%
rename from static/street_pos/openLayers/theme/default/ie6-style.css
rename to static/openLayers/theme/default/ie6-style.css
diff --git a/static/street_pos/openLayers/theme/default/img/add_point_off.png b/static/openLayers/theme/default/img/add_point_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/add_point_off.png
rename to static/openLayers/theme/default/img/add_point_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/add_point_on.png b/static/openLayers/theme/default/img/add_point_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/add_point_on.png
rename to static/openLayers/theme/default/img/add_point_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/blank.gif b/static/openLayers/theme/default/img/blank.gif
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/blank.gif
rename to static/openLayers/theme/default/img/blank.gif
diff --git a/static/street_pos/openLayers/theme/default/img/close.gif b/static/openLayers/theme/default/img/close.gif
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/close.gif
rename to static/openLayers/theme/default/img/close.gif
diff --git a/static/street_pos/openLayers/theme/default/img/drag-rectangle-off.png b/static/openLayers/theme/default/img/drag-rectangle-off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/drag-rectangle-off.png
rename to static/openLayers/theme/default/img/drag-rectangle-off.png
diff --git a/static/street_pos/openLayers/theme/default/img/drag-rectangle-on.png b/static/openLayers/theme/default/img/drag-rectangle-on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/drag-rectangle-on.png
rename to static/openLayers/theme/default/img/drag-rectangle-on.png
diff --git a/static/street_pos/openLayers/theme/default/img/draw_line_off.png b/static/openLayers/theme/default/img/draw_line_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/draw_line_off.png
rename to static/openLayers/theme/default/img/draw_line_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/draw_line_on.png b/static/openLayers/theme/default/img/draw_line_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/draw_line_on.png
rename to static/openLayers/theme/default/img/draw_line_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/draw_point_off.png b/static/openLayers/theme/default/img/draw_point_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/draw_point_off.png
rename to static/openLayers/theme/default/img/draw_point_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/draw_point_on.png b/static/openLayers/theme/default/img/draw_point_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/draw_point_on.png
rename to static/openLayers/theme/default/img/draw_point_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/draw_polygon_off.png b/static/openLayers/theme/default/img/draw_polygon_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/draw_polygon_off.png
rename to static/openLayers/theme/default/img/draw_polygon_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/draw_polygon_on.png b/static/openLayers/theme/default/img/draw_polygon_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/draw_polygon_on.png
rename to static/openLayers/theme/default/img/draw_polygon_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/editing_tool_bar.png b/static/openLayers/theme/default/img/editing_tool_bar.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/editing_tool_bar.png
rename to static/openLayers/theme/default/img/editing_tool_bar.png
diff --git a/static/street_pos/openLayers/theme/default/img/move_feature_off.png b/static/openLayers/theme/default/img/move_feature_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/move_feature_off.png
rename to static/openLayers/theme/default/img/move_feature_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/move_feature_on.png b/static/openLayers/theme/default/img/move_feature_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/move_feature_on.png
rename to static/openLayers/theme/default/img/move_feature_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/navigation_history.png b/static/openLayers/theme/default/img/navigation_history.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/navigation_history.png
rename to static/openLayers/theme/default/img/navigation_history.png
diff --git a/static/street_pos/openLayers/theme/default/img/overview_replacement.gif b/static/openLayers/theme/default/img/overview_replacement.gif
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/overview_replacement.gif
rename to static/openLayers/theme/default/img/overview_replacement.gif
diff --git a/static/street_pos/openLayers/theme/default/img/pan-panel-NOALPHA.png b/static/openLayers/theme/default/img/pan-panel-NOALPHA.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/pan-panel-NOALPHA.png
rename to static/openLayers/theme/default/img/pan-panel-NOALPHA.png
diff --git a/static/street_pos/openLayers/theme/default/img/pan-panel.png b/static/openLayers/theme/default/img/pan-panel.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/pan-panel.png
rename to static/openLayers/theme/default/img/pan-panel.png
diff --git a/static/street_pos/openLayers/theme/default/img/pan_off.png b/static/openLayers/theme/default/img/pan_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/pan_off.png
rename to static/openLayers/theme/default/img/pan_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/pan_on.png b/static/openLayers/theme/default/img/pan_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/pan_on.png
rename to static/openLayers/theme/default/img/pan_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/panning-hand-off.png b/static/openLayers/theme/default/img/panning-hand-off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/panning-hand-off.png
rename to static/openLayers/theme/default/img/panning-hand-off.png
diff --git a/static/street_pos/openLayers/theme/default/img/panning-hand-on.png b/static/openLayers/theme/default/img/panning-hand-on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/panning-hand-on.png
rename to static/openLayers/theme/default/img/panning-hand-on.png
diff --git a/static/street_pos/openLayers/theme/default/img/remove_point_off.png b/static/openLayers/theme/default/img/remove_point_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/remove_point_off.png
rename to static/openLayers/theme/default/img/remove_point_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/remove_point_on.png b/static/openLayers/theme/default/img/remove_point_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/remove_point_on.png
rename to static/openLayers/theme/default/img/remove_point_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/ruler.png b/static/openLayers/theme/default/img/ruler.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/ruler.png
rename to static/openLayers/theme/default/img/ruler.png
diff --git a/static/street_pos/openLayers/theme/default/img/save_features_off.png b/static/openLayers/theme/default/img/save_features_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/save_features_off.png
rename to static/openLayers/theme/default/img/save_features_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/save_features_on.png b/static/openLayers/theme/default/img/save_features_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/save_features_on.png
rename to static/openLayers/theme/default/img/save_features_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/view_next_off.png b/static/openLayers/theme/default/img/view_next_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/view_next_off.png
rename to static/openLayers/theme/default/img/view_next_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/view_next_on.png b/static/openLayers/theme/default/img/view_next_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/view_next_on.png
rename to static/openLayers/theme/default/img/view_next_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/view_previous_off.png b/static/openLayers/theme/default/img/view_previous_off.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/view_previous_off.png
rename to static/openLayers/theme/default/img/view_previous_off.png
diff --git a/static/street_pos/openLayers/theme/default/img/view_previous_on.png b/static/openLayers/theme/default/img/view_previous_on.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/view_previous_on.png
rename to static/openLayers/theme/default/img/view_previous_on.png
diff --git a/static/street_pos/openLayers/theme/default/img/zoom-panel-NOALPHA.png b/static/openLayers/theme/default/img/zoom-panel-NOALPHA.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/zoom-panel-NOALPHA.png
rename to static/openLayers/theme/default/img/zoom-panel-NOALPHA.png
diff --git a/static/street_pos/openLayers/theme/default/img/zoom-panel.png b/static/openLayers/theme/default/img/zoom-panel.png
similarity index 100%
rename from static/street_pos/openLayers/theme/default/img/zoom-panel.png
rename to static/openLayers/theme/default/img/zoom-panel.png
diff --git a/static/street_pos/openLayers/theme/default/ol.css b/static/openLayers/theme/default/ol.css
similarity index 100%
rename from static/street_pos/openLayers/theme/default/ol.css
rename to static/openLayers/theme/default/ol.css
diff --git a/static/street_pos/openLayers/theme/default/style.css b/static/openLayers/theme/default/style.css
similarity index 100%
rename from static/street_pos/openLayers/theme/default/style.css
rename to static/openLayers/theme/default/style.css
diff --git a/static/street_pos/openLayers/theme/default/style.mobile.css b/static/openLayers/theme/default/style.mobile.css
similarity index 100%
rename from static/street_pos/openLayers/theme/default/style.mobile.css
rename to static/openLayers/theme/default/style.mobile.css
diff --git a/static/openLayers/theme/map-widgets.css b/static/openLayers/theme/map-widgets.css
new file mode 100644
index 0000000..6d1a08e
--- /dev/null
+++ b/static/openLayers/theme/map-widgets.css
@@ -0,0 +1,215 @@
+#time-slider {
+ width: 200px;
+ height: 5px;
+ background: #ccc;
+ outline: none;
+ border-radius: 5px;
+ -webkit-appearance: none;
+ appearance: none;
+}
+
+#slider-date {
+ margin: 5px 0;
+ font-size: 12px;
+}
+
+#time-slider::-webkit-slider-thumb {
+ -webkit-appearance: none;
+ appearance: none;
+ width: 15px;
+ height: 15px;
+ background: #007bff;
+ border-radius: 50%;
+ cursor: pointer;
+}
+
+#time-slider::-moz-range-thumb {
+ width: 15px;
+ height: 15px;
+ background: #007bff;
+ border-radius: 50%;
+ cursor: pointer;
+}
+
+.bg-orange {
+ background-color: #FF5F15;
+ color: #fff !important;
+}
+
+.bg-warning {
+ color: #fff !important;
+}
+
+.dropdown-icon {
+ transition: transform 0.3s ease;
+}
+
+.dropdown-icon.rotated {
+ transform: rotate(180deg);
+}
+
+.dropdown-menu {
+ padding: 10px;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+ background: white;
+}
+
+.dropdown-menu {
+ max-height: 300px;
+ overflow-y: scroll;
+}
+
+.dropdown-item {
+ padding: 5px 10px;
+ color: #333;
+ text-decoration: none;
+}
+
+.dropdown-item:hover {
+ background-color: #f8f9fa;
+}
+
+#coefficients {
+ user-select: none;
+}
+
+.switch {
+ position: relative;
+ display: inline-block;
+ width: 60px;
+ height: 34px;
+}
+
+.switch input {
+ opacity: 0;
+ width: 0;
+ height: 0;
+}
+
+.slider {
+ position: absolute;
+ cursor: pointer;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: #ccc;
+ -webkit-transition: .4s;
+ transition: .4s;
+}
+
+.slider:before {
+ position: absolute;
+ content: "";
+ height: 26px;
+ width: 26px;
+ left: 4px;
+ bottom: 4px;
+ background-color: white;
+ -webkit-transition: .4s;
+ transition: .4s;
+}
+
+input:checked + .slider {
+ background-color: #2196F3;
+}
+
+input:focus + .slider {
+ box-shadow: 0 0 1px #2196F3;
+}
+
+input:checked + .slider:before {
+ -webkit-transform: translateX(26px);
+ -ms-transform: translateX(26px);
+ transform: translateX(26px);
+}
+
+/* Rounded sliders */
+.slider.round {
+ border-radius: 34px;
+}
+
+.slider.round:before {
+ border-radius: 50%;
+}
+
+.card-body-75vh {
+ height: 75vh;
+ padding-left: 0;
+}
+
+#toStart {
+ position: absolute;
+ top: .5em;
+ left: .5em;
+ z-index: 999;
+ background-color: rgba(255, 255, 255, 0.5);
+ border: 1px solid #e2c4b0
+}
+
+#LayerSwitcher {
+ position: absolute;
+ bottom: .5em;
+ right: .5em;
+ z-index: 1000
+}
+
+#LayerSwitcherInner {
+ display: none
+}
+
+#slider-container {
+ position: absolute;
+ bottom: .5em;
+ left: 50%;
+ transform: translateX(-50%);
+ z-index: 1000;
+ background: rgba(255, 255, 255, 0.8);
+ padding: 10px;
+ border-radius: 5px;
+}
+
+#time-slider {
+ width: 800px;
+}
+
+#coefficients {
+ position: absolute;
+ top: .5em;
+ right: .5em;
+ z-index: 1000;
+ background: rgba(255, 255, 255, 0.8);
+ padding: 10px;
+ border-radius: 5px;
+}
+
+.divider-vertical {
+ gap: 1em
+}
+
+
+.dropdown .clickable-area {
+ cursor: pointer;
+ gap: 1em;
+ padding-right: 5px;
+}
+
+.dropdown-icon {
+ color: var(--primary);
+ font-size: 1.2em;
+}
+
+.dropdown-menu {
+ width: 734px;
+}
+
+.dropdown-menu ul {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+
+.badge {
+ font-size: 1em
+}