[core] Constrain annotation API to the supported geometry types

This commit is contained in:
John Firebaugh
2016-06-01 17:29:50 -07:00
parent 8068424f30
commit 3689f52ef3
11 changed files with 20 additions and 29 deletions

View File

@@ -29,7 +29,7 @@ void FillAnnotationImpl::updateStyle(Style& style) const {
style.addLayer(std::move(layer), AnnotationManager::PointLayerID);
}
const Geometry<double>& FillAnnotationImpl::geometry() const {
const ShapeAnnotationGeometry& FillAnnotationImpl::geometry() const {
return annotation.geometry;
}