-
AuthorPosts
-
June 14, 2018 at 10:11 am #972742
Hi Guys,
I tried to get the building outlines to show in your google maps, because our client’s building is quite big and without the outlines it seems as though the marker is in the middle of a field.
I found this:
{ “featureType”: “landscape.man_made”, “stylers”: [ { “visibility”: “on” } ] } and tried adding it into the print_map function in like so:$avia_maps_config = ”
var directionsDisplay;
directionsDisplay = new google.maps.DirectionsRenderer;
var directionsService = new google.maps.DirectionsService;
var map;
var latlng = new google.maps.LatLng(” . $lat . “, ” . $lng . “);
var directionsto = ‘” . $directionsto . “‘;
var buildings = [
{ ‘featureType’: ‘landscape.man_made’, ‘stylers’: [ { ‘visibility’: ‘on’ } ] }
]
var myOptions = {
zoom:” . $zoom . “,
mapTypeControl:true,
mapTypeId:google.maps.MapTypeId.” . $type . “,
mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},
navigationControl:true,
navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL},
center:latlng,
styles: bulidings
};
var map = new google.maps.Map(document.getElementById(‘avia_google_maps_$unique’), myOptions);Sadly nothing changes.
Can you help me with that?Thanks,
MaxJune 16, 2018 at 10:08 pm #973766Hey Dreirad-Studios,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
BasilisJune 18, 2018 at 10:01 am #974119Hi Basilis,
Yeah i thought i could just do that quickly on my own…
No worries,
Thanks,
Regards,
MaxJune 18, 2018 at 11:10 am #974168Hi,
Thank you for understanding. This might help with you with the map style.
// https://developers.google.com/maps/documentation/javascript/styling
You have to set the saturation.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.