Un'implementazione parziale di TileProvider che richiede solo la fornitura di un URL che indirizzi a un'immagine.
Un'interfaccia per una classe che fornisce le immagini riquadro per un TileOverlay. Per informazioni sul sistema di coordinate dei riquadri, consulta TileOverlay.
Le chiamate ai metodi in questa interfaccia potrebbero essere effettuate da più thread, quindi le implementazioni di questa interfaccia devono essere threadsafe.
Tile da utilizzare per questa coordinata del riquadro. Se non vuoi fornire un
riquadro per questa coordinata del riquadro, restituisci NO_TILE. Se non è stato possibile trovare il riquadro in questo momento, restituisce null e potrebbero essere effettuate ulteriori richieste con un backoff esponenziale.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-06-13 UTC."],[[["`TileProvider` is an interface for classes that provide tile images for a `TileOverlay` on a map."],["Implementations of this interface must be thread-safe as they may be called from multiple threads."],["`TileProvider` provides a `getTile` method to retrieve the tile image for a specific tile coordinate."],["A `NO_TILE` constant is provided to indicate the absence of a tile for a given coordinate."]]],["The `TileProvider` interface supplies tile images for a `TileOverlay`. Implementations must be thread-safe due to potential multi-threaded method calls. It defines a `NO_TILE` field, indicating the absence of a tile at a specific coordinate. The core method, `getTile`, takes x, y coordinates, and zoom level to return a `Tile`. If no tile is available, it should return `NO_TILE`; if the tile can't be fetched at that moment, it returns null. `UrlTileProvider` is an example of an implementation that is a partial one.\n"]]