Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application which is developed using agslib 2.1. I want to migrate t to agslib3.1. When I use the new library, There is an error in MapManager.mxml code as "Call to a possibly undefined method zoomToFullExtent through a reference with static type" I could not find any updated MapManager.mxml in FlexViewer version 3.1. So I was thinking that maybe I must follow a process for migrating from 2.1 to 3.1. does anybody know how I can migrate my code to use the new library, or any workaround for resolving the issue?

share|improve this question

Did you just update the API Library (and keep the 2.x viewer source code) or did you move to the 3.1 source code (with the 3.1 API Library)? The latter is going to be much easier...

The MapManager still exists. See

As for migration steps see which lists lots of information about successfully migrate from 2.x to 3.0.

However, starting with the 3.x code base and moving your specific customization across is going to be much easier than trying to upgrade the whole 2.x viewer code base to 3.x. Using the 3.1 code base will also make it much easier for you to take advantage of new versions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.