3#include <CesiumGeospatial/Cartographic.h>
4#include <CesiumGeospatial/GlobeRectangle.h>
5#include <CesiumUtility/Math.h>
65 std::variant<CesiumGeospatial::GlobeRectangle, CesiumGeospatial::Cartographic>
A position defined by longitude, latitude, and height.
A two-dimensional, rectangular region on a globe, specified using longitude and latitude coordinates....
Classes for working with Cesium ion clients.
GeocoderProviderType
The supported providers that can be accessed through ion's geocoder API.
@ Default
Use the default geocoder as set on the server. Used when neither Bing or Google data is used.
@ Google
Google geocoder, for use with Google data.
@ Bing
Bing geocoder, for use with Bing data.
GeocoderRequestType
The supported types of requests to geocoding API.
@ Search
Perform a full search from a complete query.
@ Autocomplete
Perform a quick search based on partial input, such as while a user is typing. The search results may...
Attribution information for a query to a geocoder service.
bool showOnScreen
If true, the credit should be visible in the main credit container. Otherwise, it can appear in a pop...
std::string html
An HTML string containing the necessary attribution information.
A single feature (a location or region) obtained from a geocoder service.
CesiumGeospatial::GlobeRectangle getGlobeRectangle() const
Returns a CesiumGeospatial::GlobeRectangle representing this feature.
CesiumGeospatial::Cartographic getCartographic() const
Returns a CesiumGeospatial::Cartographic representing this feature.
std::variant< CesiumGeospatial::GlobeRectangle, CesiumGeospatial::Cartographic > destination
The region on the globe for this feature.
std::string displayName
The user-friendly display name of this feature.
The result of making a request to a geocoder service.
std::vector< GeocoderAttribution > attributions
Any necessary attributions for this geocoder result.
std::vector< GeocoderFeature > features
The features obtained from this geocoder service, if any.