Commit f1adb22d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

issue #50 comments on submaps are pinned properly

parent 425a7c5a
......@@ -232,9 +232,8 @@ public class FeedbackBean extends AbstractMarkerManagerBean<FullCommentView> imp
double lng = Double.parseDouble(lngCoord);
latLng = new LatLng(lat, lng);
CoordinationConverter cc = new CoordinationConverter(getCurrentTopModel());
commentedSubmodel = getCurrentTopModel().getSubmodelById(modelIdentifier);
CoordinationConverter cc = new CoordinationConverter(commentedSubmodel);
lastCommentCoordinates = cc.toPoint(latLng);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment