handle any existing tilelayers when adding attribution control
Merge pull request #2178 from snkashis/attr_handle_existing

handle any existing tilelayers when adding attribution control