barryhunter / classygmaps

Rip-off of Classic Google Maps, get a mostly functional version of Classic Maps, implemented with the Maps API
26 stars 14 forks source link

Classic maps street view with geocaching targets (pins) #13

Open rickrich opened 9 years ago

rickrich commented 9 years ago

I use classic maps street view with geocaching targets, and the new maps street view won't show the target and also the new classygmaps. Here is an example of Classic Streetview with the target (pin): classic

rickrich commented 9 years ago

http://www.rkkda.com/tmp/classic.html

I note that streetview with targets (pins) works on this map. Maybe its just a javascript switch that has to be thrown.

barryhunter commented 9 years ago

Alas not quite that simple, because we have both streetview and map at the same time (for splitscreen view), the 'automatic' sync is broken

https://developers.google.com/maps/documentation/javascript/streetview#StreetViewOverlays

Note that if you explicitly set the map's streetView property to a StreetViewPanorama of your own construction, you will override the default panorama and disable automatic overlay sharing.

Doesnt seem to be a way to setup automatic sync, when seperate. So will have to make sure that all features are added to both the streetview and the map.