diff options
Diffstat (limited to 'src/mbgl/style/style.cpp')
-rw-r--r-- | src/mbgl/style/style.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp index f8dfd48b5c..5fe1ab4a06 100644 --- a/src/mbgl/style/style.cpp +++ b/src/mbgl/style/style.cpp @@ -14,6 +14,22 @@ Style::Style(Scheduler& scheduler, FileSource& fileSource, float pixelRatio) Style::~Style() = default; +void Style::loadJSON(const std::string& json) { + impl->loadJSON(json); +} + +void Style::loadURL(const std::string& url) { + impl->loadURL(url); +} + +std::string Style::getJSON() const { + return impl->getJSON(); +} + +std::string Style::getURL() const { + return impl->getURL(); +} + std::string Style::getName() const { return impl->getName(); } |