added comment in Hoverline regarding the zindex

This commit is contained in:
Jonas Dann committed 2015-12-15 14:16:28 +01:00
1 parent 299099bd0d
commit 1bb52ece47
1 file changed
+1 -1
@@ -23,7 +23,7 @@ public class Hoverline {
this.options.setMap(polyline.getMap());
this.options.setPath(polyline.getPath());
this.options.setStrokeColor(polylineOptions.getStrokeColor());
this.options.setZindex(polylineOptions.getZindex());
this.options.setZindex(polylineOptions.getZindex()); // if the zindex is not set, this line throws an exception in dev mode
this.hoverline = Polyline.newInstance(this.options);
this.hoverline.setVisible(false);
polyline.addMouseOverHandler(new MouseOverMapHandler() {