Minor fix in marker layer so we use this.getMap() instead of global map ...

...and test change.