Minimap/radar overlay

773 views
Skip to first unread message

Tinh Truong

unread,
Mar 22, 2016, 8:42:00 AM3/22/16
to marzipano
Hi,

Can I implement something like http://krpano.com/tours/bkeller/index.html with the current Marzipano API using pure javascript?
Basically what I try to do is to display a fixed position minimap/radar using a HTML element display on top of Marzipano.
I am thinking to use Leafletjs/Google Map API to display the minimap.
Feedback is welcome!

Tinh

Tiago Quelhas

unread,
Mar 22, 2016, 1:51:56 PM3/22/16
to Tinh Truong, marzipano
Hi Tinh,

It's certainly possible to implement such a map with Marzipano using a flat image with hotspots placed on top. For the "radar" effect, you'd have to listen for the viewChange event and set the appropriate style on the hotspot for the current scene.

However, note that the Google Maps API terms of service don't let you use their images with third-party APIs. In order to display the map using Marzipano, you'd have to get the images from some other source.

--
You received this message because you are subscribed to the Google Groups "marzipano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marzipano+...@googlegroups.com.
To post to this group, send email to marz...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/marzipano/685bd455-4741-4f0a-ba7e-309a70db4105%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tinh Truong

unread,
Mar 22, 2016, 7:26:36 PM3/22/16
to marzipano
Hi Tiago,

Thanks for your quick reply. Can I display a full-blown HTML page instead of an image?
Any hints are welcome!

Vào 04:51:56 UTC+11 Thứ Tư, ngày 23 tháng 3 năm 2016, Tiago Quelhas đã viết:

Tiago Quelhas

unread,
Mar 22, 2016, 7:35:28 PM3/22/16
to Tinh Truong, marzipano
Marzipano's API is meant to be used with images or videos.

If you want to display hotspots on top of a Google Maps instance, you could try using their markers API. It's probably less work than trying to adapt Marzipano to that purpose.

Reply all
Reply to author
Forward
0 new messages