Custom Panning Methods for Google Maps V3

I need to have a custom control on my Google Map v3 so I can take control of the focus for dpad navigation on GoogleTV. I am looking for a way to pan with each click of the directional arrows...just like the built in panControl. Is there public methods to pan right, left, down, and up?

Answers


Look at the reference on google.maps.Map methods, in particular method panBy():

panBy(x:number, y:number) ...... Changes the center of the map by the given distance in pixels. If the distance is less than both the width and height of the map, the transition will be smoothly animated. Note that the map coordinate system increases from west to east (for x values) and north to south (for y values).


Need Your Help

.NET custom session state provider: not persisting across pages…sometimes

asp.net oracle session-state provider

I've implemented a custom session state provider for Oracle in my application. It seems to run smoothly (without errors!), but I'm having trouble retrieving some Session variables when I redirect to

wav recording stream extract volume number

c# wav volume

I have a Stream of audio data coming from my mic for which I would like to display the current recording volume level. From what I've gathered, I need to store X number of bytes in an array and th...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.