Jump to content
GreenSock

brantseibert

LiquidStage - Points on a Map

Recommended Posts

I have a background map of the world and will be locating points on the map with dots.

 

var ls:LiquidStage = new LiquidStage(this.stage, 1000, 580, 1000, 580);

ls.update();

ls.attach(point1, ls.CENTER);

var la1:LiquidArea = new LiquidArea(this, 0, 0, 1000, 580);

la1.attach(map1, ScaleMode.PROPORTIONAL_INSIDE);

 

I will have 1,000 points that are dynamically loaded and unloaded (not painted on map).

 

How do I keep New York City from falling in the ocean or moving to New Jersey when the user resizes the browser window?

Link to comment
Share on other sites

  • 2 months later...

Why not just place the points inside map1? That way you don't need to worry about matching anything up.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×