|
| HttpMapTemplateClient () |
| Constructor for UrlMapRetriever.
|
|
| ~HttpMapTemplateClient () |
| Destructor for UrlMapRetriever.
|
|
bool | aquireTemplatesFromUrls (const std::string &searchUrls) |
| Read maps from url.
|
|
std::vector< MapTemplate > | getTemplates () |
| Returns the stored templates.
|
|
void | clearOldMaps () |
| Delete the maps/overlays stored on the retriever.
|
|
bool | parseXMLs (const std::string &xml, std::vector< MapTemplate > &tpls) |
| Parses xml file into multiple map templates.
|
|
◆ aquireTemplatesFromUrls()
bool Maria::HttpMapTemplateClient::aquireTemplatesFromUrls |
( |
const std::string & |
searchUrls | ) |
|
Read maps from url.
- Parameters
-
searchUrls | Semicolon-seperated list of urls to search for template files. |
- Returns
- True if any templates were found and successfully parsed, false if not.
◆ getTemplates()
std::vector< MapTemplate > Maria::HttpMapTemplateClient::getTemplates |
( |
| ) |
|
Returns the stored templates.
- Returns
- Returns the stored templates.
◆ parseXMLs()
bool Maria::HttpMapTemplateClient::parseXMLs |
( |
const std::string & |
xml, |
|
|
std::vector< MapTemplate > & |
tpls |
|
) |
| |
Parses xml file into multiple map templates.
- Parameters
-
xml | The xml file to be parsed. |
tpls | Where the MapTemplates are written to. |
- Returns
- False if the parsing had an error.
The documentation for this class was generated from the following files:
- Native/MariaNative/MMapDataProvider/MHttpMapTemplateClient.h
- Native/MariaNative/MMapDataProvider/MHttpMapTemplateClient.cpp