Draw rectangle in google maps

Discussion in 'Google API' started by iswariak, Jun 6, 2010.

  1. #1
    Hi all,

    I want to draw a rectangle by clicking two diagonal points in the
    google maps.

    After user draws the rectangle, I should get the lat/long of top left
    and bottom right to query the database.

    thanks
    Iswaria
     
    iswariak, Jun 6, 2010 IP
  2. aeroz1

    aeroz1 Active Member

    Messages:
    492
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Make the CSS set the "position:absolute" and "left:-10000px" or somesuch, which we implemented in the "hide tab" css of our jQuery tabbing system.
     
    aeroz1, Jun 9, 2010 IP
  3. fabiosalvo

    fabiosalvo Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi everybody,

    I am trying to set up a real estate website where the user can search properties selecting the desired city and neighborhood. Now I need a database that automatically attributes to each long/lat coordinates of inserted properties the right Neighborhood name.
    Do you know where can I find this database for Italy?
    Thanks a lot in advance for your help (I am quite desperate...)

    Fabio
     
    fabiosalvo, Sep 1, 2010 IP