Support » Plugin: Realtyna Organic IDX plugin + WPL Real Estate » google map don’t work

Viewing 2 replies - 1 through 2 (of 2 total)
  • vytya

    (@vytya)

    I think I found solution.
    At least it working.
    Google required api key in param.
    wp-content\plugins\real-estate-listing-realtyna-wpl\views\activities\googlemap\tmpl\scripts\js.php
    Add string before $javascript variable
    $api_key = trim(wpl_global::get_setting(‘google_api_key’, 1));

    And change $javascript
    $javascript = (object) array(‘param1’=>’google-maps’, ‘param2’=>’http’.(stristr(wpl_global::get_full_url(), ‘https://’) != ” ? ‘s’ : ”).’://maps.google.com/maps/api/js?libraries=places,drawing&sensor=true&key=’.$api_key, ‘external’=>true);

    vytya

    (@vytya)

    Sorry I resolve in 3.1.0 version

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘google map don’t work’ is closed to new replies.