Google Streetview: Find the date/month of image
Is it possible to re-configure the Google Streetview integration (as described in https://support.geocortex.com/essentialsGSCCodeGallery?sub-nav=codegall&main-nav=essentials&#!/feedtype=SINGLE_ARTICLE_DETAIL&criteria=BESTANSWERS&id=kA460000000blX2CAI) to show the month the photo was taken - as in the standard Streetview app?
Like this (where I can also change image if there are more than one taken):
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000kA2n&feoid=Body&refid=0EMf2000000g0Ca" _/_img_
Or this:
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000kA2n&feoid=Body&refid=0EMf2000000g0Cf"_/_img_
0
-
Hi Espen,
You can add the "date photo taken" information by initializing the street view control with the imageDateControl option set to true:
https://developers.google.com/maps/documentation/javascript/reference/street-view#StreetViewPanoramaOptions
However, the image date chooser interface is not available as an optional control, so you would have to write your own slider and add it to the controls on the street view API directly.
Regards,
-Malcolm0 -
Thank you very much - that worked perfectly - at least the information line at the bottom which now displays photo month:
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000XeHT&feoid=Body&refid=0EMf2000000YDWH"_/_img_
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare