
MikeB
Staff
/ Moderator

Mar 4, 2008, 11:22 AM
Post #37 of 49
(19781 views)
Shortcut
|
|
Re: [Scotsman] Tutorial: Google Maps
[In reply to]
|
Can't Post
|
|
Hi Stewart, Thanks for the post! I've attached the _google_map2_delay.html file to my post here and I'll give you a bit of detail about this: Similar to the existing tutorial (http://www.interactivetools.com/products/realtymanager/tutorials/google_maps2.html) there are a few items that you'll need to change in this template to set everything up on your site. In the original tutorial, steps 2 and 3 should be the same and you'll just modify those couple of lines of code that are referenced (adding your own Google Map API key and setting up the center/zoom). Regarding point 4 (Template Cells - popup bubbles) the code here just looks a little bit different now. In each of your templatecells you should see two lines of code that you'll want to modify: addresses[count]="$lfield1$ $lfield3$ $lfield4$"; messages[count]="HTML CODE HERE"; The first line is the address field and you'll just need to pass the appropriate values that make up an address (number, street name, city, state/province, country, etc.) by using the "lfield" details from your admin program. The second line is the HTML code that will show up in the pop-up bubble with the details about your property. In your case because you had already filled out these details when you followed the original tutorial, you can just copy the HTML code and the address fields and paste them into this template. From there, the rest of the tutorial should work the same and you'll create the search query in an iframe the same way you did with the old template. I hope this helps Stewart and if you have any other questions or comments, just let me know! Cheers, Mike Briggs - Product Specialist support@interactivetools.com [hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url] Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]
|