Skip to main content
Known Participant
January 10, 2014
Question

zoomable map like Google maps

  • January 10, 2014
  • 1 reply
  • 1525 views

Hi everybody,

I started a discussion a few weeks days about the zoom of vector based elements – some things worked but there's one main problem left.


In my current project I need to find out how create a zoom like in this example of a map.

Here the continent is scaling while the typography has a consistent size at any zoom factor.

In my last discussion you helped me a lot with an expression but it's not working for this case. I have an example uploaded here that shows what I mean. The "pipe" outline keeps its size with the help of an expression although the camera is moving towards it. That works great.
For the "object" I cannot use the expression because it has different attributes. But it also should have the same size at any time. At the moment it's scaling The expression doesn't seem to work for vector based elements, could it be?

Can you please help me out? Would be so great!

Thanks for any help!

This topic has been closed for replies.

1 reply

Community Expert
January 10, 2014

Same expression applied to the scale of a 3D text layer.

TSIXDAuthor
Known Participant
January 11, 2014

Sorry, there's a little misunderstanding. I want the expression getting to work for a path shape, not for a text layer.

The expression is perfectly working for a rectangle. A rectangle has the attribute "size" on which you applied the expression in your example file.

But if I draw a path I do not get the attribute "size", only "position", "scale" or "alignment". And the expression is not working for those attributes. In my example that I posted I need the shape layer "object" keep the same size at any time – no matter what the camera does. For this reason I attached the example with the Google zoom ;-)

Szalam
Community Expert
Community Expert
January 13, 2014

In your earlier thread, would my response not work for what you're asking for? It gets you elements locked to the 3d coordinates of a map without their apprent size changing as the camera moves closer..