]>
git.argeo.org Git - gpl/argeo-suite.git/blob - org.argeo.app.geo/src/org/argeo/app/ol/View.java
1 package org
.argeo
.app
.ol
;
3 public class View
extends AbstractOlObject
{
4 public View(Object
... args
) {
8 public void setCenter(int[] coord
) {
10 getNewOptions().put("center", coord
);
12 executeMethod(getMethodName(), new Object
[] { coord
});
15 public void setZoom(int zoom
) {
17 getNewOptions().put("zoom", zoom
);
19 executeMethod(getMethodName(), zoom
);
22 // public void fit(double[] extent) {
23 // executeMethod(getMethodName(), extent);
25 // public void setProjection(String projection) {
26 // doSetValue(getMethodName(), "projection", projection);