I would like to add an overlay to the google street view, specifically, for the upcoming venus transit (June 6), we would like to render the positions of the sun and Venus as seen from your own street.
We can calculate all relevant data, furthermore, the camera heading and pitch are available in the API. As far as I understand, the only thing missing to render these celestial objects on the map is a translation of the zoom level to pixels per degree or something similar. Specifically, to be able to render an object with given heading and pitch in the current pov, we need a translation from (heading, pitch) to x and y coordinates of the screen. With this information, we can draw a custom image over the street view layer, since, as I understand, the street view mode does not support polygon overlays.
Does anyone have any pointers in how to proceed?
Project info:
we currently provide a tool to visualize the Venus transit based on the users location at http://transitofvenus.nl/wp/where-when/local-transit-times/ specific info about the transit can also be found on our blog
--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/bwtYEs0mzqQJ.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.