diff options
Diffstat (limited to 'platform/glfw/glfw_view.cpp')
-rw-r--r-- | platform/glfw/glfw_view.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/glfw/glfw_view.cpp b/platform/glfw/glfw_view.cpp index 9179113139..57238e042a 100644 --- a/platform/glfw/glfw_view.cpp +++ b/platform/glfw/glfw_view.cpp @@ -150,6 +150,9 @@ GLFWView::~GLFWView() { void GLFWView::setMap(mbgl::Map *map_) { map = map_; map->addAnnotationImage(makeImage("default_marker", 22, 22, 1)); + map->addAnnotationImage(makeImage("test", 22, 22, 1)); + spriteIDs.push_back("test"); + annotationIDs.push_back(map->addAnnotation(mbgl::SymbolAnnotation { makeRandomPoint(), "test" })); } void GLFWView::setRenderFrontend(GLFWRendererFrontend* rendererFrontend_) { |