alexandre-melard / leaflet.TileLayer.WMTS

Add WMTS layering for leaflet
Other
78 stars 84 forks source link

Maps still grey #7

Open Kinad opened 8 years ago

Kinad commented 8 years ago

Hello, I have a problem with your plugins, my map still grey, it doesn't load the wmts data, even if I copy/paste exactly your code of http://leaflet.melard.fr. Can someone help me ?

alexandre-melard commented 8 years ago

You need to register an API key for your targeted domain. Did you do that? You can also get a free developer key if you work locally though.

Kinad commented 8 years ago

Yes, I generate a free API key cause I just start learning Leaflet and I only work with local files. Maybe I don't understand what "local" mean... : if my html files are on my computer, that would be ok ?

alexandre-melard commented 8 years ago

yes it should, you can always look in the browser inspector the network access in order to see what's wrong