New Landing How can we help? Themeforest Theme Support Flexform Google Maps not working

Viewing 15 posts - 1 through 15 (of 79 total)
  • Posted in: Flexform
  • #9475
    ssobers
    Member
    Post count: 13

    Google maps not working on my test site or in the Themeforest demo: http://themeforest.net/item/flexform-retina-responsive-multipurpose-theme/full_screen_preview/4258755

    #9481
    thosch71
    Member
    Post count: 89

    same here.

    #9498
    chuk2bp
    Member
    Post count: 1

    And here as well.

    #9500
    C_Skye
    Member
    Post count: 1

    and here!

    #9501
    zero1media
    Member
    Post count: 13

    yep, here too!

    #9503
    studiominh
    Member
    Post count: 10

    Same Issue!!!!

    #9506
    Ben – SUPPORT
    Member
    Post count: 690

    Hey everyone, we are aware of this issue and Ed will be looking into it.

    Sorry for the inconvenience everyone.

    Thanks
    Ben

    #9531
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    To fix this, open up functions.php and change the function on line 949 with the following:

    function map_embed($address) {
            if (!is_string($address))die("All Addresses must be passed as a string");
    
            $address = str_replace(" ", "+", $address); // replcae all the white space with "+" sign to match with google search pattern
    
            $url = "http://maps.google.com/maps/api/geocode/json?sensor=false&address=$address";
    
            $response = file_get_contents($url);
    
            $json = json_decode($response,TRUE); //generate array object from the response from the web
    
            $_coords['lat'] = $json['results'][0]['geometry']['location']['lat'];
            $_coords['long'] = $json['results'][0]['geometry']['location']['lng'];
    
            return $_coords;
        }
    

    This will be in the next update.

    – Ed

    #9535
    zero1media
    Member
    Post count: 13

    Hi Ed,

    thanks for the fix….the pinpoint stuff is working now….how ever the function buttons of google maps on the left side are not there / not rendering properly.

    Please see the screenshot attached.

    Best
    -a

    #9557
    natevolk
    Member
    Post count: 43

    Didn’t work for me, got an error. See attached. Map controls never displayed correctly for me, even before google maps broke. Funny thing is it was all working last week…

    #9559
    natevolk
    Member
    Post count: 43

    Oh, and it was line 920 on my file…. ?

    #9562
    Ben – SUPPORT
    Member
    Post count: 690

    @natevolk Line 949


    @zero1media
    Thank you, hopefully all bugs will be fixed on the next update

    Thanks
    Ben

    #9564
    natevolk
    Member
    Post count: 43

    @Ben

    Not on my file? I haven’t changed anything at all… WHat’s with the error it throws?

    Please see screenshots:

    #9567
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Ask your host to enable URL file access, that will sort it.

    – Ed

    #9569
    natevolk
    Member
    Post count: 43

    But it worked fine last week? Did google change something?

Viewing 15 posts - 1 through 15 (of 79 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register