Fix bug when component re-renders before map load
Merge pull request #6 from elvotor/master

Fix bug when component re-renders before map load