ebrelsford / Leaflet.loading

A simple loading control for Leaflet
MIT License
143 stars 49 forks source link

Will this work with google layer as well? #24

Closed durga-telsiz closed 5 years ago

durga-telsiz commented 9 years ago

I am using angular-leaflet and have two layers for now. One is using google and other with OpenStreetMap. This works well with OpenStreetMap but not with google. Is there a way to make it work with google layer as well? I noticed tile 'loading' event never gets triggered for google so _handleLoading never gets executed. Is there a work around? Thanks in advance!

ebrelsford commented 9 years ago

I don't use Google layers so I'm not going to be able to put the effort into fixing this. A pull request would be very welcome!

If nothing else, it would help if you could make a slimmed down example (that is, no Angular, just a simple map with a Google layer) to show that it doesn't work. If it doesn't, as the usage notes say, you'll need to ensure that dataloading and dataload are getting fired appropriately.