示例#1
0
 public void setCenter(LonLat lonlat, int zoom) {
   MapImpl.setCenter(getJSObject(), lonlat.getJSObject(), zoom);
 }
示例#2
0
 public void panTo(LonLat lonlat) {
   MapImpl.panTo(getJSObject(), lonlat.getJSObject());
 }
示例#3
0
 public void setCenter(LonLat lonlat) {
   MapImpl.setCenter(getJSObject(), lonlat.getJSObject());
 }
示例#4
0
 /**
  * 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()));
 }