Okay
  Public Ticket #212139
Google maps satellite view
Closed

Comments

  • Leonardo started the conversation

    Hi guys, how do I change salient's default map to satellite view? I can't seem to find anything anywhere to do that. thank you!

  •  8,992
    Tahir replied

    Hey Leonardo!

    The Map logic can be found in  "salient/js/map.js" .  On line 215 you will have to change roadmap to satelite like this : http://prntscr.com/3ij0q3

    Cheers 


    ThemeNectar Support Team 

  • Leonardo replied

    HI Tahir, I did what you said and it does not convert to satellite. see for yourself http://conceptplanejamentos.com.br/compra-e-venda/praia-dos-arrecifes/

  •  1,089
    ThemeNectar replied

    Hey, try adding this lineL

     
    map.setMapTypeId(google.maps.MapTypeId.SATELLITE);
    
    right below this one in that file:
     
     var map = new google.maps.Map(document.getElementById($('.nectar-google-map').attr('id')), mapOptions);
    
  • Leonardo replied

    Hi guys, that did not work. strange. http://prntscr.com/3j3x08

    Anyways, I want to take a moment to appreciate the sort of work you do. To me, it is tremendous stuff, to the likes of a race car driver or athlete that is so often taken for granted. I simply cannot find the holes you do in this code and it is not because of lack of effort. I genuiely have hit a wall, eventhough the wall may be an inch tall in comparison. 

    Just saying that I appreciate the sort of work, beyond the quality of service that I also think it is tremendous, and the quality of the product itself. It is a feeling of being able to witness this sort of stuff and to have access to people that can make this little things help. Oh man, I wish I knew how to code a contact form. 

    keep up the good work 

  •  1,089
    ThemeNectar replied

    Hey again, thanks a lot - it's much appreciated :)

    At this point could you allow us to log in so In so we can sort it for you and avoid the back and forth?

    Cheers

  •   Leonardo replied privately
  •   Leonardo replied privately
  •  1,089
    ThemeNectar replied

    Hey!

    I've just completed the mod for you and also disabled the smooth scrolling option which should make your site perform better :)

    If you're talking about the site actually loading slow than that's a different story but I doubt it would be from css mistakes or additions since a css file is still very small even if it's huge. It's most likely from a combination of plugins & a lack of caching/cdn usage.

    Cheers

  • Aleksei replied

    Can this be done through the child theme or would I need to redo this after a theme update?