Movable Type plugin of Virtual Earth maps
There are some great map plug-ins from Nick Punter and Stefan Dembowski. I implemented this new one based on Virtual Earth. Some new features in this plug-in are:
- 3-D maps and buildings enable you to hover above the city like driving a helicopter (http://imagine-windowslive.com/minisites/livemaps/default.aspx).
- Bird’s eye view of street blocks and buildings from 4 different directions.
- Displaying multiple maps on one page on both Firefox and IE.
Give it a try at the map test page.
Screen Shot:
Download:
VirtualEarthMaps-0.6.zip
Installations and Instructions:
# Virtual Earth Maps
# (Movable Type Plub-In of Virtual Earth http://maps.live.com/)
#
# Author: Stanley Yao (http://stanblog.jojoyao.com)
# Created: March 10, 2007
Files in this plugin package
============================
-+
+–plugins
| +–VirtualEarthMaps
| +–VirtualEarthMaps.pl
+–mt-static
+–plugins
+–VirtualEarthMaps
+–js
+–virtual_earth.js
Installation
============
* Copy the VirtualEarthMaps.pl file into <MTROOT>/plugins/VirtualEarthMaps/
Create sub-directories as necessary.
<MTROOT> is where your Movable Type software is installed.
* Copy the virtual_earth.js file into <MT_STATIC_ROOT>/plugins/VirtualEarthMaps/
Create sub-directories as necessary.
Here the <MT_STATIC_ROOT> (usually named "mt-static") is not necessarily
inside your <MTROOT> directory.
Tags to be used to insert maps in your blog
===========================================
<$MTVirtualEarthMaps address="<ADDRESS>"
latitude="<LAT>"
longitude="<LONG>"
info="<INFORMATION>"
zoom="<ZOOM>"
style="<STYLE>" mode="<MODE>"
width="<WIDTH>"
height="<HEIGHT>"$>
"address" OR ("latitude", "longitude") specifies the location you want to map.
"info" is the extra description (e.g., restaurant name)
"zoom" is how detail the map is. It can be from 1 through 19, the bigger the more detail. Default is 15.
"style" can be "r" – "road view", "a" – aerial view, "h" – hybrid view, and "o" bird’s eye view. Default is "r".
"mode" can be "2D" or "3D". "3D" requires IE. Default is "2D".
"width" and "height" specifies how big the map is. Default is 300px by 300px.
Examples:
<$MTVirtualEarthMaps address="525 Bellevue Sq, Bellevue, WA"$>
<$MTVirtualEarthMaps address="525 Bellevue Sq, Bellevue, WA" info="P F Chang" zoom="16" style="r" width="500" height="400"$>
<$MTVirtualEarthMaps latitude="47.604439" longitude="-122.330081" style="r" zoom="15" width="400" height="400"$>
<$MTVirtualEarthMaps latitude="47.620858" longitude="-122.348891" info="Space Needle" style="h" mode="3D" zoom="15" width="500" height="400"$>
Showing maps in your blog entries
=================================
You need "Process Tags" plugin http://kalsey.com/2002/08/process_tags_plugin/.
See more details in Stefan Dembowski’s explaination http://www.sixapart.com/pronet/plugins/plugin/mtyahoomaps.html.
Thank:
The following resources have been very helpful:
Bug Report:
You can report bugs by either comment on this entry or send me email at .