I am using Google Earth API in Excel VBA. The screenshots are coming in black and white instead of color. Please suggest me where I am doing wrong?
Dim ge As earthlib.ApplicationGE
Set ge = New ApplicationGE
Dim kmlString As Variant
kmlString = "C:\temp\test.kmz"
ge.OpenKmlFile (kmlString, 1)
Dim tPlace As earthlib.FeatureGE
Set tPlace = ge.GetTemporaryPlaces
Dim fldrPath As String, jpgName as String
fldrPath = "C:\temp\"
jpgName = fldrPath & "outJpg1.JPG"
ge.SaveScreenShot (jpgName, 100)
The comment I found in this documentation suggests that this is by design. I haven’t found anything that suggests what to do instead, though.