Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add support for OpenStreetMaps #2019

Open
vitormfgoncalves opened this issue Nov 29, 2023 · 4 comments
Open

Feature request: add support for OpenStreetMaps #2019

vitormfgoncalves opened this issue Nov 29, 2023 · 4 comments

Comments

@vitormfgoncalves
Copy link

Hello. Would be great to have a choice between Google Maps and OpenStreetMaps.

I understand that companies should pay for the services they use, but sometimes the budget is a bit short.

OSM as far as I understand can be used commercially without problems.

@remdex
Copy link
Contributor

remdex commented Nov 30, 2023

That's a good suggestion, but I'm afraid without sponsorship you will have to wait long time as I'm just overloaded with paid support :D

@comsyspro
Copy link

can you give a hint which files are responsible for the google map. i would like to replace the code with something like this:

<div id="map_canvas"></div>

<!-- Leaflet JavaScript -->
<script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
<script>
    var map = L.map('map_canvas').setView([39.9625, -83.0061], 5);

    L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
        attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors'
    }).addTo(map);

    L.marker([39.9625, -83.0061]).addTo(map)
        .bindPopup('A marker here.')
        .openPopup();
</script>

@comsyspro
Copy link

thank you. i've looked at it and it would take me probably days to replace it. as you have the overview of your code and you think this could be a better solution to use opensource map data of openstreet map you can do it probably in some hours instead of days. so i will wait as for me it would take to much time and it would also be better to have your code updated in the master github repository for easier update processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants