Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Google Maps with Geocoding

 

 


Jeffncou
User

Jan 13, 2010, 12:18 PM

Post #1 of 19 (5374 views)
Shortcut
Google Maps with Geocoding Can't Post

I would like to include a map on a detail page.

Each detail page needs to include 1 unique map with the address taken from a postcode (zip code) submitted by the cms user.

Can anyone assist?

Thanks in advance


Dave
Staff / Moderator


Jan 13, 2010, 11:29 PM

Post #2 of 19 (5360 views)
Shortcut
Re: [Jeffncou] Google Maps with Geocoding [In reply to] Can't Post

Hi Jeff,

We're working on a geocoding plugin to make this easier but it's not quite ready yet. This plugin will allow distance searches and things like that.

The next best step (and often what is required anyways) is spending some time browsing the Google Maps API:
http://code.google.com/apis/maps/

The static maps API looks promising:
http://code.google.com/apis/maps/documentation/staticmaps/

After a few minutes of playing around I was able to display a map of our office location:
http://maps.google.com/maps/api/staticmap?size=512x512&markers=size:mid|color:red|2730+Commercial+Dr,Vancouver,BC&sensor=false



If you can just have the Viewers display the address in place of ours in the URL that might work for you.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com
 


Toledoh
Enthusiast

Mar 14, 2010, 9:18 PM

Post #3 of 19 (4967 views)
Shortcut
Re: [Dave] Google Maps with Geocoding [In reply to] Can't Post

Hi Dave,

Can you give us any more details on the timing and fucntionality in your upcoming plugin?
Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au


Maurice
User

Mar 15, 2010, 12:17 AM

Post #4 of 19 (4965 views)
Shortcut
Re: [Toledoh] Google Maps with Geocoding [In reply to] Can't Post

Hi Toledoh,

we did it here http://funon.sandbox.intraserve.biz/projecten/project/?Woning-IJburg-7

this is a test site and will be going live this week.

we added google maps and google street view and at some places 3D panorama views.

ill ask mij programmer to send the code or mail how we did it.

Greetz
Maurice-------------------------------------------
www.intraserve.nl

Soon! cmsBy.intraserve


Maurice
User

Mar 15, 2010, 12:24 AM

Post #5 of 19 (4963 views)
Shortcut
Re: [Toledoh] Google Maps with Geocoding [In reply to] Can't Post

hahahahaha thats funny

thought it would be complex but we did it clean and simple hahahahahha

we just made 2 section editors text boxes and get the link From Googlemaps and copy past it hahahahaha

we jused a lightbox to show the location looks need don't you think.

in a other site we are working on we id a geo locator for a iphone site. ill send you the info how to intergrate.

Greetz Mauirce
-------------------------------------------
www.intraserve.nl

Soon! cmsBy.intraserve


Toledoh
Enthusiast

Mar 15, 2010, 12:32 AM

Post #6 of 19 (4962 views)
Shortcut
Re: [Maurice] Google Maps with Geocoding [In reply to] Can't Post

Hi Maurice.

Yeah - the showing a location via Google Maps is fine - simple enough. And easy enough to automate from the property listing.

I'm wanting to display these results in relation to where the person is currently accessing the interent, and show other points of interest (train station, shops etc).

The client is a real estate agent. I want the people looking at one house for rent, to be able to see that there is another house for rent around the corner...
Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au


Maurice
User

Mar 15, 2010, 2:35 AM

Post #7 of 19 (4957 views)
Shortcut
Re: [Toledoh] Google Maps with Geocoding [In reply to] Can't Post

oke that can be easy 2 just use a store locator

http://codecanyon.net/item/ajax-store-locator/73155

for 10 bucs u can have all the fun hahahahaha.

hope it helped
-------------------------------------------
www.intraserve.nl

Soon! cmsBy.intraserve


Dave
Staff / Moderator


Mar 15, 2010, 9:49 AM

Post #8 of 19 (4945 views)
Shortcut
Re: [Toledoh] Google Maps with Geocoding [In reply to] Can't Post

Hi Tim,

If you still need the plugin email me and I can send you a beta.

Ours is more of a collection of geocoding functions that we use for building geocoding features. So there's so functionality for automatically setting latitude/longitude anytime it exists in the CMS, for doing range searches, etc.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com
 


Djulia
User

Mar 26, 2010, 12:36 AM

Post #9 of 19 (4793 views)
Shortcut
Re: [Dave] Google Maps with Geocoding [In reply to] Can't Post

Hi Dave,

Will your plugin be soon available ?
There will be particular fields?

I am very interested!

Thanks for your answer. :)

Djulia


Dave
Staff / Moderator


Mar 26, 2010, 1:05 AM

Post #10 of 19 (4791 views)
Shortcut
Re: [Djulia] Google Maps with Geocoding [In reply to] Can't Post

Hi Djulia,

I'll send you a copy, let me know any feedback over email.

Thanks! :)

Dave Edis - Senior Developer
interactivetools.com
 


aev
User

Mar 26, 2010, 2:54 AM

Post #11 of 19 (4784 views)
Shortcut
Re: [Dave] Google Maps with Geocoding [In reply to] Can't Post

Hi Dave,

can this plugin find the user location based on the browser IP, and then present a Google map with route description to a pre determined destination (our customer's location).

We are working on a site that could use this if possible.

-aev-


Dave
Staff / Moderator


Mar 26, 2010, 11:00 AM

Post #12 of 19 (4764 views)
Shortcut
Re: [aev] Google Maps with Geocoding [In reply to] Can't Post

Hi aev,

No, there's no way to get the users location automatically that is guaranteed to work across multiple browsers.

The simplest is to ask them to enter their zip/postal code and lookup based on that.

Newer browser do have a way to prompt the use for their location:
http://www.google.ca/search?q=browser+geolocation+api

And you can use web services to get a location based on ip (accuracy varies anywhere from neighborhood level to country level based on the IP)
http://www.google.ca/search?q=ip+to+location

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com
 


aev
User

Mar 26, 2010, 11:09 AM

Post #13 of 19 (4763 views)
Shortcut
Re: [Dave] Google Maps with Geocoding [In reply to] Can't Post


Quote
And you can use web services to get a location based on ip (accuracy varies anywhere from neighborhood level to country level based on the IP)
http://www.google.ca/search?q=ip+to+location


Can this be done without asking the user anything? Use the information if the browser supports these web services and just use a generic default if not, or maybe ask the user where they are..

Will your plugin support this? Built in?

-aev-


Dave
Staff / Moderator


Mar 26, 2010, 12:10 PM

Post #14 of 19 (4760 views)
Shortcut
Re: [aev] Google Maps with Geocoding [In reply to] Can't Post

No, we don't have any plans to support those. The problem is they're not reliable enough, yet.

But yes, IP to Location can be done without asking the user anything. That's how they geotarget advertising. You won't know how accurate it is though, you could get their neighborhood or their country.

Dave Edis - Senior Developer
interactivetools.com
 


zick
User

Sep 9, 2010, 8:50 PM

Post #15 of 19 (1964 views)
Shortcut
Re: [Dave] Google Maps with Geocoding [In reply to] Can't Post

Dave,
Any word when the geocoding plugin will be available? Once it's available would the CMS user be able to enter an address and generate a map automatically from goggle so it would appear on the web site for the page it was enter into?

I can certainly use this, so real estate agents can load maps to properly listing addresses instantly through CMS Builder.


Dave
Staff / Moderator


Sep 13, 2010, 2:55 PM

Post #16 of 19 (1940 views)
Shortcut
Re: [zickey] Google Maps with Geocoding [In reply to] Can't Post

Hi Zickey,

No ETA on this yet but we have a number of nearly finished plugins we need to release soon.

It doesn't show a map currently, it just lets them enter an address and it automatically geocodes it to lng/lat coordinates on save.

And it's not completely plug and play yet.. There's still a bit of code. But it does a lot of the work. We need some more demos and examples for it still.

Dave Edis - Senior Developer
interactivetools.com
 


InHouse
User

Sep 15, 2010, 11:37 AM

Post #17 of 19 (1928 views)
Shortcut
Re: [Toledoh] Google Maps with Geocoding [In reply to] Can't Post

I have a similar need to take a users' entered location and perform searches of locations stored in CMSB based on proximity. A Canadian postal code search would be ideal but if a geocoded address feature were available in the plug-in then that could be made to work.

Does anyone know if the plug-in under development would have such a function?

J.


Chris
Staff


Sep 15, 2010, 2:17 PM

Post #18 of 19 (1907 views)
Shortcut
Re: [InHouse] Google Maps with Geocoding [In reply to] Can't Post

Hi InHouse,

The geocoding plugin will take addresses (postal codes should work too) and turn them into (Lat,Lng) coordinates. That would be the first step in doing proximity searches.

A proximity search is basically accomplished by defining a "minimum bounding rectangle" of (Lat,Lng) coords around your centre point (to quickly cull very distant locations.) If the Earth were perfectly flat, this would be as simple as:

WHERE lat BETWEEN (<?php echo $record['lat'] - $dist ?> AND <?php echo $record['lat'] + $dist ?>) AND lng BETWEEN (<?php echo $record['lng'] - $dist ?> AND <?php echo $record['lng'] + $dist ?>)

For better precision, you'll need to adjust your longitude delta depending on the latitude (since 1° of lng decreases from 111km to 0km as you approach a pole.)

If you need to sort by distance and cull results which are farther than your max_dist (i.e. ones you caught with your rectangle but aren't in your circle,) you'll need to also use the Distance Formula (but for speed, skip the sqrt() part until you get your results back from MySQL.)

In short, it's somewhat complicated to do right. We may include examples with the plugin, and if not, we're available to help out through consulting, which should be quick because we've done this before. :)

I hope this helps!
Chris


InHouse
User

Sep 16, 2010, 8:13 AM

Post #19 of 19 (1887 views)
Shortcut
Re: [chris] Google Maps with Geocoding [In reply to] Can't Post

Thanks Chris. Your commentary took me back to my undergrad days working with GIS transformations.

Looking forward to the new widget!

J.