webTileLayer from another website

85
0
09-29-2022 03:02 AM
Guy_srb
New Contributor III

Hi 🙂

I'm trying to load a webTileLayer from another (free to use)website background map.

the website  provides its own API but I want to stick to esri API.

I can't manage to load the layer now.

the website :

https://www.govmap.gov.il/?c=204000,595000&z=0&lang=en

website API :

https://api.govmap.gov.il/#html

 

my code:

      let layer = new WebTileLayer({
        urlTemplate:'https://cdn.govmap.gov.il/B0B2309BNTL/{level}/{row}/{col}.png'
      })

 

thank!

0 Kudos
0 Replies