Mercurial > gemma
diff client/src/store/map.js @ 1272:bc55ffaeb639
cleaned up client/src directory
better organization of files and directories, better naming, separation of admin and map context
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 22 Nov 2018 07:07:12 +0100 |
parents | c14353e2cdb9 |
children | 99c039e86624 |
line wrap: on
line diff
--- a/client/src/store/map.js Wed Nov 21 15:07:39 2018 +0100 +++ b/client/src/store/map.js Thu Nov 22 07:07:12 2018 +0100 @@ -29,7 +29,7 @@ import VectorSource from "ol/source/Vector.js"; import Point from "ol/geom/Point.js"; import { bbox as bboxStrategy } from "ol/loadingstrategy"; -import { HTTP } from "../application/lib/http"; +import { HTTP } from "../lib/http"; import { fromLonLat } from "ol/proj"; export default { @@ -263,7 +263,7 @@ geometry: new Point(end), image: new Icon({ // we need to make sure the image is loaded by Vue Loader - src: require("../application/assets/linestring_arrow.png"), + src: require("../assets/linestring_arrow.png"), // fiddling with the anchor's y value does not help to // position the image more centered on the line ending, as the // default line style seems to be slightly uncentered in the @@ -312,7 +312,7 @@ geometry: new Point(end), image: new Icon({ // we need to make sure the image is loaded by Vue Loader - src: require("../application/assets/linestring_arrow_grey.png"), + src: require("../assets/linestring_arrow_grey.png"), // fiddling with the anchor's y value does not help to // position the image more centered on the line ending, as the // default line style seems to be slightly uncentered in the