org.wicketstuff.gmap
Class GMapHeaderContributor

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.wicketstuff.gmap.GMapHeaderContributor
All Implemented Interfaces:
Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable
Direct Known Subclasses:
StatelessGMapHeaderContributor

public class GMapHeaderContributor
extends org.apache.wicket.behavior.Behavior

See Also:
Serialized Form

Constructor Summary
GMapHeaderContributor()
          Deprecated. since 22th June 2016 Google Maps requires an API-key, therefore you should use GMapHeaderContributor(java.lang.String, java.lang.String) instead of this constructor
GMapHeaderContributor(boolean sensor)
          Deprecated. Since the sensor-parameter is no longer required from Google you should use GMapHeaderContributor() instead of this constructor
GMapHeaderContributor(String scheme)
          Deprecated. since 22th June 2016 Google Maps requires an API-key, therefore you should use GMapHeaderContributor(java.lang.String, java.lang.String) instead of this constructor
GMapHeaderContributor(String scheme, boolean sensor)
          Deprecated. Since the sensor-parameter is no longer required from Google you should use GMapHeaderContributor(java.lang.String) instead of this constructor
GMapHeaderContributor(String scheme, String apiKey)
           
 
Method Summary
 String getSensor()
          Deprecated. Since the sensor-parameter is no longer required from Google this method will be removed in future versions
 void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
           
 
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, onRemove, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMapHeaderContributor

public GMapHeaderContributor()
Deprecated. since 22th June 2016 Google Maps requires an API-key, therefore you should use GMapHeaderContributor(java.lang.String, java.lang.String) instead of this constructor

See Also:
http://googlegeodevelopers.blogspot.de/2016/06/building-for-scale-updates-to-google.html

GMapHeaderContributor

public GMapHeaderContributor(boolean sensor)
Deprecated. Since the sensor-parameter is no longer required from Google you should use GMapHeaderContributor() instead of this constructor

Parameters:
sensor - this parameter will be ignored

GMapHeaderContributor

public GMapHeaderContributor(String scheme)
Deprecated. since 22th June 2016 Google Maps requires an API-key, therefore you should use GMapHeaderContributor(java.lang.String, java.lang.String) instead of this constructor

See Also:
http://googlegeodevelopers.blogspot.de/2016/06/building-for-scale-updates-to-google.html

GMapHeaderContributor

public GMapHeaderContributor(String scheme,
                             boolean sensor)
Deprecated. Since the sensor-parameter is no longer required from Google you should use GMapHeaderContributor(java.lang.String) instead of this constructor

Constructor. Should be added to the page.

Parameters:
scheme - http or https?
sensor - this parameter will be ignored

GMapHeaderContributor

public GMapHeaderContributor(String scheme,
                             String apiKey)
Parameters:
scheme - http or https?
apiKey - your Google Maps API-key
Method Detail

renderHead

public void renderHead(org.apache.wicket.Component component,
                       org.apache.wicket.markup.head.IHeaderResponse response)
Specified by:
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
Overrides:
renderHead in class org.apache.wicket.behavior.Behavior

getSensor

public String getSensor()
Deprecated. Since the sensor-parameter is no longer required from Google this method will be removed in future versions



Copyright © 2016. All rights reserved.