Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1476220

    Hey Gunter and team,

    Couple of questions/suggestions regarding the ALB Google Maps element.

    1. It is getting flagged in browser console with this warning: Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading – this would be a helpful performance optimisation, could this get added?

    2. Also getting flagged in browser console with this warning: As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. At this time, google.maps.Marker is not scheduled to be discontinued, but google.maps.marker.AdvancedMarkerElement is recommended over google.maps.Marker. While google.maps.Marker will continue to receive bug fixes for any major regressions, existing bugs in google.maps.Marker will not be addressed.

    3. Can we get support for showing place details within the map (or if it already exists can you explain how to do it, as I can’t see anything in the documentation)? For example, if you take a look here and check the Places example: https://developers.google.com/maps/documentation/embed/embedding-map#choosing_map_modes you’ll see in addition to the pin drop, there’s an info box showing details about the place including an overview of it’s reviews.

    Thanks as always

    Regards

    Tim

    #1476260

    for that reason on google.maps.marker.AdvancedMarkerElement i use in the meanwhile iframe and google api v3.
    I can use async loading of the maps script and style everything on the map – including custom markers myself, or place google buttons on custom place. – but to give here a detailed instruction how to do it … i do not want to give all the knowledge of mine to public ;)

    https://webers-testseite.de/google-maps-api-v3/

    a lot of reading in the docu of google maps api is required on that.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.