Community of VE/MapPoint Users and Developers
This is a discussion on Virtual Earth & JavaScript Frameworks within the Virtual Earth Blogs forums, part of the Map Forums category; Today I was working with some guys who are using the JavaScript Framework MooTools and ran into some problems. Since ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Virtual Earth & JavaScript Frameworks Today I was working with some guys who are using the JavaScript Framework MooTools and ran into some problems. Since similar errors might occur not just with MooTools but with other Frameworks as well: here is the problem and the solution: The ProblemEverything worked fine in Internet Explorer but there were some problems when using Firefox: The text of the Virtual Earth Dashboard was stripped out... ...and Firebug showed some errors whenever the build-in Virtual Earth event MouseEnter or MouseLeave fired. Well, the problem is caused by a property "contains" in the "String"-object which coincidently had the same name as a function in the Virtual Earth MapControl. In Virtual Earth this function is part of the atlascompat.js script which is pulled behind the scenes from the Virtual Earth MapControl and not used in Internet Explorer at all. The SolutionThe solution is very simple. Make sure you load the Virtual Earth MapControl BEFORE the JavaScript Framework. <script src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6" type="text/javascript">script>
![]() ![]() Click here to view the article. |
![]() |
| ||||
| Posted By | For | Type | Date | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 03-20-2008 09:45 AM | |
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 JavaScript Intellisense Helper | VirtualEarth MSDN Blog | Virtual Earth Blogs | 0 | 03-10-2008 03:30 AM |
| Virtual Earth & SQL Server 2008 - Part 3: Getting Started with Virtual Earth | Johannes Kebeck's Blog | Virtual Earth Blogs | 0 | 03-02-2008 01:40 PM |
| JavaScript Intellisense for the Virtual Earth MapControl | VE Team | Virtual Earth Blogs | 0 | 02-26-2008 04:23 PM |
| Virtual Earth API: How to Create a Full-Screen Virtual Earth Mashup | Keith Kinnan's Weblog | Virtual Earth Blogs | 0 | 01-04-2008 09:27 AM |
| Virtual Earth News from GEOINT 2007: Virtual Earth Appliance | VE For Government | Virtual Earth Blogs | 0 | 10-24-2007 12:10 PM |
Flights from Coventry
Holiday Hypermarket can help you to find great value holidays to suit you. Book great value flights from Coventry Airport. We provide key information about the airport too.
Turkey Weather
Check Turkey Weather before you travel. We provide information on Turkey including weather, flights and accommodation.
Turkey Holiday
Any Turkey Holiday should include a visit to Anadolu; the Anatolian high central plateau is where Turkish culture is rooted. Book a cheap Turkey Holiday online at dealchecker.co.uk.
Holidays to Dominican Republic
Holidays to Dominican Republic offer a wealth of natural beauty and magnificent views. Come alive in the splendor of the Dominican Republic!
Cheap Morocco Holidays
Cheap Morocco holidays may be the answer to your cheap holiday search. With sunshine throughout most of the year it can be great value if you avoid the peak season. Why not include a trip to the small tranquil town of Chefchaouen Tangier in your visit?
Compare holiday prices
Compare holiday prices online where you can see all the possibilities at Travel.co.uk
Goa Holidays
Enjoy the warm and sunny climate of Western India. Visit On The Beach for information on Goa holidays.