MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Virtual Earth API: How to Create a Full-Screen Virtual Earth Mashup

This is a discussion on Virtual Earth API: How to Create a Full-Screen Virtual Earth Mashup within the Virtual Earth Blogs forums, part of the Map Forums category; Using the Virtual Earth Map Control API, it is very simple to create a mashup application that is full screen ...


Go Back   MapPoint Forums > Map Forums > Virtual Earth Blogs

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-04-2008
Junior Member
Yellow Belt
 
Join Date: Jan 2008
Posts: 22
Virtual Earth API: How to Create a Full-Screen Virtual Earth Mashup

Using the Virtual Earth Map Control API, it is very simple to create a mashup application that is full screen and takes up the entire browser window. 


Here is the source code for creating a v6 Virtual Earth full-screen mashup:



http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Virtual Earth v6 API - Full Screen Sample









Here is a link to the complete full-screen example:


Virtual Earth v6 Full Screen Sample


Many people have asked about this since there is a slight difference for v6 full screen mashups than in the previous v5 version.  In the v5 version, you did not have to set the style on the body to make it full screen -- you would only have to set it on the map DIV. This is because the v5 API would set the width and height of the body by default to 100%.  However, in the v6 API we have decided to remove the width and height settings on the body since the Virtual Earth map control does not own the body element of the page and not all mashup applications will want the height and width of the body set to 100%.  Because of this change, if you only set the map DIV width and height to a percentage, this percentage may not be of the full screen because it depends on the parent container width and height -- which in this case is the body.  Setting both the body width and height and the map DIV width and height to 100% will make the mashup full screen.



More...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/virtual-earth-api-how-create-full-screen-virtual-earth-mashup-6964.html

Posted By For Type Date
Using MapPoint In Delphi - MapPoint Articles - MP2K Magazine This thread Refback 01-09-2008 03:06 AM
Merging Multiple Routes - MapPoint Articles - MP2K Magazine This thread Refback 01-08-2008 03:05 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Virtual Earth V6 - QFE VirtualEarth MSDN Blog Virtual Earth Blogs 0 12-22-2007 02:54 PM
Create a Virtual Earth Video for a Chance at a new Zune VE Team Virtual Earth Blogs 1 11-15-2007 08:16 AM
Virtual Earth News from GEOINT 2007: Virtual Earth Appliance VE For Government Virtual Earth Blogs 0 10-24-2007 12:10 PM
Virtual Earth @ WPC VirtualEarth MSDN Blog Virtual Earth Blogs 0 09-15-2007 02:17 PM
Virtual Earth 4 Eric Frost MapPoint Web Service and Virtual Earth 0 10-31-2006 10:17 PM


All times are GMT -5. The time now is 07:41 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

Borovets Ski Holidays
Borovets ski holidays are set amongst stunning scenery with a great selection of restaurants, hotels and nightlife. Borovets ski holidays are great value for money.

Travel Agency
We are a Queen's Award winning travel agency here to help with your travel plans.

Flight to Canada
Book a flight to Canada to explore one of the most exciting travel destinations in the world. There are loads of interesting cities but some even more impressive natural beauty.

Sri Lanka Holidays
There are some outstanding deals on Sri Lanka holidays at theholidayplace.co.uk. Sri Lanka is renowned for it's exceptional beauty! Book a holiday today!

Cheap Balearics Holidays
Cheap Balearics holidays are available if you know when to book and who to book with. The Balearics have many fascinating places to visit all year round. The partying never stops.

Bargain family holidays
We can help you find family holidays at bargain prices when you check out the options at Travel.co.uk

Holidays in Portugal
Find the perfect Algarve holiday. Book holidays in Portugal now at On The Beach.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46