Creating Transformation without online Map Transformation Calculator
Can somebody point me in the right direction as to how I should create a Transformation instance (given lat., long, x, y and zoom) without having to resort to the online calculator?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi Shane,
The calculator uses javascript which should be very easy to port to actionscript - it's just not something we've done yet.
You can see how to use the linearSolution function to create a Transformation object in the javascript port: http://modestmaps.mapstraction.com/tr... or python port if you prefer: http://modestmaps.mapstraction.com/tr...
Unless your map uses linear projections, then going from lat lon to x y isn't possible using this method. You also need to figure out how to transform from lat lon to tile coordinates. But these methods should get you started.
Loading Profile...



EMPLOYEE