Rev 178 | Rev 181 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 178 | Rev 180 | ||
|---|---|---|---|
| Line 560... | Line 560... | ||
| 560 | fillColor: "white", |
560 | fillColor: "white", |
| 561 | fillOpacity: 0.125, |
561 | fillOpacity: 0.125, |
| 562 | strokeColor: "white", |
562 | strokeColor: "white", |
| 563 | strokeOpacity: 0.5 |
563 | strokeOpacity: 0.5 |
| 564 | }); |
564 | }); |
| - | 565 | circle.addListener("click", function () {
|
|
| - | 566 | window.alert("<?php echo tr('Your current coordinates on Terra'); ?>\n\n"
|
|
| - | 567 | + jsx.dom.geolocation.getText(jsx.dom.geolocation.position)); |
|
| - | 568 | }); |
|
| 565 | } |
569 | } |
| 566 | } |
570 | } |
| 567 | else |
571 | else |
| 568 | {
|
572 | {
|
| 569 | if (!isNaN(coords.accuracy)) |
573 | if (!isNaN(coords.accuracy)) |