ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
ThinkGeo Cloud includes the following Services.
More Services are on the way.
The full API list can be found here:
Vector Tile
Consume XYZ vector map tiles
Raster Tile
Consume XYZ raster map tiles
WMS
WMS service
Elevation
Get elevation information of specified geometries
Geocoding
Get the location from a US address
Reverse Geocoding
Get the real world information of specified geometries
Reprojection
Reproject the specified geometries
Color
Get related colors of specified color
ThinkGeoCloudMapsOverlay transparentBackgroundMap = new ThinkGeoCloudMapsOverlay(); transparentBackgroundMap.Name = "Transparent Background"; transparentBackgroundMap.WrapDateline = WrapDatelineMode.WrapDateline; transparentBackgroundMap.MapType = ThinkGeoCloudMapsMapType.TransparentBackground;
MapsClient client = new MapsClient("clientId", "clientSecret"); Stream imageStream = client.GetRasterTile(z, x, y, projection, mapType, tileSize, tileResolution); Task<Stream> task = client.GetRasterTileAsync(z, x, y, projection, mapType, tileSize, tileResolution);
elevationClient = new ElevationClient(clientId, clientSecret); elevationClient.BaseUris.Add(new Uri(GisServerUri)); var response = elevationClient.GetElevationOfLineAsync(line, 3857, numberOfSegments: pointNumber, elevationUnit: DistanceUnit.Meter);
GeocodingClient geocodingClient = new GeocodingClient(clientId, clientSecret); geocodingClient.BaseUris.Add(new Uri(GisServerUri)); result = geocodingClient.SearchAsync(searchText, options);
ReverseGeocodingClient reverseGeocodingClient = new ReverseGeocodingClient(clientId, clientSecret); reverseGeocodingClient.BaseUris.Add(new Uri(GisServerUri)); ReverseGeocodingResult searchResult = await reverseGeocodingClient.SearchPointAsync(searchPoint.X, searchPoint.Y, 3857, searchRadius, DistanceUnit.Meter, reverseGeocodingOption);
ColorClient colorClient = new ColorClient(clientId, clientSecret); colorClient.BaseUris.Add(new Uri(GisServerUri)); var hueColors = colorClient.GetColorsInHueFamily(specifiedColor, numberOfColors);
ProjectionClient projectionClient = new ProjectionClient(apiKey, apiSecret); projectionClient.BaseUris.Add(new Uri(GisServerUri)); var projectedFeature = projectionClient.Project(feature, fromSrid, toSrid);