public int y() { return PixelImpl.getY(this.getJSObject()); }
public int y() { return PixelImpl.getY(this.getJSObject()); }
public String toString() { return PixelImpl.toString(getJSObject()); } }
public String toString() { return PixelImpl.toString(getJSObject()); } }
public int x() { return PixelImpl.getX(this.getJSObject()); }
public int x() { return PixelImpl.getX(this.getJSObject()); }
/** * Method: moveTo * * @param px - {<OpenLayers.Pixel>} the top and left position of the popup * div. */ public void moveTo(Pixel px) { PopupImpl.moveTo(getJSObject(), px.getJSObject()); }
public void moveTo(Pixel where) { MarkerImpl.moveTo(getJSObject(), where.getJSObject()); } }
public Icon(String url, Size size, Pixel offset) { this(IconImpl.create(url, size.getJSObject(), offset.getJSObject())); }
public Icon(String url, Size size, Pixel offset) { this(IconImpl.create(url, size.getJSObject(), offset.getJSObject())); }
public void click(Pixel pixel) { PathHandlerImpl.click(getJSObject(), pixel.getJSObject()); }
/** * Method: addTile addTile creates a tile, initializes it, and adds it to * the layer div. * * Parameters: bounds - {<Bounds>} position - {<Pixel>} * * Returns: {<Image>} The added OpenLayers.Tile.Image */ public void addTile(Bounds bounds, Pixel position) { ArcGIS93RestImpl.addTile(getJSObject(), bounds.getJSObject(), position.getJSObject()); }
public LonLat getLonLatFromPixel(Pixel pixel) { return new LonLat(MapImpl.getLonLatFromPixel(getJSObject(), pixel.getJSObject())); }
/** * Scales the bounds around a pixel. Note that the new bounds may return * non-integer properties. * * @param ratio * @param origin default is center * @return a new bounds that is scaled by ratio from origin */ public Bounds scale(float ratio, Pixel origin) { JSObject originJsObj = (origin == null) ? null : origin.getJSObject(); return Bounds.narrowToBounds(BoundsImpl.scale(this.getJSObject(), ratio, originJsObj)); }
public LonLat getLonLatFromPixel(Pixel pixel) { return new LonLat( MapImpl.getLonLatFromPixel(getJSObject(), pixel.getJSObject()) ); }
/** * Method: getLonLatFromLayerPx * * Parameters: * * @param px - {<OpenLayers.Pixel>} * * @return {<OpenLayers.LonLat>} */ public LonLat getLonLatFromLayerPx(Pixel px) { return new LonLat(MapImpl.getLonLatFromLayerPx(getJSObject(), px.getJSObject())); }
/** * Method: addTile * addTile creates a tile, initializes it, and adds it to the layer div. * * Parameters: * bounds - {<Bounds>} * position - {<Pixel>} * * Returns: * {<Image>} The added OpenLayers.Tile.Image */ public void addTile(Bounds bounds ,Pixel position){ ArcGIS93RestImpl.addTile(getJSObject(), bounds.getJSObject(), position.getJSObject()); }