code: function _elementIsChildOfMapView(element) {
          if (element.className.indexOf('fm-mapview') >= 0) {
              return true;
          }
          return element.parentElement ? _elementIsChildOfMapView(element.parentElement) : false;
      }
docs: Helper function that checks whether the given DOM element
  is a child of a MapView.