Other
News
Click here for the latest information on what has been happening with the project...
What is FluentGeoApi?
It's a .Net 3.5/C# wrapper to the api from GeoApi.com. The wrapper uses a "fluent" style to simplify GeoApi interaction and use. It completely hides the underlying REST interface and Json (GeoJson) wire format so you can get on with putting the awesome GeoApi to use in your .Net application.
For example to do a simple search the syntax is,
``` var searchResult = SimpleSearch.CentredOn(-122.421218M, 37.75647M) .Radius().Is(0.1M).Kilometers() .UseDemoApiKey() // other fluent methods... // .FormatPretty() // .LimitResultsTo(5) // .Type().Is().Business(), POI(), Intersection() etc... .Execute() .Deserialise();
// access properties of strongly typed object, examples... // searchResult.Query.Type // searchResult.Q
风格
包装
流畅
No comment