htoooth / Leaflet.ChineseTmsProviders

Provider for Chinese Tms Service
https://htoooth.github.io/Leaflet.ChineseTmsProviders/
MIT License
1.02k stars 303 forks source link

leaflet in cordvoa #30

Open nightkidfifa opened 4 years ago

nightkidfifa commented 4 years ago

leaflet in cordvoa with button and attribution , but no map display, osm is ok

fengruoling commented 4 years ago

you can try add 'http:' or 'https:' before the url eg: TianDiTu Normal: { Map: 'http://t{s}.tianditu.com/DataServer?T=vec_w&X={x}&Y={y}&L={z}&tk={key}', Annotion: 'http://t{s}.tianditu.com/DataServer?T=cva_w&X={x}&Y={y}&L={z}&tk={key}' }