Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pierre-Yves Gicquel
albiziapp
Commits
922d539f
Commit
922d539f
authored
Jun 24, 2019
by
gick
Browse files
set .end for production
parent
f792596d
Changes
5
Hide whitespace changes
Inline
Side-by-side
.env
0 → 100644
View file @
922d539f
VUE_APP_TITLE=Albiziapp dev
.env.development
0 → 100644
View file @
922d539f
VUE_APP_MAP_SERVER=//wxs.ign.fr/choisirgeoportail/geoportail/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&STYLE=normal&TILEMATRIXSET=PM&FORMAT=image/jpeg&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}
\ No newline at end of file
.env.production
0 → 100644
View file @
922d539f
VUE_APP_MAP_SERVER=//wxs.ign.fr/1zk8fc4pfkpf90fgudlyn643/geoportail/wmts?service=WMTS&request=GetTile&version=1.0.0&tilematrixset=PM&tilematrix={z}&tilecol={x}&tilerow={y}&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&format=image/jpeg&style=normal
src/pages/Home.vue
View file @
922d539f
<
template
>
<v-ons-page>
<v-ons-card
v-show=
"!$store.state.user.id"
>
<div
class=
"title"
>
{{
$t
(
'
authenticate
'
)
}}
</div>
<div
class=
"content"
>
...
...
@@ -92,6 +91,9 @@ export default {
};
},
mounted
()
{
console
.
log
(
process
.
env
.
NODE_ENV
)
console
.
log
(
process
.
env
.
VUE_APP_MAP_SERVER
)
EventBus
.
$on
(
'
displayHelpMessage
'
,
param
=>
{
this
.
displayHelpMessage
(
param
)
});
...
...
src/pages/Map.vue
View file @
922d539f
...
...
@@ -234,7 +234,7 @@ export default {
circleClicked
:
false
,
zoom
:
19
,
center
:
L
.
latLng
(
48.08497
,
-
0.75763
),
url
:
"
//wxs.ign.fr/1zk8fc4pfkpf90fgudlyn643/geoportail/wmts?service=WMTS&request=GetTile&version=1.0.0&tilematrixset=PM&tilematrix={z}&tilecol={x}&tilerow={y}&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&format=image/jpeg&style=normal
"
,
url
:
process
.
env
.
VUE_APP_MAP_SERVER
,
attribution
:
'
© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors
'
,
withPopup
:
L
.
latLng
(
47.41322
,
-
1.219482
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment