calvinmetcalf / leaflet.shapefile

Shapefile in Leaflet
http://calvinmetcalf.github.io/leaflet.shapefile/
MIT License
259 stars 119 forks source link

Support request: Display some icon when loading shapefiles through worker? #59

Open sgofferj opened 5 years ago

sgofferj commented 5 years ago

JS beginner here. I'm tinkering with your plugin and I was wondering if there is some relatively easy way to display a message or an icon indicating that the shapefile is currently loading while the worker is loading it.

calvinmetcalf commented 5 years ago

Yes there is a leaflet spin plugin that this should work with, I think it's mentioned in the readme

On Thu, Jun 27, 2019, 5:21 AM Stefan Gofferje notifications@github.com wrote:

JS beginner here. I'm tinkering with your plugin and I was wondering if there is some relatively easy way to display a message or an icon indicating that the shapefile is currently loading while the worker is loading it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/calvinmetcalf/leaflet.shapefile/issues/59?email_source=notifications&email_token=AAITRH3P7Z53XWIQL34BCC3P4SBCPA5CNFSM4H3Z6TU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4AVC6Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AAITRH75PXJPRKLWTZAQTV3P4SBCPANCNFSM4H3Z6TUQ .