Pano2VR Pro marker template with mouse over and visited states
Posted: Sun Jan 28, 2018 6:13 pm
Hi,
When using the marker template for adding map pins to a map graphic in the skin it has two states.
Clone as Normal
Clone as Active
Been asked about mouse over and visited, this has prompted a feature request but in the mean time this is actually quite simple to make now.
Open the attached project and publish.
You will see three locations, the first being Red which is the colour I am using for Active while Green is for Normal.
However when you mouseover it shows a yellow graphic and when you move to a different location the visited node is purple.
How this works is there is two containers one for Normal, map_pin_normal in the project and one for Active, map_pin_active.
In the map_pin_normal container there is three elements/graphics.
mouseover, visited and normal.
The mouse over is position above al the others in the container and has a logic block with mouse over parent true, visible true.
Visited is above normal but below mouseover, it has the logic block, visited true, visible true.
The normal graphic has a logic block visited true visible false.
The container map_pin_active just requires two graphics, mouse over and active.
This one is simple it has a copy of the mouse over graphic with its logic block for mouse over parent.
Regards,
Hopki
When using the marker template for adding map pins to a map graphic in the skin it has two states.
Clone as Normal
Clone as Active
Been asked about mouse over and visited, this has prompted a feature request but in the mean time this is actually quite simple to make now.
Open the attached project and publish.
You will see three locations, the first being Red which is the colour I am using for Active while Green is for Normal.
However when you mouseover it shows a yellow graphic and when you move to a different location the visited node is purple.
How this works is there is two containers one for Normal, map_pin_normal in the project and one for Active, map_pin_active.
In the map_pin_normal container there is three elements/graphics.
mouseover, visited and normal.
The mouse over is position above al the others in the container and has a logic block with mouse over parent true, visible true.
Visited is above normal but below mouseover, it has the logic block, visited true, visible true.
The normal graphic has a logic block visited true visible false.
The container map_pin_active just requires two graphics, mouse over and active.
This one is simple it has a copy of the mouse over graphic with its logic block for mouse over parent.
Regards,
Hopki