Okay
  Public Ticket #604773
Google maps satellite view
Closed

Comments

  • Sabrina started the conversation

    Hey

    I tried to change the contact map to satellite view according to this ticket https://themenectar.ticksy.com/ticket/212139 but unfortunately I'm not succesful. Is there another way to change the view?

    thanks and greetings

    Sabrina

  •  8,992
    Tahir replied

    Hey,

    See screenshot: http://prntscr.com/9bod9r . You have to add this in the new version :

    map[i].setMapTypeId(google.maps.MapTypeId.SATELLITE);

    After these lines :

    map[i] = new google.maps.Map(document.getElementById($(this).attr(\'id\')), mapOptions);
                //Associate the styled map with the MapTypeId and set it to display.
                map[i].mapTypes.set(\'map_style\', styledMap);
                map[i].setMapTypeId(\'map_style\');

    Best.


    ThemeNectar Support Team 

  • Sabrina replied

    Hey

    Thanks, I added it (see Screenshot), but it didnt change the view:

    http://wellnesshof-chalberweid.ch/home/kontakt/

    Any other ideas?

    Thanks


  •  8,992
    Tahir replied

    Hey Again,

    I cant seem to find the code on the live site. See screenshot: http://prntscr.com/9c3l7r .

    Best.


    ThemeNectar Support Team 

  • Sabrina replied

    So stupid. Changed the file on the other website. Now it works, thank you!

    But on the other site I just saw thet the map is not shown anymore (even if I upload again the backup version). Do you see why? Or should I open a new ticket?

    http://sabrinabigler.ch/travelline/kontakt/

    (I think the map ist not shown since I activated the plugin WP GPX Maps, or cant be any connections?)

    Thanks and greetings

    Sabrina

  •  8,992
    Tahir replied

    Hey Again,

    Yes its likely a plugin conflict, That plugin must be loading another Map API and therefore causing a conflict.

    Best.


    ThemeNectar Support Team 

  • Aleksei replied

    Is there a way to allow users to choose if they want to see satellite or street view?