diff options
author | Ryan Johnson <rjohnson@mozilla.com> | 2021-04-29 16:16:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 16:16:42 -0700 |
commit | 95aca4b4d8fa62815d4bd412fff1a364f842814a (patch) | |
tree | 5e57661720fe9058d5c7db637e764800b50f9060 /files/it/web/api/geolocation | |
parent | ee3b1c87e3c8e72ca130943eed260ad642246581 (diff) | |
download | translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2 translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip |
remove retired locales (#699)
Diffstat (limited to 'files/it/web/api/geolocation')
-rw-r--r-- | files/it/web/api/geolocation/index.html | 133 | ||||
-rw-r--r-- | files/it/web/api/geolocation/watchposition/index.html | 166 |
2 files changed, 0 insertions, 299 deletions
diff --git a/files/it/web/api/geolocation/index.html b/files/it/web/api/geolocation/index.html deleted file mode 100644 index 290260cdd6..0000000000 --- a/files/it/web/api/geolocation/index.html +++ /dev/null @@ -1,133 +0,0 @@ ---- -title: Geolocation -slug: Web/API/Geolocation -translation_of: Web/API/Geolocation ---- -<div>{{securecontext_header}}{{APIRef("Geolocation API")}}</div> - -<p>L'interfaccia <code><strong>Geolocation</strong></code> rappresenta un oggetto in grado di ottenere tramite codice la posizione del dispositivo utilizzato. Questo permette ai contenuti web di accedere alla posizione del dispositivo: ad esempio un sito web o una applicaziomne possono mostrare risultati personalizzati in base alla posizione del dispositivo.</p> - -<p>Un oggetto con questa interfaccia si ottiene usando la proprietà {{domxref("navigator.geolocation")}}, implementata dall'oggetto {{domxref("Navigator")}}.</p> - -<div class="note"> -<p><strong>Nota:</strong> Per ragioni di sicurezza, quando una pagina web cerca di accedere alla posizione, l'utente viene notificato e gli viene chiesto il permesso. Considera che ogni browser ha una propria policy e un modo differente per chiedere il permesso.</p> -</div> - -<h2 id="Proprietà">Proprietà</h2> - -<p><em>L'interfaccia <code>Geolocation</code> non ha né implementazioni né proprietà.</em></p> - -<h2 id="Metodi">Metodi</h2> - -<p><em><em>L'interfaccia <code>Geolocation</code> non eredita alcun metodo.</em></em></p> - -<dl> - <dt>{{domxref("Geolocation.getCurrentPosition()")}} {{securecontext_inline}}</dt> - <dd>Determina la posizione corrente del dispositivo e ritorna un oggetto {{domxref("Position")}} con i dati.</dd> - <dt>{{domxref("Geolocation.watchPosition()")}} {{securecontext_inline}}</dt> - <dd>Ritorna un valore <code>long</code> che rappresenta l'ultima chiamata alla funzione eseguita, quando la posizione del dispositivo cambia.</dd> - <dt>{{domxref("Geolocation.clearWatch()")}} {{securecontext_inline}}</dt> - <dd>Rimuove l'handler installato con <code>watchPosition()</code>.</dd> -</dl> - -<h2 id="Specifiche">Specifiche</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Specifiche</th> - <th scope="col">Stato</th> - <th scope="col">Commento</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('Geolocation')}}</td> - <td>{{Spec2('Geolocation')}}</td> - <td>Specifiche iniziali.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilità_dei_browser">Compatibilità dei browser</h2> - -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Funzionalità</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Supporto base</td> - <td>5</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.9.1")}}</td> - <td>9</td> - <td>10.60<br> - Rimosso nella 15.0<br> - Reintrodotto nella 16.0</td> - <td>5</td> - </tr> - <tr> - <td>Secure context-only</td> - <td>47</td> - <td>{{CompatUnknown()}}</td> - <td>{{CompatGeckoDesktop("55")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Supporto base</td> - <td>{{CompatUnknown()}}</td> - <td>{{CompatUnknown()}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("4")}}</td> - <td>{{CompatUnknown()}}</td> - <td>10.60</td> - <td>{{CompatUnknown()}}</td> - </tr> - <tr> - <td>Secure context-only</td> - <td>{{CompatNo}}</td> - <td>47</td> - <td>{{CompatUnknown()}}</td> - <td>{{CompatGeckoDesktop("55")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="Vedi_anche">Vedi anche</h2> - -<ul> - <li><a href="/en-US/docs/WebAPI/Using_geolocation" title="/en-US/docs/WebAPI/Using_geolocation">Uso della geolocalizzazione</a></li> -</ul> diff --git a/files/it/web/api/geolocation/watchposition/index.html b/files/it/web/api/geolocation/watchposition/index.html deleted file mode 100644 index e218675cf7..0000000000 --- a/files/it/web/api/geolocation/watchposition/index.html +++ /dev/null @@ -1,166 +0,0 @@ ---- -title: Geolocation.watchPosition() -slug: Web/API/Geolocation/watchPosition -translation_of: Web/API/Geolocation/watchPosition ---- -<p>{{securecontext_header}}{{ APIref("Geolocation API") }}</p> - -<p>Il metodo <code>watchPosition()</code> viene usato per creare una funzione che viene chiamata automaticamente ogni volta che cambia la posizione del dispositivo. Si può anche specificare una funzione da chiamare in caso di errore.</p> - -<p>Questo metodo ritorna un valore ID che può essere usato per terminare il metodo {{domxref("Geolocation.clearWatch()")}}.</p> - -<h2 id="Sintassi">Sintassi</h2> - -<pre class="syntaxbox"><em>id</em> = navigator.geolocation.watchPosition(<em>successo[</em>, <em>errore[</em>, <em>opzioni]]</em>)</pre> - -<h3 id="Parametri">Parametri</h3> - -<dl> - <dt><code>successo</code></dt> - <dd>Un funzione che prende come parametro di input un oggetto {{domxref("Position")}}.</dd> - <dt><code>errore</code> {{optional_inline}}</dt> - <dd>Una funzione che prende come parametro di input un oggetto {{domxref("PositionError")}}.</dd> - <dt><code>opzioni</code> {{optional_inline}}</dt> - <dd>Un oggetto {{domxref("PositionOptions")}} che permette di configurare la funzione che controlla la posizione.</dd> -</dl> - -<h2 id="Esempi">Esempi</h2> - -<pre class="brush: js">var id, target, options; - -function success(pos) { - var crd = pos.coords; - - if (target.latitude === crd.latitude && target.longitude === crd.longitude) { - console.log('Congratulazioni, hai raggiunto il target'); - navigator.geolocation.clearWatch(id); - } -} - -function error(err) { - console.warn('ERROR(' + err.code + '): ' + err.message); -} - -target = { - latitude : 0, - longitude: 0 -}; - -options = { - enableHighAccuracy: false, - timeout: 5000, - maximumAge: 0 -}; - -id = navigator.geolocation.watchPosition(success, error, options); -</pre> - -<div class="note"> -<p>Se la tua applicazione gira su Firefox OS, controlla la pagina <a href="/en-US/docs/Web/API/Geolocation/navigator.requestWakeLock()">geolocation wake lock</a> per fare in modo che la posizione del dispositivo venga aggiornata in backgound o quando lo schermo del dispositivo è spento.</p> -</div> - -<h2 id="Specifiche">Specifiche</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Specifica</th> - <th scope="col">Stato</th> - <th scope="col">Commento</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('Geolocation', '#watch-position', 'Geolocation.watchPosition()')}}</td> - <td>{{Spec2('Geolocation')}}</td> - <td>Specifica iniziale.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilità_dei_browser">Compatibilità dei browser</h2> - -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Funzionalità</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Supporto base</td> - <td>5</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.9.1")}}</td> - <td>9</td> - <td>10.60<br> - Rimosso nella 15.0<br> - Reintrodotto nella 16.0</td> - <td>5</td> - </tr> - <tr> - <td>Secure context-only</td> - <td>47</td> - <td>{{CompatUnknown()}}</td> - <td>{{CompatGeckoDesktop("55")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Funzionalità</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Supporto base</td> - <td>{{CompatUnknown()}}</td> - <td>{{CompatUnknown()}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("4")}}</td> - <td>{{CompatUnknown()}}</td> - <td>10.60</td> - <td>{{CompatUnknown()}}</td> - </tr> - <tr> - <td>Secure context-only</td> - <td>{{CompatNo}}</td> - <td>47</td> - <td>{{CompatUnknown()}}</td> - <td>{{CompatGeckoDesktop("55")}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="Vedi_anche">Vedi anche</h2> - -<ul> - <li><a href="/en-US/docs/Web/API/Geolocation/navigator.requestWakeLock()">geolocation wake lock</a></li> - <li><a href="/en-US/docs/WebAPI/Using_geolocation" title="/en-US/docs/WebAPI/Using_geolocation">Uso della geolocalizzazione</a></li> - <li>The interface it belongs to, {{domxref("Geolocation")}}, and the way to access it {{domxref("NavigatorGeolocation.geolocation")}}.</li> - <li>L'operazione opposta: {{domxref("Geolocation.clearWatch()")}}</li> - <li>Un metodo simile: {{domxref("Geolocation.getCurrentPosition()")}}</li> -</ul> |