Register   Login
     
  Latest Posts  
RE: Lightbox not working on 2.04?
by wallacea on 12/02/2008 12:31 AM
RE: Lightbox not working on 2.04?
by smcculloch on 12/02/2008 12:20 AM
RE: Facebook-like Tagging People in Pictures...
by swebster on 12/02/2008 12:13 AM
Lightbox not working on 2.04?
by wallacea on 12/01/2008 11:45 PM
News Article css
by daviking on 12/01/2008 7:04 PM
RE: File Expiration Date
by jcochran on 12/01/2008 6:35 PM
RE: Set default value
by mariusm on 12/01/2008 6:29 PM
New Module - File Search
by jcochran on 12/01/2008 6:21 PM
RE: Display Name
by blob150 on 12/01/2008 3:07 PM
How to replicate the paging control at the top of the photos grid
by markjjordan on 12/01/2008 3:05 PM
  Forums  
Subject: Re: Geomapping in Property Agent
Prev Next
You are not authorized to post a reply.

Author Messages
usheenUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:48


9/11/2008 12:18 PM  

Scott,

That’s nearly exactly what I have already achieved with one difference.

I'm developing a site for an area in Ireland and unfortunately like some other countries Ireland hasn't got Zip or Postcodes for addresses. As a result, using the geocoding service of say Google or MSN could show a property or location kilometres from the real location.

To solve that problem my geomapping took the address fields of a listing in EditProperty.acsx and then redrew the map at the bottom of EditProperty.acsx using the nearest result that Google could generate.

This would populate the Lat and Long fields with those new coordinates. I achieved the map redraw using the focus out behaviour.

Then by moving the map icon on the map to the actual location (within a few metres), the Lat and Long fields would be updated with the exact coordinates of the new location of the marker.

The drawback that I have is that this is hard coded into the EditProperty.acsx file, and as I'm also using it for posting listings of cars for sale I haven’t found a method to hide the Map and associated scripts when they are not needed.

This throws up errors in browsers and also means I would have to recode the page after each update of PropertyAgent.

See attached screen shot of the map, lat and long fields.

So, back to what your working on. Will there be an option for a user posting a listing to be able to select the exact coordinates by moving the icon after the map is drawn ?

 

Usheen






Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


9/11/2008 3:13 PM  
It actually stores the lat/long not the address and allows you to move the mark after a lookup has been done.

I used the code from here.

Scott McCulloch
Site Administrator
usheenUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:48


9/11/2008 3:36 PM  

Scott,

Thats brillant. Looking forward to using it now.

Usheen

usheenUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:48


10/28/2008 8:15 PM  
Scott will the Geomap in Property Agent be included in the upcoming release of PA ?

Usheen
You are not authorized to post a reply.
Forums > Modules > Property Agent > Re: Geomapping in Property Agent



ActiveForums 3.7