Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sig
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Pixel Humain
sig
Commits
15d313db
Commit
15d313db
authored
10 years ago
by
Kgneo
Browse files
Options
Downloads
Patches
Plain Diff
try fix error "origineName"
parent
f7b26adb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/default/index.php
+4
-3
4 additions, 3 deletions
views/default/index.php
with
4 additions
and
3 deletions
views/default/index.php
+
4
−
3
View file @
15d313db
...
@@ -121,7 +121,8 @@ $this->pageTitle=$this::moduleTitle;
...
@@ -121,7 +121,8 @@ $this->pageTitle=$this::moduleTitle;
$
(
document
).
ready
(
function
()
$
(
document
).
ready
(
function
()
{
{
var
listId
=
new
Array
();
//mémorise les identifiants des éléments de chaque carte
var
listId
=
new
Array
(
"
getPixelActif
"
,
"
getCommunected
"
);
function
loadMap
(
canvasId
){
function
loadMap
(
canvasId
){
//initialisation des variables de départ de la carte
//initialisation des variables de départ de la carte
...
@@ -346,7 +347,7 @@ $(document).ready( function()
...
@@ -346,7 +347,7 @@ $(document).ready( function()
//charge la première carte (pixel actif)
//charge la première carte (pixel actif)
var
map1
=
loadMap
(
"
mapCanvasSlide1
"
);
var
map1
=
loadMap
(
"
mapCanvasSlide1
"
);
map1
.
setView
([
30.29702
,
-
21.97266
],
3
);
map1
.
setView
([
30.29702
,
-
21.97266
],
3
);
listId
[
"
getPixelActif
"
]
=
new
Array
();
listId
[
"
getPixelActif
"
]
=
new
Array
(
"
init
"
);
map1
.
on
(
'
dragend
'
,
function
(
e
)
{
map1
.
on
(
'
dragend
'
,
function
(
e
)
{
showCitoyensClusters
(
map1
,
"
getPixelActif
"
,
listId
);
showCitoyensClusters
(
map1
,
"
getPixelActif
"
,
listId
);
});
showCitoyensClusters
(
map1
,
"
getPixelActif
"
,
listId
);
});
showCitoyensClusters
(
map1
,
"
getPixelActif
"
,
listId
);
...
@@ -355,7 +356,7 @@ $(document).ready( function()
...
@@ -355,7 +356,7 @@ $(document).ready( function()
//charge la deuxième carte (communected)
//charge la deuxième carte (communected)
var
map2
=
loadMap
(
"
mapCanvasSlide2
"
);
var
map2
=
loadMap
(
"
mapCanvasSlide2
"
);
map2
.
setView
([
-
21.13318
,
55.5314
],
10
);
map2
.
setView
([
-
21.13318
,
55.5314
],
10
);
listId
[
"
getCommunected
"
]
=
new
Array
();
listId
[
"
getCommunected
"
]
=
new
Array
(
"
init
"
);
map2
.
on
(
'
dragend
'
,
function
(
e
)
{
map2
.
on
(
'
dragend
'
,
function
(
e
)
{
showCitoyensClusters
(
map2
,
"
getCommunected
"
,
listId
);
showCitoyensClusters
(
map2
,
"
getCommunected
"
,
listId
);
});
showCitoyensClusters
(
map2
,
"
getCommunected
"
,
listId
);
});
showCitoyensClusters
(
map2
,
"
getCommunected
"
,
listId
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment