You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2012-12-20 15:43:09

charal3
Member
Registered: 2012-01-23
Posts: 42
Website

map / cartes

Bonjour,

Voici une fonctionnalité dont j'ai toujours rêvé. C'est de pouvoir avoir 2 ou 3 ou 4 cartes. En effet seulement une serait affiché et les autres serait présentent sous cette même carte en "miniature" et l'on pourrait sélectionné la carte visible en cliquant sur l'une des miniature.

La possibilité d'intégrer une icône de boite mail liée à une adresse mail

Les réseaux sociaux (comme les logos)

Offline

 

#2 2012-12-21 10:58:59

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2356
Website

Re: map / cartes

Hi Kevin..

This one will cover your social media and email link, I think you are asking for.. Google translator might be wrong and all you are after is a cup of coffee.. lol

http://members.westnet.com.au/dps/menub … /Set7.html

.. and this one will cover your multi maps as I emailed you.. http://members.westnet.com.au/dps/map/multimap.html
You can add hotspot to each map but it would take a lot of thought and work.. but its doable.. Obviously it would look a lot better with different maps but this is just a demo.. I am sure PTP V2 will have something for doing this.. I am sure I asked for it in the past...

Destiny...

<!--************** Plugin map1 *****************************************************************-->
    <plugin name="map1" url="multimapdata/map/map1.png" keep="true" align="rightbottom" x="10" y="10" width="31" height="40" handcursor="false" onloaded="hidemapspot();" onclick="openmap1"/>
    <action name="showmapspot">
    </action>
    <action name="hidemapspot">
    </action>
    <!-- close the map1 -->
    <action name="closemap1">
        hidemapspot();
        set(plugin[map1].onclick,openmap1);
        set(plugin[map1].width, 31);
        set(plugin[map1].height, 40);
        set(plugin[map1].align, rightbottom);
        set(plugin[map1].x    , 10);
        set(plugin[map1].y    , 10);
    </action>
    <!-- open the map1 -->
    <action name="openmap1">
        set(plugin[map1].onclick, closemap1);
        tween(plugin[map1].height, 348, 0.5, easeoutquad);
        tween(plugin[map1].width , 274, 0.5, easeoutquad, showmapspot()wink;
        set(plugin[map1].align, center);
        set(plugin[map1].x    , 0);
        set(plugin[map1].y    , 0);
    </action>
        <!--************** Plugin map *****************************************************************-->
    <plugin name="map2" url="multimapdata/map/map2.png" keep="true" align="rightbottom" x="40" y="10" width="31" height="40" handcursor="false" onloaded="hidemapspot();" onclick="openmap2"/>
    <action name="showmapspot">
    </action>
    <action name="hidemapspot">
    </action>
    <!-- close the map2 -->
    <action name="closemap2">
        hidemapspot();
        set(plugin[map2].onclick,openmap2);
        set(plugin[map2].width, 31);
        set(plugin[map2].height, 40);
        set(plugin[map2].align, rightbottom);
        set(plugin[map2].x    , 40);
        set(plugin[map2].y    , 10);
    </action>
    <!-- open the map2 -->
    <action name="openmap2">
        set(plugin[map2].onclick, closemap2);
        tween(plugin[map2].height, 348, 0.5, easeoutquad);
        tween(plugin[map2].width , 274, 0.5, easeoutquad, showmapspot()wink;
        set(plugin[map2].align, center);
        set(plugin[map2].x    , 0);
        set(plugin[map2].y    , 0);
    </action>
        <!--************** Plugin map3 *****************************************************************-->
    <plugin name="map3" url="multimapdata/map/map3.png" keep="true" align="rightbottom" x="70" y="10" width="31" height="40" handcursor="false" onloaded="hidemapspot();" onclick="openmap3"/>
    <action name="showmapspot">
    </action>
    <action name="hidemapspot">
    </action>
    <!-- close the map3 -->
    <action name="closemap3">
        hidemapspot();
        set(plugin[map3].onclick,openmap3);
        set(plugin[map3].width, 31);
        set(plugin[map3].height, 40);
        set(plugin[map3].align, rightbottom);
        set(plugin[map3].x    , 70);
        set(plugin[map3].y    , 10);
    </action>
    <!-- open the map3 -->
    <action name="openmap3">
        set(plugin[map3].onclick, closemap3);
        tween(plugin[map3].height, 348, 0.5, easeoutquad);
        tween(plugin[map3].width , 274, 0.5, easeoutquad, showmapspot()wink;
        set(plugin[map3].align, center);
        set(plugin[map3].x    , 0);
        set(plugin[map3].y    , 0);
    </action>
        <!--************** Plugin map4 *****************************************************************-->
    <plugin name="map4" url="multimapdata/map/map4.png" keep="true" align="rightbottom" x="100" y="10" width="31" height="40" handcursor="false" onloaded="hidemapspot();" onclick="openmap4"/>
    <action name="showmapspot">
    </action>
    <action name="hidemapspot">
    </action>
    <!-- close the map4 -->
    <action name="closemap4">
        hidemapspot();
        set(plugin[map4].onclick,openmap4);
        set(plugin[map4].width, 31);
        set(plugin[map4].height, 40);
        set(plugin[map4].align, rightbottom);
        set(plugin[map4].x    , 100);
        set(plugin[map4].y    , 10);
    </action>
    <!-- open the map4 -->
    <action name="openmap4">
        set(plugin[map4].onclick, closemap4);
        tween(plugin[map4].height, 348, 0.5, easeoutquad);
        tween(plugin[map4].width , 274, 0.5, easeoutquad, showmapspot()wink;
        set(plugin[map4].align, center);
        set(plugin[map4].x    , 0);
        set(plugin[map4].y    , 0);
    </action>
    <!-- Unselect all map spots except the one passed as argument -->
    <!-- Unselect all map spots if no argument provided -->
    <action name="unselectmapspotsbutpassed">
    </action>
    <!-- Select a specific map spot -->
    <action name="selectmapspot">
        unselectmapspotsbutpassed(%1);
        if(plugin[%1].animated,
            inc(plugin[%1].animationCounter, 1);
            if(plugin[%1].animationCounter == 1,
                animatemapspot(%1, 0.1);
            );
        ,
            inc(plugin[%1].blingCounter,1);
            if(plugin[%1].blingCounter == 1,
                blingmapspot(%1);
            );
        );
    </action>
    <!-- make map hotspots flash when selected (recursive action) -->
    <action name="blingmapspot">
        tween(plugin[%1].alpha, 0.0, 0.8, easeInSine  );
        tween(plugin[%1].scale, 1.5, 0.8, easeOutCubic);
        tween(, , 0.8, , resetmapspot(%1);
        if(plugin[%1].blingCounter &gt; 0, blingmapspot(%1)winkwink;
    </action>
    <action name="resetmapspot">
        set(plugin[%1].scale,1);
        set(plugin[%1].alpha,1);
    </action>


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

#3 2012-12-21 11:09:01

charal3
Member
Registered: 2012-01-23
Posts: 42
Website

Re: map / cartes

OMG Destiny you are insanely good ! I just posted another thread about paying someone to do this kind of job for me.
I might be silly but where should I had these codes ?

thanks a lot

Offline

 

#4 2012-12-21 11:20:09

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2356
Website

Re: map / cartes

Hi Kevin.. Thanks for the vote of confidence.. I am also very good at finding lost post.. lol

Well.. my suggestion would be to add any old map to your tour to see where you put it.. Then just copy this code and past in to replace your map code which you will find in your main xml file.. Then you need to create a folder and with your maps.. ie.. multimapdata/map/map2.png
You can just add to this code or remove as you need them.. but you will need to change the x value of the thumb... Its only when you want to put hotspots on the maps that it become complicated and very time consuming but its doable.. You will also need to change the 'multimedia' name to perhaps 'virtualtourdata' which is the default name... If you want these map on every pano, you need to copy it in to every xml file..

I guess the cheque is in the post.. cool big_smile

Destiny..


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

#5 2012-12-21 11:35:30

charal3
Member
Registered: 2012-01-23
Posts: 42
Website

Re: map / cartes

Yes you are lol
wow that is kinda confusing for a beginner like me. I want different maps in order to add hotspots.. weird kolor did not cover it before as lots of people are asking for it.

I loved the twitter one it would be the same for different logos then. But is it also a code I need to add in my XML files ? I want all my next panorama to be rendered with these possible options.. Is it possible or should I always change the XML file of a "normal" panorama ?

Offline

 

#6 2012-12-21 11:45:52

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2356
Website

Re: map / cartes

I am sure kolor have listened.. I am almost certain that multiple maps and social media links will be able to be added.. But if not, then its still doable...

With regards to your logo linked to your web site.. You can do this very easily when you build your tour.. You just select your logo, with an option to put it in any corner, later you can edit the position, and you can add your web site url...

Destiny..


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

#7 2012-12-21 11:51:24

charal3
Member
Registered: 2012-01-23
Posts: 42
Website

Re: map / cartes

no i did not mean it as a normal logo I meant it as a button on the menu bar

Offline

 

#8 2012-12-21 12:04:11

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2356
Website

Re: map / cartes

oh.. well that is doable too.. wink

Destiny..


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

#9 2012-12-21 12:09:17

charal3
Member
Registered: 2012-01-23
Posts: 42
Website

Re: map / cartes

how ? lol I am not a coder :p

Offline

 

#10 2012-12-28 09:41:07

charal3
Member
Registered: 2012-01-23
Posts: 42
Website

Re: map / cartes

I mean where should I edit it ? directly from the xml file?

Offline

 

#11 2012-12-28 10:06:58

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2356
Website

Re: map / cartes

Hi..

Well, you do need to edit your xml code but its not hard, it just takes a bit of time.. I am not a trained coder either,  just persistent and teach myself..

You can add a button and put this kind of code in your menu for an email with a message... You can do the same thing for a web site... You just need to create a button and edit your onovercrop and crop parameters and and put the button into your menu folder or where ever you want within the directory.. You then change your x and Y values to place it.. If you are feeling adventures, you can run an onclick javascript call menu button..

<plugin name="dps" align="rightbottom" crop="0|0|120|122" height="prop" keep="true" ondown="" onout="" onover="" onovercrop="0|122|120|122" onup="" url="Modendata/graphics/menu/DPS.png" width="60" x="0" y="0" onclick="openurl(mailto:dps@westnet.com.au?subject=Destiny Virtual Tour Graphics For Pano Tour Pro)"/>

Destiny..


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson