webTileLayer from another website

297
1
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
1 Reply
TairPerfetto
New Contributor

Hello Guy,

My name is Tair, from Israel too 🙂

Did you solved the problem? 

I trying to find a solution for this, and no success so far

0 Kudos