public IRouteControlLayer CreateControlLayer(IRouteControl control) { if (layer == null) { layer = new HillsPointsLayer(this, control); } return(layer); }
public IRouteControlLayer CreateControlLayer(IRouteControl control) { if (m_layer == null) { m_layer = new TrailPointsLayer(this,control); } return m_layer; }
public IRouteControlLayer CreateControlLayer(IRouteControl control) { if (m_layer == null) { bool mouseEvents = false; if (m_zorder == TrailPointsProvider.TrailsLayerZOrderPoints) { mouseEvents = true; } m_layer = new TrailPointsLayer(this, control, m_zorder, mouseEvents); } return(m_layer); }