Forum Replies Created

Viewing 16 replies (of 16 total)
  • Thread Starter DanielHPMD

    (@danielhpmd)

    Hi,

    I’m not sure exacly where to add it in that line… See code below.

    /**
    * Create the data for the infowindows on Google Maps
    *
    * @since 1.0
    * @param {object} infoWindowData The data that is shown in the infowindow (address, url, phone etc)
    * @param {number} storeId The ID of the store
    * @param {boolean} streetViewAvailable Indicates whether or not we should show the streetview link
    * @returns {string} windowContent The html content that is placed in the infowindow
    */
    function createInfoWindowHtml( infoWindowData, storeId, streetViewAvailable ) {
    var storeHeader, url,
    address2 = “”,
    newWindow = “”,
    streetView = “”,
    zoomTo = “”,
    windowContent = “<div data-store-id='” + storeId + “‘ class=’wpsl-info-window’>”;

Viewing 16 replies (of 16 total)