Пример #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()));
 }