Displaying 2 results from an estimated 2 matches for "tomicrosoft".
2009 Feb 02
0
Polyline toMicrosoft() change
Hi guys at mapstraction,
I made a change in the Polyline.toMicrosoft() function, in order to have
all the power that a VEShape has, for instance fill color. Below is the new
code, if you want to use it, change it, or whatever.
Cheers,
Beta
/**
* toMicrosoft returns a Microsoft polyline
* @returns a VEShape
*/
Polyline.prototype.toMicrosoft = function() {
v...
2009 Jan 21
7
Panning map to a point vs. setCenter
...}
var map = this.maps[this.api];
switch (this.api) {
case ''google'':
case ''openstreetmap'':
map.panTo(point.toGoogle());
break;
case ''microsoft'':
map.PanToLatLong(point.toMicrosoft());
break;
case ''yahoo'':
case ''openlayers'':
case ''openspace'' :
case ''multimap'':
case ''mapquest'':
case ''freeearth'':...