dépôts
/
lhc
/
web
/
spip_carte_de_sites.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
5 chiffres apres la virgule quand on clique sur la carte
[lhc/web/spip_carte_de_sites.git]
/
contenu
/
page-carte_de_sites.html
diff --git
a/contenu/page-carte_de_sites.html
b/contenu/page-carte_de_sites.html
index
7a4f81b
..
1fbbaca
100644
(file)
--- a/
contenu/page-carte_de_sites.html
+++ b/
contenu/page-carte_de_sites.html
@@
-57,7
+57,7
@@
var popup = new L.Popup();
function onMapClick(e) {
var popup = new L.Popup();
function onMapClick(e) {
- var latlngStr = '(' + e.latlng.lat.toFixed(
3) + ', ' + e.latlng.lng.toFixed(3
) + ')';
+ var latlngStr = '(' + e.latlng.lat.toFixed(
5) + ', ' + e.latlng.lng.toFixed(5
) + ')';
popup.setLatLng(e.latlng);
popup.setContent("You clicked the map at " + latlngStr);
map.openPopup(popup);
popup.setLatLng(e.latlng);
popup.setContent("You clicked the map at " + latlngStr);
map.openPopup(popup);