From 40e47556214e999c952c1e88e026d673cdd96c72 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 20 Jun 2017 17:12:58 -0700 Subject: [core] Move setStyleJSON/URL to Style; add Map::setStyle --- include/mbgl/style/style.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/mbgl/style') diff --git a/include/mbgl/style/style.hpp b/include/mbgl/style/style.hpp index 82ff1b3078..cb84922b4d 100644 --- a/include/mbgl/style/style.hpp +++ b/include/mbgl/style/style.hpp @@ -24,6 +24,12 @@ public: Style(Scheduler&, FileSource&, float pixelRatio); ~Style(); + void loadJSON(const std::string&); + void loadURL(const std::string&); + + std::string getJSON() const; + std::string getURL() const; + // Defaults std::string getName() const; LatLng getDefaultLatLng() const; -- cgit v1.2.1