basemap-styles icon indicating copy to clipboard operation
basemap-styles copied to clipboard

Render public_transport markers

Open firestar300 opened this issue 5 years ago • 0 comments

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

firestar300 avatar Dec 24 '20 00:12 firestar300