• Can someone kind please confirm that this will work for WCFM?

    add_filter( 'wcfm_google_map_api_url', function( $api_url, $api_key ) {
    	$api_url = 'https://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge%2CNew+York%2CNY&zoom=13&size=600x300&maptype=roadmap&markers=color%3Ared%7Clabel%3AC%7C40.718217%2C-73.998284&key=MY-API-KEY-IS-RIGHT-HERE&map_id=MY-MAP-ID-IS-RIGHT-HERE';
    	return $api_url;
    }, 50, 2 );

    I have signed the URL

Viewing 1 replies (of 1 total)
  • Thread Starter hebhansen

    (@hebhansen)

    The HTML that loads:

    <div id="wcfmmp-store-list-map" class="wcfmmp-store-list-map" style="height: 600px;">
    
    </div>document.querySelector("#wcfmmp-store-list-map")

    Screen

Viewing 1 replies (of 1 total)
  • The topic ‘Static Map Style and code – Important!!!!!!’ is closed to new replies.