[CLOSED] Ext.Net.UX.GMapPanel Bug [Zoom and Pitch are the same variable]

  1. #1

    [CLOSED] Ext.Net.UX.GMapPanel Bug [Zoom and Pitch are the same variable]

    Hi

    I've just been trying to use the Ext.Net.UX.GMapPanel and set the zoom, pitch and yaw in server size code. It appears that zoom and pitch affect the same internal variable (the zoom one I think).

    <ux:GMapPanel ID="Street" runat="server" Height="550" Title="Street View" GMapType="Panorama">
    </ux:GMapPanel>
    server side:

    Street.Zoom = 1;
    Street.Yaw = 20;
    Street.Pitch = 30;
    you will find that Street.Pitch == Street.Zoom == 30. Can you let me know if I am correct and if it can be fixed easily?

    Cheers

    Ian
    Last edited by Daniil; Jan 26, 2012 at 12:34 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please try to initialize these properties via CustomConfig.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Please try to initialize these properties via CustomConfig.
    Hi Daniil,

    could you give me an example? It doesnt seem to have any effect like this?

    Street.CustomConfig.Add(new ConfigItem() { Name = "zoom", Value = zoom.ToString(), Mode = ParameterMode.Value });
    Street.CustomConfig.Add(new ConfigItem() { Name = "yaw", Value = yaw.ToString(), Mode = ParameterMode.Value });
    Street.CustomConfig.Add(new ConfigItem() { Name = "pitch", Value = pitch.ToString(), Mode = ParameterMode.Value });
    Cheers

    Ian
  4. #4
    Please set up Raw mode.
    new ConfigItem() { Name = "intValue", Value = "5", Mode = ParameterMode.Raw }
  5. #5
    Quote Originally Posted by Daniil View Post
    Please set up Raw mode.
    new ConfigItem() { Name = "intValue", Value = "5", Mode = ParameterMode.Raw }

    Hi Daniil

    That worked, thanks. You can mark this as closed.

    Kind regards

    Ian
  6. #6
    The bug ticket has been created.
    https://extnet.lighthouseapp.com/pro...gs/tickets/244

    The fix has been added to SVN, revision #3820.

    The fix will be also publicly available with the upcoming v1.3 release.

    Thanks again for the report.

Similar Threads

  1. Ext.NET elevator pitch.
    By seasharp2 in forum Open Discussions
    Replies: 0
    Last Post: Jul 04, 2011, 8:04 AM
  2. How to Zoom In and Out for a SVG content
    By anulall in forum 1.x Help
    Replies: 0
    Last Post: Jun 24, 2011, 9:56 AM
  3. [CLOSED] how to access variable gmap2 in gmappanel
    By dev in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 16, 2011, 7:07 PM
  4. [CLOSED] Zoom on AutoLoad IFrame?
    By IanPearce in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 14, 2010, 8:47 AM
  5. [CLOSED] Images zoom and pan
    By GmServizi in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 23, 2009, 5:50 AM

Tags for this Thread

Posting Permissions