<div dir="ltr">Ciao,<div>ti consiglio di guardare LeafletJS <a href="https://leafletjs.com/">https://leafletjs.com/</a></div><div>Dovresti riuscire a replicare tutte le funzionalità che cerchi!</div><div><br></div><div>Stefano</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Il giorno ven 14 feb 2025 alle ore 17:06 Fabio Savian <<a href="mailto:fabio.savian@nonvedolora.it">fabio.savian@nonvedolora.it</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Buongiorno,<br>
<br>
mi sono appena registrato a OSM.<br>
Sono il webmaster di Sundial Altla (<a href="https://www.sundialatlas.eu" rel="noreferrer" target="_blank">https://www.sundialatlas.eu</a>) un <br>
progetto internazionale per registrare gli orologi solari (meridiane) di <br>
tutto il mondo.<br>
<br>
E' un progetto culturale e scientifico, senza pubblicità o fini <br>
commerciali, tutti i dati contenuti sono liberamente fruibili, tutti gli <br>
utenti registrati possono inserire o modificare dati e foto, il progetto <br>
aderisce al Creative Commons.<br>
Lo scopo è far conoscere la gnomonica, il ramo dell'astronomia che si <br>
occupa degli orologi solari, permettendo di conoscere dove si trovano <br>
gli orologi permettendone la visita, lo studio e anche il turismo <br>
scientifico e culturale.<br>
Il sito è consultabile in 11 lingue, ad oggi sono registrati circa <br>
59,000 orologi di 124 paesi.<br>
<br>
Sono interessato a OSM ma ho necessità di alcune informazioni, Sundial <br>
Atlas sta per cambiare server e sto revisionando il software (PHP, <br>
mySQL, javascript, ajax) valutando anche la possibilità di passare a OSM.<br>
Attualmente il sito utilizza Google Map e le API per gestire le map <br>
nelle pagine.<br>
Per esempio, ogni orologio ha una scheda con le coordinate e un frame <br>
con la mappa che mostra dove si trova.<br>
Altre mappe dinamiche permettono di vedere gli orologi di un'area, <br>
tramite delle puntine.<br>
Sarei molto grato se qualcuno potesse chiarirmi qualche dettaglio per <br>
utilizzare OSM nel sito.<br>
<br>
- sto cercando una documentazione dettagliata (javascript) per mostrare <br>
una mappa in una pagina web, definendo la dimensione, zoom, coordinate <br>
del centro.<br>
<br>
- vorrei capire se è possibile inserire delle puntine colorate nella <br>
mappa mostrata in una pagina<br>
<br>
- se possibile disegnare linee o curve nella mappa.<br>
S.A. costruisce il percorso del Sole sopra la mappa in funzione della <br>
data, così come la direzione del Sole (azimut) rispetto al punt centrale <br>
della mappa. Tutto ciò è attualmente sviluppato con le API di Google Map<br>
<br>
- ottenere le coordinate da un indirizzo (come geocoder)<br>
<br>
- S.A. produce anche documenti pdf contenenti gli orologi esito di una <br>
ricerca. Questi documenti hanno una copertina con una mappa che <br>
attualmente è ricavata da Google Map e inserita nel documento con fpdf.php.<br>
<br>
Mi piacerebbe utilizzare OSM nel progetto S.A. e sarei disponibile a <br>
valutare con voi la possibilità di inserire la posizione degli orologi <br>
solari nelle vostre mappe. Mi rendo anche disponibile a sviluppare <br>
javascript per implementare risorse astronomiche in OSM se fossero di <br>
interesse (azimut del Sole, direzione del Nord geografico e altri <br>
calcoli astronomici come alba, tramonto, altezza del Sole e molti altri <br>
legati alla posizione e a ora/data)<br>
<br>
Vi ringrazio anticipatamente per le info che potete darmi.<br>
<br>
Un cordiale saluto, Fabio<br>
<br>
PS S.A. ha anche una app Android, free e senza pubblicità, per trovare <br>
gli orologi sulla mappa (Sundial Atlas Mobile).<br>
<br>
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
<br>
<br>
I just registered to OSM.<br>
I'm the webmaster of Sundial Atlas (<a href="https://www.sundialatlas.eu" rel="noreferrer" target="_blank">https://www.sundialatlas.eu</a>) an <br>
international project to register the sundial all over the world.<br>
<br>
It is a cultural and scientific project, without advertisng or <br>
commercial purpose, the information contained is freely available to <br>
all, all registered users can contribute by uploading or editing photos <br>
and data, the project adheres to the Creative Commons.<br>
The aim is to make known gnomonics, the branch of astronomy that deals <br>
with sundials, allowing people to know where they are in order to visit <br>
them, study them and even for simple cultural and scientific tourism.<br>
The site is available in 11 languages, and today contains approximately <br>
59,000 sundials from 124 countries.<br>
<br>
I am writing to you because I am interested in using OSM but I need some <br>
information, Sundial Atlas is about to change server and with that I'm <br>
doing a software review (PHP, mySQL, javascript, ajax), including the <br>
possibility of switching to OSM.<br>
The website currently uses Google Maps and the API to manage maps on the <br>
site pages.<br>
For example, for each sundial the coordinates are entered and a frame <br>
shows the map where it is located.<br>
Other dinamic maps show sundials via pushpins.<br>
I would be very grateful if someone could clarify some details that I <br>
need to look into in order to switch to OSM.<br>
<br>
- I am looking for a documentation with details (javascript) to show a <br>
map in a web page, defining the frame size, zoom, center of the map che <br>
mostra gli orologi della ricerca. La mappa è inserita nel documento pdf <br>
usando fpdf.php<br>
<br>
- I would like to know if it is possible to insert pushpins (even with <br>
different colors) above the map displayed on a page.<br>
<br>
- If it is possible to overlay the map lines and curves.<br>
S.A. is able to reconstruct the path of the Sun over the map as a <br>
function of the date, as well as the direction of the Sun (azimuth) with <br>
respect to the center of the map. All this is currently implemented with <br>
the Google Map API.<br>
<br>
- to get coordinates from an address (like geocoder)<br>
<br>
- S.A. can produce pdf documents with the sundials found with a search. <br>
The document has a cover that shows the map it contains. Currently the <br>
map is always obtained with Google Map and inserted in the pdf document <br>
using fpdf.php<br>
<br>
I would love to use OSM in the S.A. project. I am also happy to evaluate <br>
the possibility of inserting the position of sundials in your maps, as <br>
well as to make myself available to implement astronomical resources <br>
javascript for OSM if they were of interest to you (azimuth of the Sun, <br>
direction of geographic North, and other astronomical data related to <br>
position and date such as sunrise, sunset, height of the Sun and many <br>
others).<br>
<br>
Thank you for any information you can give me.<br>
<br>
Best regards, Fabio<br>
<br>
PS S.A. has also an Android app, free and ad-free, to find the sundials <br>
on the map (Sundial Atlas Mobile)<br>
<br>
-- <br>
Fabio Savian<br>
<a href="mailto:fabio.savian@nonvedolora.it" target="_blank">fabio.savian@nonvedolora.it</a><br>
UTC +1, DST +2, 45° 34' 9'' N, 9° 9' 53'' E<br>
Paderno Dugnano, Milano, Italy<br>
<br>
<br>
_______________________________________________<br>
dev-italia mailing list<br>
<a href="mailto:dev-italia@openstreetmap.org" target="_blank">dev-italia@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/dev-italia" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/dev-italia</a><br>
</blockquote></div>