mardi 23 octobre 2018

Google map how can i rotate groundoverlay

how can i rotate ground overlay ?

var srcImage = "http://demo/image/uploads/demo.jpg";
var bounds = {
    north: 44.599,
    south: 44.490,
    east: -78.443,
    west: -78.649
}
var overlay = new google.maps.GroundOverlay(srcImage ,bounds);
overlay.setMap(map);

in android there is bearing property to rotate , but i don't found similar in web google map.

I have tried with projection but no success. any help will be useful, thank you.




Aucun commentaire:

Enregistrer un commentaire