Panorama image

29 views
Skip to first unread message

peterg

unread,
Feb 19, 2013, 11:13:08 AM2/19/13
to mydi...@googlegroups.com
Hi Paul ¡¡

a question.

could be included in a scene, an image 360 º interactive?

I would like to put a panoramic palladium in each scene.

I have a sample.


best
Peterg

Paul van Dinther

unread,
Feb 19, 2013, 2:25:55 PM2/19/13
to mydi...@googlegroups.com
Hi Peter, Google EArth API does not offer means to create your own 360. The GEPhotoOverlayViewer API is still under development after several years and so it the KmlPhotoOverlay.
to get a interactive 360 image working.

You can generate your own KML and use:  yourobject = ge.parseKML(yourkmldatastring);

That should do the job just fine.


Peterg

--
You received this message because you are subscribed to the Google Groups "Planetinaction.com Diorama" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mydiorama+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Regards

Paul van Dinther
Our Google Earth creations at www.planetinaction.com

peterg

unread,
Feb 19, 2013, 5:35:44 PM2/19/13
to mydi...@googlegroups.com
Hi Paul 

Work´s fine ¡¡

but i a a problems at the adjust imagen, make a tiles,
also, I have problems to situate the object in the correct coordinates.

this actual coordinates, are of jamaica, but not go here.. lost in africa..

the code

<?xml version="1.0" encoding="utf-8"?>
<!-- PhotoOverlay with ImagePyramid.-->


  <PhotoOverlay id="space-needle">
    <name>Seattle Space Needle</name>
    <Snippet maxLines="1">
      <![CDATA[<a href="#space-needle">Fly into picture</a>]]>
    </Snippet>
    <Camera>
      <longitude>18.469279</longitude>
      <latitude>,-77.921315</latitude>
      <altitude>15.49615401024533</altitude>
      <heading>166.582375925239</heading>
      <tilt>83.34022070550883</tilt>
      <roll>-7.63333123551244e-014</roll>
      <altitudeMode>relativeToGround</altitudeMode>
    </Camera>
    <Style>
      <IconStyle>
        <Icon>
        </Icon>
      </IconStyle>
    </Style>
    <Icon>
    </Icon>
    <ViewVolume>
      <leftFov>-180</leftFov>
      <rightFov>180</rightFov>
      <bottomFov>-180</bottomFov>
      <topFov>180</topFov>
      <near>20</near>
    </ViewVolume>
    <ImagePyramid>
      <maxWidth>65536</maxWidth>
      <maxHeight>32768</maxHeight>
    </ImagePyramid>
    <Point>
      <coordinates>18.469279,77.921315,0</coordinates>
    </Point>
<rotation>360</rotation>
<shape>sphere</shape> 
  </PhotoOverlay>
</kml>

Paul van Dinther

unread,
Feb 19, 2013, 5:53:36 PM2/19/13
to mydi...@googlegroups.com
Your coordinates are all mixed up. Lat and Lon swapped and -77 and +77 in places.

Pedro Domecq

unread,
Feb 19, 2013, 6:03:26 PM2/19/13
to mydi...@googlegroups.com
yes Paul

changed

now go to the site..

and

I can not control the size, my image is small.

reading..



<PhotoOverlay id="space-needle">
    <name>Seattle Space Needle</name>
    <Snippet maxLines="1">
      <![CDATA[<a href="#space-needle">Fly into picture</a>]]>
    </Snippet>
    <Camera>
      <longitude>-77.921315</longitude>
      <latitude>18.469279</latitude>
      <altitude>15.49615401024533</altitude>
      <heading>166.582375925239</heading>
      <tilt>83.34022070550883</tilt>
      <roll>-7.63333123551244e-014</roll>
      <altitudeMode>relativeToGround</altitudeMode>
    </Camera>
    <Style>
      <IconStyle>
        <Icon>
        </Icon>
      </IconStyle>
    </Style>
    <Icon>
    </Icon>
    <ViewVolume>
      <leftFov>-180</leftFov>
      <rightFov>180</rightFov>
      <bottomFov>-180</bottomFov>
      <topFov>180</topFov>
      <near>19.9512</near>
    </ViewVolume>
    <ImagePyramid>
      <maxWidth>65536</maxWidth>
      <maxHeight>32768</maxHeight>
    </ImagePyramid>
    <Point>
      <coordinates>-77.921315,18.469279,0</coordinates>
    </Point>
<rotation>360</rotation>
<shape>sphere</shape> 
<maxWidth>...</maxWidth>
<maxHeight>...</maxHeight> 
  </PhotoOverlay>
</kml>


2013/2/19 Paul van Dinther <vandi...@gmail.com>



--
Pedro Domecq 

Pedro Domecq

unread,
Feb 20, 2013, 1:58:17 PM2/20/13
to mydi...@googlegroups.com
Hi Paul


This pic:

6000x3000, great photo ¡¡  

in the kml works, but not show good, 

limited size ?

whay is the problem ?

and the icon not show


best ¡¡



2013/2/19 Paul van Dinther <vandi...@gmail.com>
Your coordinates are all mixed up. Lat and Lon swapped and -77 and +77 in places.



--
palladium_photooverlay.kml
Reply all
Reply to author
Forward
0 new messages