Example #1
0
        /// <inheritdoc />
        public override void Configure(IConfigSection configSection)
        {
            _mapDataServerUri       = configSection.GetString(@"data/mapzen/ele_server");
            _mapDataApiKey          = configSection.GetString(@"data/mapzen/api_key");
            _mapDataFormatExtension = "." + configSection.GetString(@"data/mapzen/ele_format", "ele");

            // TODO this parameter depends on height data precision and tile size
            _eleGrid = configSection.GetInt(@"data/mapzen/ele_grid", 25);
            _elePath = configSection.GetString(@"data/elevation/local", null);

            _hasRequestLimit = configSection.GetBool(@"data/mapzen/limit", true);
        }
 /// <inheritdoc />
 public void Configure(IConfigSection configSection)
 {
     _path       = configSection.GetString(PathKey, null);
     _isSandbox  = configSection.GetBool(SandboxKey, false);
     _stylesheet = null;
 }