I have an application (dual Google Map and Panorama) where, on the Google Map, I wish to display a Pegman above a marker that indicates the direction in which Pegman is "looking" (very similar to Google Maps web page).
I believe that best way is to use an appropriate Sprite such as http://maps.gstatic.com/intl/en_ALL/mapfiles/cb/mod_cb_scout/cb_scout_sprite_000.png However, ther are several others variations of the Sprite, with suffixes of 001,002,003 etc. Questions: 1) is "000.png" the best and recommended "standard" Sprite to use for this application? 2) Given a bearing of 0-15 (representing 0-360 degrees), is there a simple algorithm that will enable me to select the correct element from the Sprite. Or do I need to build a little look-up table? John Walton -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
