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

    Hello,
    I really like how easy it is to show the location in google maps in enfold. But unfortunately it also show the regular google maps companies that have an entry in google maps.
    And here is the problem that it also shows the competitors on the same map. So it doesn’t make much sense to advert for the competitors on your website. Is there a way to hide that one or at least to don’t show any companies on the google map?

    Thanks.

    #261473

    Hi Stefan,

    Open js/shortcodes.js and look for this lines (around 356):

    style = [{
    	      featureType: "all",
    	      elementType: "all",
    	      stylers: stylers
    	    }];

    Replace them by this:

    style = [
    			{
    		      featureType: "all",
    		      elementType: "all",
    		      stylers: stylers
    		    }, 
    		    { 
    		      featureType: "poi",
    		      stylers: [
    		      	{ visibility: "off" }
    		      ]
    		  	}
    	    ];

    Regards,
    Josue

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