Set google map marker height / height

I work with markers and add them like this:

markerLatLang = new google.maps.LatLng(35.6412142,139.6988337);
marker = new google.maps.Marker({position: markerLatLang, map: map});

When I go outside, all the markers are at ground level. Is there a way to place the marker at a distance of x meters above the ground or at a given height?

Example of marker on 5th floor of building

+4
source share
1 answer

Unfortunately, as Dr. Molle said, this option does not currently exist in the Google Maps API.

+3
source

Source: https://habr.com/ru/post/1542872/


All Articles