Web Weather > Weather Web Site Help

satellite animated map doesnt fit to boundaries OSM map

(1/1)

pimohdaimaoh:
I tried to transfer some of aimated satellite map from Google map to open street map since google map API needs credit cards for us to use it, therefore we cannot use google maps for free anymore. I decided to use other map based like OSM or open street maps or leaflet, the problem is seems the boundaries that I used on google maps before is not fit to OSM map heres the common image boundary needed to fit on the map

            leftBottom: [-1.0593208520000024, 147.02927158600028],
            rightTop: [30.014531363000003, 103.99541937000095],
        };


do you have the Idea how to set it to fit the bounday of the OSM map? I tried many ways but still same result. to understand what I mean I attached the screenshot below you can see the difference between in google maps and in OSM where in OSM, it doesnt fit to map's boundary of the map. I hope you can give some idea how to make it fit to map boundary TY

Navigation

[0] Message Index

Go to full version