package Ġcom . dev indi . wall paper . model . map . source Ċ Ċ /* Ġk tl int - disable Ġmax - line - length Ġ*/ Ċ // ĠTODO Ġinject Ġcorrect Ġkey Ġduring Ġassemble Ġwith Ġgradle Ġlike Ġother Ġkeys Ċ private Ġconst Ġval ĠMAP BOX _ KEY Ġ= Ġ" pk . ey J 1 Ijoi ZGV 2 aW 5 ka S IsIm Ei OiJ jam hp M 3 Jo Nz gw Mj Z 0 Mz Zw NT N ja 3 Bre Gk 0 In 0 . 6 s HX w bb he Rd Py UX p 5 uc V 5 g " Ċ /* Ġk tl int - enable Ġmax - line - length Ġ*/ Ċ Ċ fun Ġcreate Map Box Terrain () Ġ= ĠMap box Tile Source (" S atellite ", Ġ" s atellite ", ĠMAP BOX _ KEY ) Ċ fun Ġcreate Map Box Com ic () Ġ= ĠMap box Tile Source (" Com ic ", Ġ" com ic ", ĠMAP BOX _ KEY ) Ċ fun Ġcreate Map Box P ir ates () Ġ= ĠMap box Tile Source (" P ir ates ", Ġ" p ir ates ", ĠMAP BOX _ KEY ) Ċ fun Ġcreate Map Box P encil () Ġ= ĠMap box Tile Source (" P encil ", Ġ" pencil ", ĠMAP BOX _ KEY ) Ċ Ċ class ĠMap box Tile Source ( ĊĠĠĠ Ġname : ĠString , ĊĠĠĠ Ġprivate Ġval Ġmap : ĠString , ĊĠĠĠ Ġprivate Ġval ĠapiKey : ĠString Ċ ) Ġ: ĠBase Tile Source ( name , ĠarrayOf (" https :// a . tiles . mapbox . com / v 4 ")) Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġget Tile Url ( x : ĠInt , Ġy : ĠInt , Ġz : ĠInt ): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ"$ baseUrl / mapbox .$ map /$ z /$ x /$ y . png ? access _ token =$ apiKey " ĊĠĠĠ Ġ} Ċ }