OkMap forum
OkMap forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Forum OkMap - Italiano
 Nuove funzionalità
 Api key required e OpenCycleMap

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert image on imageshack.us
 Insert small zipped file as attachment (< 500 Kb)
 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Marco N Posted - 12/09/2018 : 21:06:40
È possibile far in modo da poter inserire la chiave per togliere quel fastioso messaggio dalla mappa?
5   L A T E S T    R E P L I E S    (Newest First)
okmap Posted - 14/09/2018 : 16:19:50
Non l'ho fatto perché ogni fornitore di mappe ha la sua sintassi.
Marco N Posted - 14/09/2018 : 12:31:19
Più comodo era inserire la chiave direttamente in un campo tipo quello che serve per il geocoding :-P
okmap Posted - 14/09/2018 : 10:29:38
Dai non è stato così difficile .
Funziona tutto?
Marco N Posted - 13/09/2018 : 21:08:50
Mamma, che fatica.

Ho fatto così:

1. Ho creato un account gratuito su http://www.thunderforest.com/pricing/ e poi a forza di prova e riprova sono arrivato a questa pappardella che funziona (ovviamnte agli asterischi va sostituita la key rilasciata):

2. Nell'elenco server mappe:

new OpenLayers.Layer.OSM("OpenCycleMap Cycle", ["http://a.tile.thunderforest.com/cycle/${z}/${x}/${y}.png?apikey=***", "http://b.tile.thunderforest.com/cycle/${z}/${x}/${y}.png?apikey=***", "http://c.tile.thunderforest.com/cycle/${z}/${x}/${y}.png?apikey=***"], { type: 'png', displayOutsideMaxExtent: true, isBaseLayer: true});
okmap Posted - 13/09/2018 : 18:43:42
Si certo.
Devi sottoscrivere l'abbonamento a pagamento nel loro sito.
Quindi crei un nuovo mapserver nella funziona Lista - server mappe del tutto identico a quello già esistente aggiungendo la chiave api che ti forniscono loro.

OkMap forum © 2018 OkMap Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07