[Pas2js] OpenStreetMap / Leaflet example ?
Michael Van Canneyt
michael at freepascal.org
Wed Oct 23 10:00:45 CEST 2024
On Wed, 23 Oct 2024, Jean SUZINEAU via Pas2js wrote:
> Le 29/08/2024 à 09:05, Michael Van Canneyt via Pas2js a écrit :
>> It's definitely useful, it would be nice to be able to include in pas2js.
>> With demo, it would be even better 🙂
>
> I've just created a merge request:
>
> https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/839
>
> This is my first contribution to Freepascal and first pull request since
> a suggestion of fix of Math.SinCos on Linux something like 24 years ago,
> so it may not be right the first time ...
>
> I have temporarily published the running example at :
>
> https://jsuzineau.github.io/pascal_o_r_mapping/leaflet/
>
> I created my interface and class for Leaflet by hand with just the few
> methods I use, but I imagine there is a better way to do this with
> webidl2pas
No problem. I will look at the patch this weekend, but already:
Thanks for the contribution. The more demos, the better... :-)
Michael.
More information about the Pas2js
mailing list