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
Albert Beltran
map
Commits
06d67250
Commit
06d67250
authored
Dec 14, 2018
by
Raph El
Browse files
modif doc
parent
7d63db50
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
06d67250
...
...
@@ -2,12 +2,16 @@
## URL
http://maps.stamen.com/#toner/12/37.7706/-122.3782
https://stamen.com/work/maps-stamen-com/
http://www.thunderforest.com/maps/
### TileLayer
Différents url ou on peut trouver des designs pour les cartes
-
http://maps.stamen.com/#toner/12/37.7706/-122.3782
-
https://stamen.com/work/maps-stamen-com/
-
http://www.thunderforest.com/maps/
## TODO
-
[ ] Pouvoir afficher plusieurs carte en meme temps
-
[ ] Init css et js avec map
-
[x] Faire sur FormInMAP
-
[ ] De maniere générale
...
...
@@ -18,6 +22,11 @@ http://www.thunderforest.com/maps/
-
[x] Test différent Tile
-
[ ] Réutileser différent Tile en fct du parametre
-
[ ] Changer de fond a tout moment
-
[ ] Géré Mapbox quand c'est en prod
-
[ ] En fct des points sur la carte, géré le zoom , plus les points sont éloigner plus on dezoom sur la carte
-
[ ] Afficher les informations sur le coté de la map et non plus en popup
-
[ ] Rendre ça parametrable
-
[ ]
## DOC
...
...
assets/js/map.js
View file @
06d67250
...
...
@@ -89,6 +89,7 @@ var mapObj = {
console
.
log
(
"
POINT
"
,
point
);
if
(
!
isNaN
(
point
.
x
)
&&
!
isNaN
(
point
.
y
)){
console
.
log
(
"
POINT here
"
,
point
);
mapObj
.
map
.
panTo
([
point
.
x
,
point
.
y
]);
}
}
...
...
Write
Preview
Markdown
is supported
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