Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder: Plugins & Add-ons:
Passing coordinates automatically to geocoder

 

 


Illume Magazine
User

May 24, 2011, 1:04 PM

Post #1 of 4 (364 views)
Shortcut
Passing coordinates automatically to geocoder Can't Post

Hi,

I am getting ready to purchase geocoder plugin, but I wanted to know how to automatically pass the user coordinates, based on web browser, or more precisely on the mobile platform, directly into geocoder for results.

Many Thanks!


Jason
Staff / Moderator


May 25, 2011, 10:11 AM

Post #2 of 4 (350 views)
Shortcut
Re: [Illume Magazine] Passing coordinates automatically to geocoder [In reply to] Can't Post

Hi,

The main function of the geocoder plugin is to take addresses and turn them into latitude and longitude coordinates. Any maps that are created with the help of the geocoder are simply based on latitude and longitude coordinates stored in the database.

If you already have coordinates that you want to use you can do one of two things:

1) Save those coordinates to the appropriate record
2) Use those coordinates directly in the javascript that creates the map instead of outputting the coordinates from the database.

It's important to note that the geocoder itself doesn't generate the maps, but uses the google map API (version 3). For more information on their API, take a look here:
http://code.google.com/apis/maps/documentation/javascript/

Hope this helps
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/ 


Illume Magazine
User

May 26, 2011, 10:11 AM

Post #3 of 4 (342 views)
Shortcut
Re: [Jason] Passing coordinates automatically to geocoder [In reply to] Can't Post

Hello Jason,

Thanks for the quick reply. Do you know how i might be able to pull coordinates based on browser/ip location?

What I ideally want to do is... to guess the user's location and then suggest the nearest 10 listings showing with markers on the map...

Any ideas?


Jason
Staff / Moderator


May 26, 2011, 1:11 PM

Post #4 of 4 (339 views)
Shortcut
Re: [Illume Magazine] Passing coordinates automatically to geocoder [In reply to] Can't Post

Hi,

There are a number of different tools out there for getting coordinates based on ip addresses.

Try this google search:
http://www.google.ca/#hl=en&source=hp&q=get+coordinates+from+ip+address&oq=get+coordinates+from+ip&aq=1&aqi=g3g-j1g-m1&aql=&gs_sm=e&gs_upl=3504l9281l0l23l22l0l7l7l0l311l2981l2.4.8.1&bav=on.2,or.r_gc.r_pw.&fp=6ef50d66b38089c9&biw=1600&bih=685

Hope this helps
---------------------------------------------------
Jason Sauchuk - Programmer 
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/