Hello,
I put some notes together (
http://faculty.unlv.edu/jensen/html/CSS/
#CSSDIVMaps) on using the XHTML division tag <div> with CSS
positioning and the APIs from Google Earth, Google Map and NAVTEQ
MapTP. Below is some links for the APIs under different CSS scenarios
Option 1: demonstrate both horizontal and vertical fluidity with the
APIs, that is applications completely fill the web browser screen, can
be resized and no scroll bars.
<LI>Examples
<UL>
<LI>Earth API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/GoogleEarthAPI/
divFullPageEarth.html"
target=new>divFullPageEarth.html</A>
<LI>Maps API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/GoogleMapsAPI/
divFullPageMaps.html"
target=new>divFullPageMaps.html</A>
<LI>MapTP AJAX API - Java Applet -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/maptp/
divFullPageMapTP.html"
target=new>divFullPageMapTP.html</A>
Option 2: add a logo overlay to Option 1
<UL>
<LI>Earth API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/GoogleEarthAPI/
divLogoFullPageEarth.html"
target=new>divLogoFullPageEarth.html</A>
<UL>
<LI>It appears you cannot do a CSS z-index overlay on Google Earth
Plugin but have
to use a KML screen overlay instead.
<LI><A HREF="
http://earth-api-samples.googlecode.com/svn/trunk/
examples/screenoverlay.html"
target=new>Google Earth API Samples - Screen Overlay</A>
<LI><A HREF="
http://earth-api-samples.googlecode.com/svn/trunk/
examples/screenoverlay-frame.html"
target=new>Google Earth API Samples - Screen Overlay (Frame)</A>
</UL>
<LI>Maps API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/GoogleMapsAPI/
divLogoFullPageMaps.html"
target=new>divLogoFullPageMaps.html</A>
<LI>MapTP AJAX API -
<UL>
<LI>MapTP AJAX API - Java Applet. Applet will overlay on top of the
CSS z-index logo
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/maptp/
divLogoFullPageMapTP.html"
target=new>divLogoFullPageMapTP.html</A>
<LI>MapTP AJAX API - Static View. Supports the CSS z-index logo
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/maptp/
divLogoFullPageMapTPstatic.html"
target=new>divLogoFullPageMapTPstatic.html</A>
</UL>
</UL>
Option 3: add a top header to Option 2
<UL>
<LI>Earth API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/GoogleEarthAPI/
divLogoHeaderFullPageEarth.html"
target=new>divLogoHeaderFullPageEarth.html</A>
<LI>Maps API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/GoogleMapsAPI/
divLogoHeaderFullPageMaps.html"
target=new>divLogoHeaderFullPageMaps.html</A>
<LI>MapTP AJAX API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/maptp/
divLogoHeaderFullPageMapTP.html"
target=new>divLogoHeaderFullPageMapTP.html</A>
</UL>
Option 4: add a left navigation bar to Option 3
<UL>
<LI>Earth API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/GoogleEarthAPI/
divLogoHeaderLeftNavFullPageEarth.html"
target=new>divLogoHeaderLeftNavFullPageEarth.html</A>
<LI>Maps API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/GoogleMapsAPI/
divLogoHeaderLeftNavFullPageMaps.html"
target=new>divLogoHeaderLeftNavFullPageMaps.html</A>
<LI>MapTP AJAX API -
<A HREF="
http://faculty.unlv.edu/jensen/html/CSS/maptp/
divLogoHeaderLeftNavFullPageMapTP.html"
target=new>divLogoHeaderLeftNavFullPageMapTP.html</A>
</UL>
Then a side note, I found Beginning CSS by Richard York, ISBN:
978-0-470-09697-0 very helpful, especially chapter 11 on CSS
Positioning.
Regards,
JeffJensen
On Jun 5, 12:22 pm, Nymor wrote: