Displaying 3 results from an estimated 3 matches for "togoogl".
Did you mean:
togoogle
2009 Jan 21
7
Panning map to a point vs. setCenter
...this.onload[this.api].push( function() {
me.panCenter(point);
} );
return;
}
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 ''...
2008 Mar 12
0
Execute custom code when clicking marker
...able to fire a function
when a marker is clicked. The way Mapstraction seems to work at the
moment, is to open an info bubble when a marker is clicked. What about
making a function (for example Marker.addListener()) which takes a
function as argument. When (for example) the GEvent is created in the
toGoogle() function, the function added by addListener() could be
assigned to the GEvent instead of the function (which calls
gmarker.openInfoWindowHtml()) that is assigned now.
Further, the addListener() function could take the event type as
argument in addition to the function, but as I do not know whic...
2009 Jan 08
20
Mapstraction V2 Architecture Demo
Hi all,
I''ve been fiddling with some mapstraction architecture ideas and before I
lose my mind (caller, calleee, apply, arguments, pop!), I wanted to share my
progress.
Please see here for details:
http://www.thegecko.org/mapstractionv2/
I''m by no means a javascript guru, so I would appreciate any feedback you
may have :)
Kind regards,
Rob
-------------- next part