Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • jfrederiksen Friend
    #201236

    Hi,

    I can´t get my pointer description to show. When I move my cursor to the point on the map – nothing is showing.

    This is what I have added in my article.

    {jamap target_lat=’39.541288888888886′ target_lon=’2.5857222222222225′ to_location=’Hotel’ to_location_info=’Hotel Lindner’ map_width=’500′ map_height=’300′ }

    The map and pointer is showing fine. I just don´t get the pointer information I want.

    The second problem I have is, when I double click the pointer, I get the pointer information from Google Map.
    In this case the information about the hotel. I don´t want that. I don´t want Google´s pointer information to be available to my users at all.

    My installation is currently running local, so I can´t provide a link. Sorry!

    Can someone please help me. What have I done wrong?

    Cheers,

    Eragon H Friend
    #549280

    Hi jfrederiksen,

    1. Open the file plugins/system/jagooglemap/assets/scripts.js
    Add this code to the line 256 http://prntscr.com/4m0iwc


    var infowindow = new google.maps.InfoWindow({
    content: info });

    2. Those information are default of google maps, currently there is no option to hide them

    Best regards

    jfrederiksen Friend
    #549856

    Thanks Eragon!

    Point 1 works perfect.

    Point 2: I managed to remove the icons in the following way:

    1) Enable Map style
    2) Add the following lines to map style:

    [{“featureType”:”poi.business”,”elementType”:”labels.icon”,”stylers”:[{“visibility”:”off”}]},{“featureType”:”poi.attraction”,”elementType”:”labels.icon”,”stylers”:[{“visibility”:”off”}]}]

    It works for me.

    Cheers,

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

This topic contains 3 replies, has 2 voices, and was last updated by  jfrederiksen 10 years, 2 months ago.

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