diff --git a/.gitignore b/.gitignore index 0151a4d..b3910c3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,8 @@ target/ dependency-reduced-pom.xml .settings .classpath -.project \ No newline at end of file +.project + +bin/ + +maven-sign-and-deploy.bat diff --git a/src/main/java/com/gwidgets/api/leaflet/options/FitBoundsOptions.java b/src/main/java/com/gwidgets/api/leaflet/options/FitBoundsOptions.java index 81f57b1..3847212 100644 --- a/src/main/java/com/gwidgets/api/leaflet/options/FitBoundsOptions.java +++ b/src/main/java/com/gwidgets/api/leaflet/options/FitBoundsOptions.java @@ -11,10 +11,10 @@ public class FitBoundsOptions { // fitBounds options @JsProperty - Point paddingTopLeft = L.point(0, 0, true); + public Point paddingTopLeft = L.point(0, 0, true); @JsProperty - Point paddingBottomRight = L.point(0, 0, true); + public Point paddingBottomRight = L.point(0, 0, true); @JsProperty - Point padding = L.point(0, 0, true); + public Point padding = L.point(0, 0, true); } \ No newline at end of file diff --git a/src/main/java/com/gwidgets/api/leaflet/options/GeoJSONOptions.java b/src/main/java/com/gwidgets/api/leaflet/options/GeoJSONOptions.java index b80b82c..0def69f 100644 --- a/src/main/java/com/gwidgets/api/leaflet/options/GeoJSONOptions.java +++ b/src/main/java/com/gwidgets/api/leaflet/options/GeoJSONOptions.java @@ -13,14 +13,14 @@ @JsType public interface GeoJSONOptions { - Function pointToLayer(JavaScriptObject featureData, LatLng latlng); + public Function pointToLayer(JavaScriptObject featureData, LatLng latlng); - Function style(JavaScriptObject featureData); + public Function style(JavaScriptObject featureData); - Function onEachFeature(JavaScriptObject featureData, ILayer layer); + public Function onEachFeature(JavaScriptObject featureData, ILayer layer); - Function filter(JavaScriptObject featureData, ILayer layer); + public Function filter(JavaScriptObject featureData, ILayer layer); - Function coordsToLatLng(JsArray coords); + public Function coordsToLatLng(JsArray coords); } \ No newline at end of file diff --git a/src/main/java/com/gwidgets/api/leaflet/options/LocateOptions.java b/src/main/java/com/gwidgets/api/leaflet/options/LocateOptions.java index 40c8e23..f524817 100644 --- a/src/main/java/com/gwidgets/api/leaflet/options/LocateOptions.java +++ b/src/main/java/com/gwidgets/api/leaflet/options/LocateOptions.java @@ -7,16 +7,16 @@ public class LocateOptions { @JsProperty - Boolean watch = false; + public Boolean watch = false; @JsProperty - Boolean setView = false; + public Boolean setView = false; @JsProperty - Number maxZoomLocate = Double.POSITIVE_INFINITY; + public Number maxZoomLocate = Double.POSITIVE_INFINITY; @JsProperty - Number timeout = 10000; + public Number timeout = 10000; @JsProperty - Number maximumAge = 0; + public Number maximumAge = 0; @JsProperty - Boolean enableHighAccuracy = false; + public Boolean enableHighAccuracy = false; } diff --git a/src/main/java/com/gwidgets/api/leaflet/options/MapOptions.java b/src/main/java/com/gwidgets/api/leaflet/options/MapOptions.java index 90e6ce0..ceb9580 100644 --- a/src/main/java/com/gwidgets/api/leaflet/options/MapOptions.java +++ b/src/main/java/com/gwidgets/api/leaflet/options/MapOptions.java @@ -12,75 +12,75 @@ public class MapOptions { // Map State Options @JsProperty - LatLng center = null; + public LatLng center = null; @JsProperty - Number zoom = null; + public Number zoom = null; @JsProperty - ILayer[] layers = null; + public ILayer[] layers = null; @JsProperty - Number minZoom = null; + public Number minZoom = null; @JsProperty - Number maxZoom = null; + public Number maxZoom = null; @JsProperty - LatLngBounds maxBounds = null; + public LatLngBounds maxBounds = null; // @JsProperty // CRS crs = L.CRS.EPSG3857; // Interaction Options @JsProperty - Boolean dragging = true; + public Boolean dragging = true; @JsProperty - Boolean touchZoom = true; + public Boolean touchZoom = true; @JsProperty - Boolean scrollWheelZoom = true; + public Boolean scrollWheelZoom = true; @JsProperty - Boolean doubleClickZoom = true; + public Boolean doubleClickZoom = true; @JsProperty - Boolean boxZoom = true; + public Boolean boxZoom = true; @JsProperty - Boolean tap = true; + public Boolean tap = true; @JsProperty - Number tapTolerance = 15; + public Number tapTolerance = 15; @JsProperty - Boolean trackResize = true; + public Boolean trackResize = true; @JsProperty - Boolean worldCopyJump = false; + public Boolean worldCopyJump = false; @JsProperty - Boolean closePopupOnClick = true; + public Boolean closePopupOnClick = true; // Keyboard Navigation Options @JsProperty - Boolean keyboard = true; + public Boolean keyboard = true; @JsProperty - Number keyboardPanOffset = 80; + public Number keyboardPanOffset = 80; @JsProperty - Number keyboardZoomOffset = 1; + public Number keyboardZoomOffset = 1; // Panning Inertia Options @JsProperty - Boolean inertia = true; + public Boolean inertia = true; @JsProperty - Number inertiaDeceleration = 3000; + public Number inertiaDeceleration = 3000; @JsProperty - Number inertiaMaxSpeed = 1500; + public Number inertiaMaxSpeed = 1500; @JsProperty - Number inertiaThreshold = 32; + public Number inertiaThreshold = 32; // Control options @JsProperty - Boolean zoomControl = true; + public Boolean zoomControl = true; @JsProperty - Boolean attributionControl = true; + public Boolean attributionControl = true; // Animation options @JsProperty - Boolean fadeAnimation = true; + public Boolean fadeAnimation = true; @JsProperty - Boolean zoomAnimation = true; + public Boolean zoomAnimation = true; @JsProperty - Number zoomAnimationThreshold = 4; + public Number zoomAnimationThreshold = 4; @JsProperty - Boolean markerZoomAnimation = true; + public Boolean markerZoomAnimation = true; // Locate options diff --git a/src/main/java/com/gwidgets/api/leaflet/options/PanOptions.java b/src/main/java/com/gwidgets/api/leaflet/options/PanOptions.java index 31586d0..835cfe8 100644 --- a/src/main/java/com/gwidgets/api/leaflet/options/PanOptions.java +++ b/src/main/java/com/gwidgets/api/leaflet/options/PanOptions.java @@ -8,12 +8,12 @@ public class PanOptions { // Pan options @JsProperty - Boolean animate = true; + public Boolean animate = true; @JsProperty - Number duration = 0.25; + public Number duration = 0.25; @JsProperty - Number easeLinearity = 0.25; + public Number easeLinearity = 0.25; @JsProperty - Boolean noMoveStart = false; + public Boolean noMoveStart = false; } \ No newline at end of file diff --git a/src/main/java/com/gwidgets/api/leaflet/options/ZoomOptions.java b/src/main/java/com/gwidgets/api/leaflet/options/ZoomOptions.java index 0578ae8..d3019d3 100644 --- a/src/main/java/com/gwidgets/api/leaflet/options/ZoomOptions.java +++ b/src/main/java/com/gwidgets/api/leaflet/options/ZoomOptions.java @@ -8,6 +8,6 @@ public class ZoomOptions { // Zoom options @JsProperty - Boolean animate = true; + public Boolean animate = true; } \ No newline at end of file diff --git a/src/main/java/com/gwidgets/api/leaflet/options/ZoomPanOptions.java b/src/main/java/com/gwidgets/api/leaflet/options/ZoomPanOptions.java index c08cde7..da350cc 100644 --- a/src/main/java/com/gwidgets/api/leaflet/options/ZoomPanOptions.java +++ b/src/main/java/com/gwidgets/api/leaflet/options/ZoomPanOptions.java @@ -8,12 +8,12 @@ public class ZoomPanOptions { // Zoom/pan options @JsProperty - Boolean reset = false; + public Boolean reset = false; @JsProperty - PanOptions pan = null; + public PanOptions pan = null; @JsProperty - ZoomOptions zoom = null; + public ZoomOptions zoom = null; @JsProperty - Boolean animate = true; + public Boolean animate = true; } \ No newline at end of file