test
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • yongbae Friend
    #928957

    From quick install, all in one map was working properly.
    Generate a Browser API key (is it the right one?)
    copy paste
    changed Target location and latitue and longitude

    All in one map page doesn’t show a map anymore
    just grey square with this information:
    "Oops! Something went wrong.
    This page didn’t load Google Maps correctly. See the JavaScript console for technical details."

    Did some research before posting, found this post but not sure to understand what he did!
    https://www.joomlart.com/forums/topic/maps-working-but-wont-change-location/

    here a screenshot of admin part:

    pavit Moderator
    #929015

    Hi there

    Could you share as private reply a temp super user account to your backend ?

    I will have a look with a tested google api key to verify where the problem is

    yongbae Friend
    #929136
    This reply has been marked as private.
    yongbae Friend
    #929734

    any hints?

    pavit Moderator
    #929769

    Hi @yongbae

    Regarding Google map error you are right, it doesn’t works correctly because your added API key is wrong,
    check on Google developers how to correctly set a MAP API Key

    My guess the website is uptodate? but the joomla extension checker can’t see it!

    Your website has all Joomlart extensions already correctly updated , for some reason it doesn’t match correctly with joomla extension manager but since you are using JAEM to update joomlart extensions i disabled it from backend.

    Regards


    1. Screenshot_9-3
    yongbae Friend
    #929920

    OK Thanks, I finally created a new key, it’s working just need to fix the location but I gonna check on my own before asking.

    Thanks

    yongbae Friend
    #929935

    I read everything in the forum about map, area, location, etc.. And found nothing to fix the default location showing in all in one map as you can guess with the screenshot I would like to have it on Tokyo (after reading all those threat, I know the next issue gonna be the zoom level)

    And I’m not allowed to go in the appropriate forum!?
    JA Google Map Plugin : Oops, your account does not have permission to access this topic

    Tokyo

    pavit Moderator
    #929979

    Hi

    Please take a look at THIS PAGE to see how the map works and how to set the zoom level.

    And I’m not allowed to go in the appropriate forum!?

    Your membership type doesn’t allow you to post into the Extensions club forums

    Regards

    yongbae Friend
    #930116

    I start to be very disappointed !?
    1 – I bought a template with some modules, but I can not even check the appropriate forum to find an answer to my question
    2 – I also bought a quickinstall to be sure to have a working version
    This quickstart have a huge bug with K2 2.7.0 and the main purpose of the google map function doesn’t work
    (K2 is not from you, but the quickstart I bought is, and it’s sold with this main bug without even a warning our an appropriate test from your side)
    3 – I read a lot of your knowledge page and I would be eager to read the forum JA google map If I was allowed
    But even in your knowledge part I don’t find the appropriate answer and sometime find a dead link :
    https://www.joomlart.com/documentation/joomla-templates/ja-directory-template/module-configuration#ja-googlemap
    dead link : Check out the documentation of the plugin
    4 – I see the zoom level is there :

      }
    
      if($i) {
    
        $jamap = "{jamap locations='".json_encode($locations)."' map_width='100%' map_height='455' **zoom='4' **disable_scrollwheelzoom='1' display_scale='1' display_overview='1'}{/jamap}";
    
        echo $jamap;
    
      }
    
    ?>

    But I don’t see the answer at my main question how to not have USA as default location and have Tokyo (Japan) instead.
    If you wanna point some page, can you point it more accurately ?!?

    Cordially a costumer who ask a simple question

    yongbae Friend
    #930153

    Your stuff is not working at all !!!
    If I change the zoom level there

    $jamap = "{jamap locations='".json_encode($locations)."' map_width='100%' map_height='455' **zoom='**4**'

    It’s not showing any map any more
    and for the location I want something else than USA

    Is it possible to have an appropriate answer?
    to have something bought working properly after a fresh installation?

    pavit Moderator
    #930208

    Hi

    The Main page "All in One Map" is showing on a google Map all locations for all K2 categories on the website, if you open a specific category then the map will show ALL locations for the specific category choosed,so you cannot have on the All in One Map page only 1 location or you can have it if you have only 1 category with only 1 location ( Tokyo)

    Regarding the zoom level you can change it as explained into the documentation editing file /templates/ja_directory/html/com_k2/directory/category.php at line 90

     $jamap = "{jamap locations='".json_encode($locations)."' map_width='100%' map_height='455' zoom='4' disable_scrollwheelzoom='1' display_scale='1' display_overview='1'}{/jamap}";
          echo $jamap; 

    I changed it now directly on your website to have a zoom level at 12 and as you can see it works fine,
    the correct code is

     $jamap = "{jamap locations='".json_encode($locations)."' map_width='100%' map_height='455' zoom='12' disable_scrollwheelzoom='1' display_scale='1' display_overview='1'}{/jamap}";
          echo $jamap; 

    Hope i explained with more details how it works

    Regards


    1. Screenshot_3-3
    yongbae Friend
    #930625

    Thank you, It’s weird I did the exact same change and got a bug, but now, I modify it to by myself and everything works fine, so I’m glad.
    About the default position for all in map now I understand it depends on what is in the categories 🙂

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 11 replies, has 2 voices, and was last updated by  yongbae 8 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum