We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Different URL’s Trigger Different Camera Zoomto actions

Home Forums Puzzles Different URL’s Trigger Different Camera Zoomto actions

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #64921
    John Sperry
    Customer

    Hi, I would appreciate some help on a wayfinding project.

    I will be producing 1 master 3D map. It has several positions of focus, each point is a different location the camera needs to zoom to and look a specific direction. Currently I have it working successfully with clickable elements. For example in following test map there are 3 Blue P’s for parking. Once each is clicked the camera zooms to that location.

    What I want is to have the Zoomto actions get triggered by a specific url address rather than a click action. That way if you access the map from one specific url the user would have the map open and immediately have the camera zoom to location one. And if they typed in a second different url when the same map opens it would automatically zoom to position 2.

    Please click the following URL to take you to a test map so you can see what I mean. Once the map opens you can click on the P’s and the camera zooms to each.

    https://v3d.net/lg9

    In the attaced JPEG you’ll see the simple click puzzles I created. I could wrap them in a procedure too if that helps at all.

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #64923
    kdv
    Participant

    read window.location.href, find keywords, do smth according to those keywords.

    For example, this link just loads the app
    https://cdn.soft8soft.com/…/save_restore/Test.html
    And this link will load an additional model with a specified name
    https://cdn.soft8soft.com/…/save_restore/Test.html?Sophia

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #64925
    #64929
    John Sperry
    Customer

    Thank you Yuri and KDV, I will try your feedback and will post the solution that works for me when I get it.

    I appreciate your help.
    John S.

    #64963
    John Sperry
    Customer

    Thank you!, this solution worked:) :good:
    John S,

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.