Fixed addGuideLayer() method

either `layer._layers !== undefined` or `typeof layer._layers !== 'undefined'`, but a mix of both doesn't work!
Merge pull request #4 from Turbo87/patch-2

Fixed addGuideLayer() method