Adobe's Pan|Zoom component not fitting the content area

I'm calling centerView method on handleLoadComplete event (ImageViewer.as) so the image will be adjusted to fit the content area when load is complete, but I'm having problems when testing this on Internet Explorer. Using Firefox it works fine, but on IE it only works after pressing Ctrl + F5.
Do you know how can I fix this?

Hi.
Making it zoom and pan was a bit tricky, but I had it done
two months ago (in july). The integration of the pan zoom with
callout ("kind of spots on the map", the other published FIG
componet) repositioning was bit tricky.
I solved it with pointTransformations, but it was too
expansive, in terms of memory. In my first trial, theyre positions
were recalcuted as you pan and zoom.
Now, in the version I published here
http://www.gabriela.trindade.nom.br/?p=61
you dont hav smooth zooming, and the callouts only are
repositioned after your drop the map.
I am working now on it. Im probably going to make then blurry
or transparent while panning, but as I got this message from the
foruns and I had promissed another guy who contacted me a (working)
version, I decided to publish it on my blog.
Hope it will be usefull.
Please, be aware that not really a small application: it has
lots of classes. Please read it all before contacting me with any
doubts.
Best luck :0)

Similar Messages

  • Dynamic sizing of a component to fit the content

    Hi All,
    How can I make my component so that it will be dynamically sized to fit the content height?  I would like to create a component that will have a variable height.  It has a serious of user input controls.  Depending on the answers given, more input from the user may be necessary--specifically, they will have to provide an explanation in a textbox.
    So, my thinking is that I don't want to display the textbox unless they answer "yes" to any questions that require additional explanation.  If they do, then I want display the TextArea control along with instructions to enter an additional explanation here.
    However, when I do that, it will cause my component's height to grow.  I don't want to reserve space for that textbox in the component's dimensions--I would prefer it simply grow (pushing anything below it further down) if and when the textbox appears.
    How would I go about doing this?
      -Josh

    I think the standard JSF solution would be not to do the create/delete of inputs on the client side, but to do it on the server side.
    If that is not your cup of tea, I think that the standard components will not be sufficient. So you are looking at either not binding the inputs to a component and just getting the values via the request parameters or creating a custom component capable of dealing with this.

  • Adobe Muse. Pink color appeared in the content Area

    The content Area in muse 2014 shows this pink tint. It only appears in the platform not when i preview in browser. Anybody else has had the same problem, can I fix it??
    tx

    Go to View -> Hide Grid Overlay.

  • After purchasing an Adobe PDF Pack, I do not get the Content Editing option in the Tools bar of my PDF I use a MacBook Pro- please advise

    I use a MacBook Pro
    After purchasing an Adobe PDF Pack, I still don't get the Content Editing option on my Tools bar
    please advise

    Thanks Sara, however my understanding is what I purchased enabled me to
    convert pdf into word for editing, please see screen shot attached.  I
    believe this shows that in the PDF Pack which i have purchased I am able to
    do this.
    Please further advise
    Cheers
    Therese
    Therese S
    [private information removed by moderator]
    On Thu, Mar 12, 2015 at 5:48 AM, Sara.Forsberg <[email protected]>

  • Mouse cursor dissapears in The Pan|Zoom component

    When using the Pan|Zoom component found at http://www.adobe.com/devnet/flex/samples/fig_panzoom/ inside a mx:Window in my AIR application, the custom mouse cursors (draghandOpen, draghandClosed) are not shown. The mouse cursor just dissapears when rolling over the ImageViewer.
    From the Pan|Zoom code:
                    case "mouseOver":
                        // cursors
                        if (_client.viewRect.containsRect(_reciever))
                            CursorManager.removeAllCursors(); 
                        } else
                            CursorManager.removeAllCursors(); 
                            cursorID = CursorManager.setCursor(_iconHandOpen);                       
    This works fine when running the source at http://www.adobe.com/devnet/flex/samples/fig_panzoom/ as an AIR application. Why won't it work in a mx:window?

    I found the solution here: http://butterfliesandbugs.wordpress.com/2008/09/04/how-to-get-a-custom-cursor-in-an-air-wi ndow/
    The problem was fixed by changing CursorManager.setBusyCursor() to myAIRWindow.cursorManager.setBusyCursor();

  • Pan Zoom Component

    Hi,
    I wanted to know the license requirement for Pan Zoom component available in Flex store as a sample application. Is it fine to use the code in commercial applications?
    http://www.adobe.com/devnet/flex/samples/fig_panzoom.html
    Regards,
    Sarika.

    Normally, the sample code used in Adobe articles is free reign to use in commercial applications.  I have no ide if Adobe ha a formal documented license, though.

  • "BP Category 1 does not fit the data in category 2"  "Replies Appreciated"

    Hi Gurus,
    When i am trying to create an "Individual Account" in UI, I am getting the error "BP Category 1 does not fit the data in category 2".
    If i try to create a "group" then it says "BP Category 3 does not fit the data in category 2".
    It allows me to create only "Corporate Account" i..e. Category 2.
    What should i do to create "Individual Account" and "Group". (Category1 & Category 3).
    Individual Account (Category 1) - "BP Category 1 does not fit the data in category 2".
    Corporate Account (Category 2) - Able to create only Corporate Account
    Group (Category 3) - "BP Category 3 does not fit the data in category 2".
    Thanks & Regards
    Rohan

    Hi Rohan,
    Hope this SAP Note : 1232459, Solves your problem.
    You might have created a custom configuration for corporate accounts.
    Unfortunately in case of custom configurations exist, they are selected with higher priority.
    So in this case the configuration for corporate accounts is also shown for individual accounts,
    this causes error.
    In order to solve this problem, create a custom configuration for individual account also,
    i.e for view BP_HEAD/AccountDetails. Object type BP_ACCOUNT and object subtype INDIVIDUAL.
    Please make sure that the custom configuration includes the fields firstname and lastname for
    persons instead of name1 and name2 which are only allowed for corporate accounts.
    I hope the above information resolves your problem.
    Best Regards
    Shiven

  • CRM 2007 IC : error "BP category 2 does not fit the data in category 1"

    Hi Guys,
    When I am trying to save the data on the Bupacreate page it gives the error as follows.
    "BP category 2 does not fit the data in category 1".
    Can anyone suggest what is causing this error to happen and how this error can be corrected.
    thanks & regards
    Sandy

    Hi,
    This error usually occrus when you try to set field in without specifing bptype ie person, group etc. In our scenario we were trying to set field in Person which was not present in group. but since do_prepare_output method is same in both, that feild was getting set for group as well. When we placed restriction this error got removed.
    Best regards
    Pankaj Kumar

  • Error: 'BP category 1 does not fit the data in category 2'

    Hi,
                i have written a program to create a contact person and the code for it is pasted below...when i run this program i get nothing but this message in the status bar 'BP category 1 does not fit the data in category 2'...can someone tell me wht the error means and y it is coming.
    thanks:)
    pushpa
    *table for storing the line by line records in the excel file
    TYPES: BEGIN OF TTAB,
            REC(1000) TYPE C,
           END OF TTAB.
    DATA ITAB TYPE TABLE OF TTAB WITH HEADER LINE.
    *variable for storing the name of the excel file to be uploaded
    DATA UP_FILE TYPE STRING.
    *data to be uploaded
    TYPES: BEGIN OF TDAT,
            FLD1 TYPE BAPIBUS1006_CENTRAL_ORGAN-NAME1,
            FLD2 TYPE BAPIBUS1006_ADDRESS-STREET,
            FLD3 TYPE BAPIBUS1006_ADDRESS-CITY,
            FLD4 TYPE BAPIBUS1006_ADDRESS-REGION,
            FLD5 TYPE BAPIBUS1006_ADDRESS-POSTL_COD1,
            FLD6 TYPE BAPIBUS1006_ADDRESS-COUNTRY,
            FLD7 TYPE BAPIBUS1006_CENTRAL-PARTNEREXTERNAL,
           END OF TDAT.
    DATA IDAT TYPE TABLE OF TDAT WITH HEADER LINE.
    DATA: BUSINESSPARTNER TYPE BAPIBUS1006_HEAD-BPARTNER,
          CENTRALDATA TYPE BAPIBUS1006_CENTRAL,
          ORGANIZATION TYPE BAPIBUS1006_CENTRAL_ORGAN,
          ADDRESS TYPE BAPIBUS1006_ADDRESS,
          BAPIRETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    PARAMETERS P_FILE TYPE LOCALFILE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          STATIC    = 'X'
        CHANGING
          FILE_NAME = P_FILE.
    START-OF-SELECTION.
      UP_FILE = P_FILE.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                = UP_FILE
        TABLES
          DATA_TAB                = ITAB
        EXCEPTIONS
          FILE_OPEN_ERROR         = 1
          FILE_READ_ERROR         = 2
          NO_BATCH                = 3
          GUI_REFUSE_FILETRANSFER = 4
          INVALID_TYPE            = 5
          NO_AUTHORITY            = 6
          UNKNOWN_ERROR           = 7
          BAD_DATA_FORMAT         = 8
          HEADER_NOT_ALLOWED      = 9
          SEPARATOR_NOT_ALLOWED   = 10
          HEADER_TOO_LONG         = 11
          UNKNOWN_DP_ERROR        = 12
          ACCESS_DENIED           = 13
          DP_OUT_OF_MEMORY        = 14
          DISK_FULL               = 15
          DP_TIMEOUT              = 16
          OTHERS                  = 17.
    *writing out the contents of the internal table itab
      LOOP AT ITAB.
        WRITE:/ ITAB-REC.
        CLEAR IDAT.
        SPLIT ITAB-REC AT CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
                    INTO IDAT-FLD1 IDAT-FLD2 IDAT-FLD3 IDAT-FLD4 IDAT-FLD5 IDAT-FLD6 IDAT-FLD7.
        APPEND IDAT.
      ENDLOOP.
      LOOP AT IDAT.
        MOVE: IDAT-FLD1 TO ORGANIZATION-NAME1,
              IDAT-FLD2 TO ADDRESS-STREET,
              IDAT-FLD3 TO ADDRESS-CITY,
              IDAT-FLD4 TO ADDRESS-REGION,
              IDAT-FLD5 TO ADDRESS-POSTL_COD1,
              IDAT-FLD6 TO ADDRESS-COUNTRY,
              IDAT-FLD7 TO CENTRALDATA-PARTNEREXTERNAL,
              '0001' TO CENTRALDATA-PARTNERTYPE.
        CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'
          EXPORTING
            PARTNERCATEGORY         = '1'
            CENTRALDATA             = CENTRALDATA
            CENTRALDATAORGANIZATION = ORGANIZATION
            ADDRESSDATA             = ADDRESS
          IMPORTING
            BUSINESSPARTNER         = BUSINESSPARTNER
          TABLES
            RETURN                  = BAPIRETURN.
        IF BAPIRETURN IS NOT INITIAL.
          READ TABLE BAPIRETURN INDEX 1.
          MESSAGE
            ID BAPIRETURN-ID
            TYPE BAPIRETURN-TYPE
            NUMBER BAPIRETURN-NUMBER
            WITH BAPIRETURN-MESSAGE_V1
            BAPIRETURN-MESSAGE_V2
            BAPIRETURN-MESSAGE_V3
            BAPIRETURN-MESSAGE_V4.
          EXIT.
        ENDIF.
        REFRESH BAPIRETURN.
        CLEAR BAPIRETURN.
        CALL FUNCTION 'BAPI_BUPA_ROLE_ADD'
          EXPORTING
          BUSINESSPARTNER = BUSINESSPARTNER
          BUSINESSPARTNERROLE = 'BUP001'
          DIFFERENTIATIONTYPEVALUE =
          TABLES
          RETURN = BAPIRETURN.
        IF BAPIRETURN IS NOT INITIAL.
          READ TABLE BAPIRETURN INDEX 1.
          MESSAGE
            ID BAPIRETURN-ID
            TYPE BAPIRETURN-TYPE
            NUMBER BAPIRETURN-NUMBER
            WITH BAPIRETURN-MESSAGE_V1
            BAPIRETURN-MESSAGE_V2
            BAPIRETURN-MESSAGE_V3
            BAPIRETURN-MESSAGE_V4.
          EXIT.
        ENDIF.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WRITE:/ 'Business Partner ID:', BUSINESSPARTNER.
      ENDLOOP.

    Hi Pushpa,
             you can use following code to create relationships using BAPI. In this Business partner is organisatin. contact persion paramenter is person. other information related to relationship details
    CALL FUNCTION 'BAPI_BUPR_CONTP_CREATE'
        EXPORTING
          BUSINESSPARTNER           = SEARCH_PARTNER
          CONTACTPERSON             = CONTACT_SAP
      VALIDFROMDATE             = '00010101'
      VALIDUNTILDATE            = '99991231'
      DEFAULTRELATIONSHIP       =
      ADDRESSGUID               =
          CENTRALDATA             = WA_CENTRAL_DATA
          ADDRESSDATA             = WA_ADDR_DATA
          TABLES
        BAPIADTEL                 = I_TEL_DATA
        BAPIADFAX                 = I_FAX_DATA
      BAPIADTTX                 =
      BAPIADTLX                 =
        BAPIADSMTP                = I_EMAIL_DATA
      BAPIADRML                 =
      BAPIADX400                =
      BAPIADRFC                 =
      BAPIADPRT                 =
      BAPIADSSF                 =
      BAPIADURI                 =
      BAPIADPAG                 =
      BAPIAD_REM                =
      BAPICOMREM                =
         RETURN                    = I_RETURN
    hope this will help you
    Siva

  • How do I transfer music and photos from my Power Mac G5 to my new iMac. Have an old FireWire but it does not fit the new iMac

    I am trying to transfer photos, music, etc from my Power Mac G5 to my new iMac. The Power Mac is too old for the migration assistant to help. I have an old Firewire but it does not fit the new iMac. Any suggestions? If a Firewire is the best option which one do I need? Thanks.

    You need a Firewire 800 to 400 adapter or cable or a external USB 2/3 drive (self powered) it can default to the old USB the G5 uses 1 or 2.
    Format the drive info here.
    Backup and restore info
    https://discussions.apple.com/message/16276201#16276201

  • Why does my lightening wire not fit the ipod nano 7th gen

    Could someone tell me why does my lightening wire now not fit the ipod nano (7th gen)?  I push it in but it seems to spring out and not fully connect. I only bought it 1 year ago and it is been great, but now I think it needs to go in the bin

    I agree, sounds like there's something in the port on the Nano. Try cleaning it out with a can of compressed air, or a gently with a wooden toothpick.

  • Adobe Acrobat 8 Professional does not accept the correct serial number after reinstallation

    Adobe Acrobat 8 Professional does not accept the correct serial number after reinstallation, what to do?

    Thank you Bill. You could help me with the answer and the one in the other forum:
    "Acrobat has a separate installation process and needs to be activated with your Adobe ID I think. The question on CC is really one for the folks in the CC forum (Adobe Creative Cloud), not the Acrobat forum".
    I could resolve things with Adobe CC. I don´t need my old Acrobat 8, but I could finally install Acrobat XI Pro - and this time it seems to work, without permanently crashing down.
    Thank you.

  • Adobe Acrobat 8 Professionals does not accept the correct serial number after reinstallation

    Adobe Acrobat 8 Professionals does not accept the correct serial number after reinstallation, what to do?

    Moved to Acrobat Installation & Update Issues

  • My Adobe Acrobat upadte failed w Error 1321 The installer has insufficinet privileges to modify file....  I followed the Adobe online instructions to change the advance settings. Now trying to reinstall my Adobe Acrobat but I do not see the download optio

    My Adobe Acrobat update failed w Error 1321 The installer has insufficient privileges to modify file....  I followed the Adobe online instructions to change the advance settings.
    Now trying to reinstall my Adobe Acrobat but I do not see the download option when I sign in to my Adobe account.  Please help.
    Also want to confirm that I uninstall my Adobe Acrobat before REinstalling.

    error 1321 the installer has insufficient privileges to modify this file c:\program files\adobe\reader 11.0\reader\arh.exe....also i tried reinstall but still receive error message...
    error 1321 the installer has insufficient privileges to modify this file c:\program files\adobe\reader 11.0\reader\arh.exe
    need your help please

  • Since I have upgraded to ios7 my internet banking page will not fit the screen. Before updating I enlarged the page by using the *2 button in the bottom right hand of the screen, there no longer is that option?

    Since I have upgraded to ios7 my internet banking page will not fit the screen. Before updating I enlarged the page by using the *2 button in the bottom right hand of the screen, there no longer is that option?

    Install or Reinstall OS X from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
          the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
               because it is three times faster than wireless.

Maybe you are looking for

  • How do i use directX in microsoft visual basic studio 2010 express ?

    i am writing code to graph stock market prices using microsoft visual basic studio express i want fast response (i do machine language) using directX this is my problem i have never used directX, and i have never used directX in visual basic studio i

  • BEx performance issu

    Hi all, We are working currently on a BI project and I would like to ask a high level performance question. When the function - Public Function BexSetData(iValue As Double, iDataProv As String, ParamArray iParam() As Variant) Is executed, it takes lo

  • Domino Notes / Ldap connection Wls6.1

    hi all, is there a way to connect Wls 6.1 sp1 with Domino Notes 5 Ldap Server ? Can we do an authentification login for groups and user? If you did it can you reply me with a sample of connection parameters. thanks Hugues Simonnet Consultant Principa

  • User restrictions for cFolder in portal

    Hi All, I've cFolders integrated with EP.I've my multiple portal users mapped with one user in the R/3.What i understand is that what all authorizations is there for that user in R/3, it will be same for all the portal users who are mapped with that

  • Increase number of phone rings

    I'm hoping there's an easy answer to this. I need to increase the number of times my phone rings before it goes into voicemail. Right now, it basically rings once and if I don't pick up, I miss it. Is there something I can do to increase the number o