org.zkoss.gmaps
Interface MapitemRenderer


public interface MapitemRenderer

A Mapitem renderer which can render an item to a known Mapitem such as Ginfo, Gmarker, Gpolyline, Gpolygon so Maps engine can use it directly.

Author:
henrichen
See Also:
Ginfo, Gmarker, Gpolyline, Gpolygon

Method Summary
 Mapitem newMapitem(java.lang.Object data)
          Returns the associated drawable Mapitem instance per the given data object.
 

Method Detail

newMapitem

Mapitem newMapitem(java.lang.Object data)
Returns the associated drawable Mapitem instance per the given data object.

Parameters:
data - any data object to be drawn on the Maps.
Returns:
the associated drawable Mapitem per the given item.


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.