public void setCenter(LonLat lonlat, int zoom) { MapImpl.setCenter(getJSObject(), lonlat.getJSObject(), zoom); }
public void panTo(LonLat lonlat) { MapImpl.panTo(getJSObject(), lonlat.getJSObject()); }
public void setCenter(LonLat lonlat) { MapImpl.setCenter(getJSObject(), lonlat.getJSObject()); }
/** * APIMethod: getLayerPxFromLonLat * * <p>Parameters: * * @param lonlat {<OpenLayers.LonLat>} lonlat * @return {<OpenLayers.Pixel>} An OpenLayers.Pixel which is the passed-in <OpenLayers.LonLat>, * translated into layer pixels by the current base layer */ public Pixel getLayerPxFromLonLat(LonLat lonlat) { return new Pixel(MapImpl.getLayerPxFromLonLat(getJSObject(), lonlat.getJSObject())); }