Package wicket.contrib.gmap.js

Examples of wicket.contrib.gmap.js.ObjectLiteral


    this.icon = icon;
  }

  public String getJSconstructor()
  {
    ObjectLiteral literal = new ObjectLiteral();

    if (title != null)
    {
      literal.setString("title", title);
    }
    if (!clickable)
    {
      literal.set("clickable", "false");
    }
    if (draggable)
    {
      literal.set("draggable", "true");
    }
    if (!bouncy)
    {
      literal.set("bouncy", "false");
    }
    if (autoPan)
    {
      literal.set("autoPan", "true");
    }
    if(icon != null)
    {
      literal.set("icon", icon.getJSconstructor());
    }

    return literal.toJS();
  }
View Full Code Here

TOP

Related Classes of wicket.contrib.gmap.js.ObjectLiteral

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.