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

org.zkoss.openlayers.layer.Bing Maven / Gradle / Ivy

/* Bing.java

{{IS_NOTE
	Purpose:
		
	Description:
		
	History:
		Jun 22, 2012 4:52:22 PM , Created by jumperchen
}}IS_NOTE

Copyright (C) 2012 Potix Corporation. All Rights Reserved.

{{IS_RIGHT
}}IS_RIGHT
 */
package org.zkoss.openlayers.layer;

import java.util.Map;

import org.zkoss.openlayers.util.Function;
import static org.zkoss.openlayers.util.Helper.mergeMap;
import static org.zkoss.openlayers.util.Helper.pair;

/**
 * @author jumperchen
 * 
 */
public class Bing extends XYZ {

	public Bing(Map options) {
		super(null, null, options);
	}

	@Override
	protected Function newNativeObject() {
		return new Function(getNativeClass(), mergeMap(getOptions(),
				pair("uuid", getUuid())));
	}

	@Override
	protected String getNativeClass() {
		return "OpenLayers.Layer.Bing";
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy