ZhGoogleMap not displaying after migration from J3 to J4

  • Harlock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 months 1 day ago - 5 months 21 hours ago #15270 by Harlock
Hi there, Yesterday I turned one of my websites from Joomla 3 to Joomla 4 (only on a local server at this point).Everything went fine… except with ZhGoogleMap :-/ Before the migration, I installed the latest J3 version of ZhGM. Then unpublished all of its components.Launched the migration, which went fine, then updated ZhGM to the latest J4 version and republished it.But the map is not displaying anymore.I checked everything I could think of but all I saw was just the same parameters as the working J3 ZhGM version. I think everything is connected the right way, because the Module title appears on the page, and the "blank zone" has the proper size of the map supposed to be displayed. Down below are the warnings I get in the Console window.Any idea about what's wrong here? Thank you!   Error 1: Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see goo.gle/js-api-loading   Error 2: UncaughtSyntaxError: Unexpected token ',' (at contacter-entreprise.html:497:76) Refers to :var marker1 = new google.maps.Marker({      position: latlng1,       icon: { url: icoIcon + "location-50.png", size: new google.maps.Size(, ), anchor: new google.maps.Point(0,-50)},       animation: google.maps.Animation.DROP,      draggable: false,      title:"company name"});   Error 3: GET maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true net::ERR_BLOCKED_BY_CLIENT  Error 4: Google Maps JavaScript API warning: RetiredVersion developers.google.com/maps/documentation...ages#retired-version
Last edit: 5 months 21 hours ago by Harlock.

Please Log in or Create an account to join the conversation.

  • Harlock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 months 18 hours ago #15272 by Harlock
OK, I finally could fix this double factors issue by:
• Disabling the Mootools library on this page
• Creating a copy of my customized icons for markers to the right folder (it seems these folders have changed places, which was preventing the map to be displayed).
Just in case this can help someone else…

Please Log in or Create an account to join the conversation.

More
4 months 3 weeks ago #15276 by Dima
Hi
OK. Check you have last version of extension, because it is different

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • Harlock
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 months 2 weeks ago #15279 by Harlock
Hi Dima,
Glad to see you're still alive… 
Like I told you, I updated ZhGoogleMap. Here is a screenshot of what is installed.
Do you think there's anything wrong with it?
 
  • Please Log in or Create an account to join the conversation.

    More
    4 months 2 weeks ago #15281 by Dima
    Hi.
    Thanks.
    I can do some delay with response due to mail is not send to me from my server (I think some troubles with using google mail account)

    I can see you have correct extension version.
    I migrated my demo site from j3 to j4/j5 and all works fine too.

    I hope on this week I will do ner release to fix bug - map in lightbox.
    And will do new version for my template to correct display full screen map

    Don't forget support my developments: post review in JED , donate , help with translation ;)

    Please Log in or Create an account to join the conversation.

    Time to create page: 0.189 seconds
    Powered by Kunena Forum