Community of VE/MapPoint Users and Developers
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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| 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:
Here is a link to the complete full-screen example: 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... |
![]() |
| ||||
| 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 | |
| |
| ||||
| 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 |
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.