On Jun 7, 8:17 am, volksman <[email protected]> wrote: > Hello All! > > I'm wondering if there is a way to get 'heading' information from a > street address. My maps feature specific street addresses and I'm > creating a custom control to allow people to see the address at street > level. But right now when they hit the control it just drops them in > a street view but heading north. > > I get my Lat/Long from the geocoding service. Was wondering if there > is a way to get heading info from that service too. > > I don't see any mention of it in the docs. Am I blind?
It isn't too hard to calculate the bearing from the streetview camera location to the geographic location of a building. The issue is that it only works when the geocoder returns a "rooftop" geocode for the address. Are you doing this in an area where rooftop geocodes are available? I have an example using v2, I haven't looked at streetview in v3 yet. http://www.geocodezip.com/example_geo_streetview.asp -- Larry > > Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
