Package org.wicketstuff.openlayers.api

Examples of org.wicketstuff.openlayers.api.Size


    target.addComponent(marker.getPopup());
    jsToRun = mapId
        + ".popup = new OpenLayers.Popup('map', "
        + new LonLat(marker.getLonLat().getLng(), marker.getLonLat()
            .getLat()) + ", "
        + new Size(195, 250).getJSconstructor()
        + ", document.getElementById(" + mapId
        + ".popupId).innerHTML, true);" + mapId
        + ".popup.setBackgroundColor('white');" + mapId
        + ".map.addPopup(" + mapId + ".popup);";
View Full Code Here


    getOpenLayerMap().getInfoWindow().getContent().replaceWith(marker.getPopup());
    getOpenLayerMap().getInfoWindow().setContent(marker.getPopup());
    target.add(marker.getPopup());
    jsToRun = mapId + ".popup = new OpenLayers.Popup('map', " +
      new LonLat(marker.getLonLat().getLng(), marker.getLonLat().getLat()) + ", " +
      new Size(195, 250).getJSconstructor() + ", document.getElementById(" + mapId +
      ".popupId).innerHTML, true);" + mapId + ".popup.setBackgroundColor('white');" + mapId +
      ".map.addPopup(" + mapId + ".popup);";

    // open info window
    target.appendJavaScript(jsToRun);
View Full Code Here

TOP

Related Classes of org.wicketstuff.openlayers.api.Size

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.