Il giorno 24 febbraio 2014 15:15, Cristian Consonni <kikkocrist...@gmail.com
> ha scritto:

> Il 22 febbraio 2014 10:04, Simone F. <grop...@gmail.com> ha scritto:
> > In alternativa potresti usare lo "stile classico" di OSM:
> > var osmLayer = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
> >     attribution: '&copy; <a
> > href="http://osm.org/copyright";>OpenStreetMap</a> contributors',
> > });
> >
> > Ho notato che nella mappa vengono caricate le tiles di tutti i base
> layers.
> > https://dl.dropboxusercontent.com/u/41550819/OSM/app.png
> >
> > Probabilmente è dovuto a questo:
> > "Also note that when using multiple base layers, only one of them should
> be
> > added to the map at instantiation, but all of them should be present in
> the
> > base layers object when creating the layers control."
> > http://leafletjs.com/examples/layers-control.html
>
> Adesso
> ho sistemato (in effetti mi infastidiva che scaricasse le tile per
> tutti i layers).
> Ho anche aggiunto la mappa classica.
>

Ok (a volte le tiles di Toolserver non si scaricano e la mappa resta grigia
ma forse è solo un problema di lentezza del server).


>
> > Togliendo la spunta a "Centroide in OSM" scompare anche la mappa
> sottostante
> > (forse è legato al problema sopra?)
>
> Questo problema prima non l'avevo, puoi comunque controllare
> nuovamente se adesso (con la modifica sopra) si verifica ancora?
>

Corretto, grazie.


Ciao,
Simone F.
_______________________________________________
Talk-it mailing list
Talk-it@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-it

Rispondere a