Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Who got Google Maps V3 and Ext JS 4 running?

  1. #21
    Sencha User
    Join Date
    Jul 2011
    Posts
    15
    Vote Rating
    0
      0  

    Default

    Hi

    Can I just ask if people are using the latest VinylFox extension are having any speed issues?
    My maps are really slow. Obviously I don't think this is the extension I just keen to know whether people have got maps working in Extjs4 in nested panels. The single window examples work okay for me but when I port it to my ui dashboard it just kills it. All I've got is a border layout with menu on left and content /map on right.

  2. #22
    Sencha User
    Join Date
    Apr 2008
    Posts
    17
    Vote Rating
    1
      0  

    Default

    I am also having issues with nested panels (though I'm using Ext 4.1) and the gogle map extension.. specifically, when placing a google map panel in a tabpanel. onResize is never called, and the initial size of the panel (which looks like its calculated using the owenerCt.getSize() command, returns a small area (usually 4x4 or 4x6 pixels)

  3. #23
    Sencha User
    Join Date
    Aug 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default get lat ant long position

    Hello,please how can I get the lat and long with extjs 4 from a position on the cart map..

    I couldn't even add listner to the cart map

  4. #24
    Sencha User
    Join Date
    Feb 2012
    Posts
    95
    Vote Rating
    0
      0  

    Default

    Hi,

    i've a question about this library.

    I wanna use it to create a map with directions from an origin to a destination.

    the code i use is this:

    Code:
    var directionDisplay;
    var directionsService = new google.maps.DirectionsService();
    
    directionsDisplay = new google.maps.DirectionsRenderer();
    var request = {
      origin: 'Boston',
      destination: 'New York',
      travelMode: google.maps.DirectionsTravelMode.DRIVING
    };
    
    directionsService.route(request, function(response, status) { 
       if (status == google.maps.DirectionsStatus.OK) {
          directionsDisplay.setMap(map.getMap());
          directionsDisplay.setPanel(document.getElementById('tabs2'));
          directionsDisplay.setDirections(response);
          winMap.showMap();
       }
    });
    where map is:

    Code:
    var map = new Ext.ux.GMapPanel({
       gmapType: 'map',
       mapConfOpts: ['enableScrollWheelZoom','enableDoubleClickZoom','enableDragging'],
       mapControls: ['GSmallMapControl','GMapTypeControl','NonExistantControl'],
       id: 'my_map1'
    });
    and winMap.showMap is a method that show a Ext.Window containing the map (it works with normal setCenter map, so it is not the problem).

    The road directions are correctly displayed on div tabs2, but the Ext.windows contain only a gray background and not the map image. The same code used without extjs works fine.

    how can i fix this?

    thanks a lot

  5. #25
    Sencha User talha06's Avatar
    Join Date
    Jul 2009
    Location
    Turkey
    Posts
    327
    Vote Rating
    1
      0  

    Default

    Hello to all,

    I want to learn how can I set map's center to client current location? It can be done with a config(useCurrentLocation) at Sencha Touch but it's not available at Ext JS 4.1. I tried to some events like beforerender that calculates current location of client, then I tried to create map, but it didn't work at all. Is there anyone who had done this before? I'll be happy if someone can guide me through to solution?

    Thanks in advance.
    "People will never forget how you made them feel."
    linkedin.com/in/talhakabakus

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •