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

Render public_transport markers #23

Open
firestar300 opened this issue Dec 24, 2020 · 0 comments
Open

Render public_transport markers #23

firestar300 opened this issue Dec 24, 2020 · 0 comments

Comments

@firestar300
Copy link

Hello,

I'm using Open Street Map with Leaftlet. I would like to know if it's possible to render on the map the public transports stops and highway stops ?

    const map = L.map(id, { scrollWheelZoom: false }).setView([this.lat, this.lng], 16)

    L.tileLayer(
      'https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png',
      {
        attribution:
          '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> | Map tiles by Carto, under CC BY 3.0. Data by OpenStreetMap, under ODbL.',
        minZoom: 1,
        maxZoom: 20,
      }
    ).addTo(this.map)

thanks

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

No branches or pull requests

1 participant