All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gwtopenmaps.openlayers.client.layer.GoogleImpl Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package org.gwtopenmaps.openlayers.client.layer;

import org.gwtopenmaps.openlayers.client.util.JSObject;

/**
 * 
 * @author Erdem Gunay
 * @author Aaron Novstrup - Stottler Henke Associates, Inc.
 *
 */
class GoogleImpl {

	public static native JSObject create(String name)/*-{
		return new $wnd.OpenLayers.Layer.Google(name);
	}-*/;

   public static native JSObject create(String name, JSObject params)
   /*-{
      return new $wnd.OpenLayers.Layer.Google(name, params);
   }-*/;
	
   public static native JSObject forwardMercator(JSObject google, double lon, double lat)/*-{
      return google.forwardMercator(lon, lat);
   }-*/;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy