Results 1 to 2 of 2

Thread: Use custom fields latitude/longitude for Google Maps instead of from Geocodes table

  1. #1
    Thread Starter
    slimpickins's Avatar
    Join Date
    Jul 2010
    Posts
    33
    Thanks
    12
    Thanked 1 Time in 1 Post

    Use custom fields latitude/longitude for Google Maps instead of from Geocodes table

    howdy,

    maybe i am missing something or just going about it wrong but, if I understand correctly, the coordinates used for the google maps is pulled from the lat and lng values in the cp_ad_geocodes table correct? That would be all fine and dandy but i am attempting in pull in listing data from a xml file and am able to assign that to the standard fields and custom fields but, since those two values are in a different table, i am going to have to change things in one of two ways to make my maps work with listings created via xml:

    1) figure out how to save the latitude and longitude values into the separate table OR
    2) use custom fields for latitude and longitude and change the php wherever it has to be done to make the mapping use those custom fields values for lat and long instead of pulling from the the geocodes table....

    Any idears on this? Hopefully i am overlooking an easy alternative and there is a less complicated or messy way to solve this issue. All my xml location data saves fine, and displays in the listings, but the map is blank since, even after creating custom fields for lat and long and saving the data there, the map isnt getting the coordinates that "should" have been saved to the geocodes table.....

    Thanks! SP

  2. #2
    usa4sale's Avatar
    Join Date
    May 2012
    Location
    United States
    Posts
    103
    Thanks
    5
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Longitude and Latitude
    By shimabuku in forum Vantage General Discussion (Legacy)
    Replies: 2
    Last Post: December 1st, 2013, 02:39 AM
  2. Dimitris Longitude and Latitude
    By shimabuku in forum Help Using Vantage (Legacy)
    Replies: 2
    Last Post: November 25th, 2013, 06:45 AM
  3. Replies: 4
    Last Post: June 19th, 2013, 11:55 AM
  4. Mapping latitude and longitude, marker position is wrong, it geocodes nearest addess
    By surfcrf450 in forum ClassiPress General Discussion
    Replies: 0
    Last Post: March 27th, 2012, 09:53 AM