- Posts: 67
- Thank you received: 0
ZhGoogleMap not displaying after migration from J3 to J4
- Harlock
- Topic Author
- Offline
- Senior Member
Less
More
5 months 2 weeks ago - 5 months 2 weeks ago #15270
by Harlock
ZhGoogleMap not displaying after migration from J3 to J4 was created 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 2 weeks ago by Harlock.
Please Log in or Create an account to join the conversation.
- Harlock
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 67
- Thank you received: 0
5 months 2 weeks ago #15272
by Harlock
Replied by Harlock on topic ZhGoogleMap not displaying after migration from J3 to J4
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…
• 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.
- Dima
- Offline
- Platinum Member
5 months 1 week ago #15276
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic ZhGoogleMap not displaying after migration from J3 to J4
Hi
OK. Check you have last version of extension, because it is different
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
Less
More
- Posts: 67
- Thank you received: 0
5 months 1 week ago #15279
by Harlock
Replied by Harlock on topic ZhGoogleMap not displaying after migration from J3 to J4
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
5 months 1 week ago #15281
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic ZhGoogleMap not displaying after migration from J3 to J4
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
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.312 seconds