Results 1 to 3 of 3

Thread: Creating a GMap style panable & zoomable component with a supplied SVG.

  1. #1
    Sencha User igaenssley's Avatar
    Join Date
    Dec 2007
    Location
    Atlanta, GA
    Posts
    25
    Vote Rating
    0
      0  

    Default Creating a GMap style panable & zoomable component with a supplied SVG.

    Greetings,

    I am needing to create a draggable, zoomable map that is viewed through an outer viewport, with being an SVG.

    I've been able to create an SVG world map taking the path data and plugging it into the draw components, and making that fit to the viewport.

    However, I seem to be at a loss on how to zoom or pan the map inside the container. I'll looked at the examples & docs, but am unable to come up with a solution. Setting drag/constrain/resizable seems to not have an effect.

    Is there a pattern for this, or does anyone know of any examples posted anywhere?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,390
    Answers
    716
    Vote Rating
    498
      0  

    Default

    Would this toolkit be of any help?
    http://geoext.org/index.html

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    May 2010
    Location
    Las Vegas, NV
    Posts
    134
    Answers
    7
    Vote Rating
    2
      0  

    Default

    The book Pragmatic Ajax has a whole chapter on rolling your own Google Maps. I am currently using their sample code to build a draggable inner/outer viewport similar to how they are doing it.

Tags for this Thread

Posting Permissions

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