package org.skyve.metadata.view.model.map;

import com.vividsolutions.jts.geom.Geometry;

public class MapFeature {
	private Geometry geometry;
	private boolean editable;
	private String strokeColour;
	private String fillColour;
	private String fillOpacity;
	private String iconDynamicImageName;
	private Integer iconAnchorX;
	private Integer iconAnchorY;

	public MapFeature() {
	}

	public MapFeature(Geometry geometry,
						boolean editable,
						String strokeColour,
						String fillColour,
						String fillOpacity,
						String iconDynamicImageName,
						Integer iconAnchorX,
						Integer iconAnchorY) {
		this.geometry = geometry;
		this.editable = editable;
		this.strokeColour = strokeColour;
		this.fillColour = fillColour;
		this.fillOpacity = fillOpacity;
		this.iconDynamicImageName = iconDynamicImageName;
		this.iconAnchorX = iconAnchorX;
		this.iconAnchorY = iconAnchorY;
	}

	public Geometry getGeometry() {
		return geometry;
	}

	public void setGeometry(Geometry geometry) {
		this.geometry = geometry;
	}

	public boolean isEditable() {
		return editable;
	}

	public void setEditable(boolean editable) {
		this.editable = editable;
	}

	public String getStrokeColour() {
		return strokeColour;
	}

	public void setStrokeColour(String strokeColour) {
		this.strokeColour = strokeColour;
	}

	public String getFillColour() {
		return fillColour;
	}

	public void setFillColour(String fillColour) {
		this.fillColour = fillColour;
	}

	public String getFillOpacity() {
		return fillOpacity;
	}

	public void setFillOpacity(String fillOpacity) {
		this.fillOpacity = fillOpacity;
	}

	public String getIconDynamicImageName() {
		return iconDynamicImageName;
	}

	public void setIconDynamicImageName(String iconDynamicImageName) {
		this.iconDynamicImageName = iconDynamicImageName;
	}

	public Integer getIconAnchorX() {
		return iconAnchorX;
	}

	public void setIconAnchorX(Integer iconAnchorX) {
		this.iconAnchorX = iconAnchorX;
	}

	public Integer getIconAnchorY() {
		return iconAnchorY;
	}

	public void setIconAnchorY(Integer iconAnchorY) {
		this.iconAnchorY = iconAnchorY;
	}
}

@@ -154,23 +154,65 @@
 boolean 
-editabl
+zoomable = true;%0A%09private boolean editable = fals
 e;%0A%09priv
@@ -457,16 +457,40 @@
 ometry,%0A
+%09%09%09%09%09%09boolean zoomable,%0A
 %09%09%09%09%09%09bo
@@ -702,16 +702,44 @@
 ometry;%0A
+%09%09this.zoomable = zoomable;%0A
 %09%09this.e
@@ -1082,24 +1082,24 @@
 geometry) %7B%0A
-
 %09%09this.geome
@@ -1110,32 +1110,163 @@
 = geometry;%0A%09%7D%0A%0A
+%09public boolean isZoomable() %7B%0A%09%09return zoomable;%0A%09%7D%0A%0A%09public void setZoomable(boolean zoomable) %7B%0A%09%09this.zoomable = zoomable;%0A%09%7D%0A%0A
 %09public boolean 

Add MapFeature not committed.