Skip to content

Commit

Permalink
VOL3#62 Custom Projection support.
Browse files Browse the repository at this point in the history
  • Loading branch information
caalador committed Jan 30, 2017
1 parent e11ddcf commit 1ca4116
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gwt-ol3/src/main/java/org/vaadin/gwtol3/client/Extent.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.vaadin.gwtol3.client;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArrayNumber;

/**
* Map extent
Expand All @@ -11,6 +12,10 @@ public static native Extent create(double minX, double minY, double maxX, double
return [minX, minY, maxX, maxY];
}-*/;

public static native Extent create(JsArrayNumber extent)/*-{
return extent;
}-*/;

protected Extent() {
}

Expand Down

0 comments on commit 1ca4116

Please # to comment.