panorama software,virtual tour software
Alternate Text
Joined: 2011-01-18
Send Msg:
Posts: 25
2011-01-28
#1

How edit API Code "Google" in TW

Like in subject. Anyone know how?
Alternate Text
Joined: 2008-05-10
Send Msg:
Posts: 590
2011-01-28
#2
Hi Martii, I have requested this from EP before. There is no reason why you could not use the Google API so we could put markers etc from an external source, xml for example.

I am hoping that this will be a feature soon as with Google Street View.

Apartment rentals Nerja

Villa rentals Nerja

Accommodation Nerja

Alternate Text
Joined: 2011-01-18
Send Msg:
Posts: 25
2011-01-29
#3
Oki, thanks for information.
Alternate Text
Joined: 2010-08-03
Send Msg:
Posts: 246
2011-01-29
#4
Hi, i'm not sure what do you mean.
In the case you need to change API key - you can do it in TW IDE.
In the case you ask for ability to change the source code which is using google API, then you can't do it as google maps API as well as code which uses it are compiled into flash bytecode.
If You need to use google maps API for custom solutions, then you may do it already. You just need to (guess - that's main obstacle) create your software using flash/flex or Javascript google maps API and include it in your TW project as TW application. Just be aware that only one google maps api can run at the same time.

Best wishes!
My Tourweaver components: http://www.optitecha.lt/categories/3
Alternate Text
Joined: 2010-08-03
Send Msg:
Posts: 246
2011-01-29
#5
I've made a simple example in between (some 15 minutes) to show google maps street view and tour integration. In the example you may try clicking markers in maps and street view modes.
http://www.virtualivizija.lt/demo/scontrol2/
My Tourweaver components: http://www.optitecha.lt/categories/3
Alternate Text
Joined: 2008-05-10
Send Msg:
Posts: 590
2011-01-29
#6
Hi Madux, You have highlighted a very interesting issue which I am hopeing that EP can crack and get a working solution. I have asked EP to see if they can include Streetview as an option so that we can place Hotspots within Street View and link them to Scenes. A little while ago a company called Mapsicle announced a solution to doing this and made a mashup available. But it simply does not work, in fact it is pretty useless. Sure you can place a marker within street view but it doesnt matter which way you go down any street the marker always follow you, which you will notice happens in your display.

What would be great if you could work your way up street and have a hotspot accurately placed on shops, bars etc that would link to a Pano of the interior etc. So in essence exactly what you can do now in TW6+ on a Google map but doing it in Street View. That would make me a very happy man.

In EP I trust :) Even better Madux if you can tell me you can make a plugin :)

Apartment rentals Nerja

Villa rentals Nerja

Accommodation Nerja

Alternate Text
Joined: 2010-08-03
Send Msg:
Posts: 246
2011-01-29
#7
Is my example working correctly?
Regarding the plugin - it is already there ;)
You just need a javascript application for adding and retrieving marker locations. It seems that google's Flash API doesn't have streetview functionality. That's why we need javascript application.
let's suppose, that we have such the javascript app, then we would create a tour in such a way:
* gather hotspots into some .xml file;
* make initial screen - html google street view mode (for example - as visible xxxxbox, just occupying whole tour area without borders and controls);
* on marker click hide google map (as you are hiding some floatbox) AND switch scene (calling scenecontrol component from javascript as it is done in my example);
* after visiting some place (TW panorama) on TW hotspot click - open google map (as you open floatbox) to walk around using google maps and so on...

I think - this is what you are seeking to do.

It is not very hard to make such the javascript app, but i'm not sure if i'll do it, because in my country there are no street view yet :(
My Tourweaver components: http://www.optitecha.lt/categories/3
Alternate Text
Joined: 2008-05-10
Send Msg:
Posts: 590
2011-01-29
#8
Yep, that's about the size of it. I started to do my own version of this and doing my own street panos. Using the Google map as a staring point and then each hotspot on a street would take you to an initial street pano. From there I can link/swap to another street using Floatbox which means I can have limitless scenes as they are not contained within the actual tour.

The trouble is basically doing the street scenes, I havnt got a Google Car! And I cannot possibly cover the whole town on foot. So basically why re-invent the wheel when Google has done the job for me. I just need to find a way of adding hotspots/markers to street View and link them to my panos. I reckon that EP has the know how so I am banking on them:)

Apartment rentals Nerja

Villa rentals Nerja

Accommodation Nerja

Alternate Text
Joined: 2010-08-03
Send Msg:
Posts: 246
2011-01-29
#9
Actually there is no other way around yet than i have described above - i mean flash must be used along with fat javascript. I don't know if EP will bother doing this (as it will disrupt their strategy - one project for all publishing modes), but they could make at least google maps hotspot (and their info) export into .xml.
I think, i'll try to make some demo tour to see what can be done (you never know before you try ;)).
My Tourweaver components: http://www.optitecha.lt/categories/3
Alternate Text
Joined: 2009-01-24
Send Msg:
Posts: 120
2011-02-01
#10
Looking further to see your work, Madmux.
Alternate Text
Joined: 2008-05-10
Send Msg:
Posts: 590