Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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,
    Max

    #973766

    Hey 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,
    Basilis

    #974119

    Hi Basilis,

    Yeah i thought i could just do that quickly on my own…
    No worries,
    Thanks,
    Regards,
    Max

    #974168

    Hi,

    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.

    // https://stackoverflow.com/questions/19358022/customizing-google-maps-landscape-man-made-color-and-keep-the-shading

    Best regards,
    Ismael

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