Irish SEO,  Marketing & Webmaster Discussion

 

Google Maps API

This is a discussion on Google Maps API within the Coding Help forums, part of the Webmaster Help category; Is there anyone in out there thats any good with the google maps api, im trying to replecate the top ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Coding Help

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-11-2007, 09:04 PM
ziycon's Avatar
Wannabe Geek
 
Join Date: Jan 2007
Location: Dublin
Posts: 410
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ziycon will become famous soon enough
Send a message via MSN to ziycon Send a message via Skype™ to ziycon
Default Google Maps API

Is there anyone in out there thats any good with the google maps api, im trying to replecate the top part of this page Google Maps Latitude, Longitude Popup, the Lat and Lon boxes that are populated once you click on the map! Been at it 4 days now and going round the bend!??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 15-11-2007, 01:31 AM
Hardcore Geek
 
Join Date: Nov 2006
Location: Navan, Meath
Posts: 566
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
davidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to alldavidbehan is a name known to all
Send a message via Skype™ to davidbehan
Default

Here's a function I use to do exactly this:

GEvent.addListener(map, 'click', function(overlay,point) {

map.clearOverlays();
var icon2 = new GIcon(baseIcon);
icon2.image = "../../_images/googlemap/icon-blue.png";
map.addOverlay(new GMarker(point, icon2));

var coordsForm = document.forms["form1"];
coordsForm["lstMapX"].value = point.x;
coordsForm["lstMapY"].value = point.y;

});
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 15-11-2007, 11:00 PM
ziycon's Avatar
Wannabe Geek
 
Join Date: Jan 2007
Location: Dublin
Posts: 410
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
ziycon will become famous soon enough
Send a message via MSN to ziycon Send a message via Skype™ to ziycon
Default

Got it sorted, thanks anyway.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
api, google, maps

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to Avoid the Google Sandbox Cormac Webmaster Articles 26 18-02-2008 05:38 AM
Google Maps - New "My Maps" Tool davidbehan Webmaster Discussion 3 01-05-2007 12:15 PM
Google maps Vs MSN figment Coding Help 6 17-01-2007 02:24 AM
Google Axes SOAP API daviddoran Webmaster Discussion 4 31-12-2006 05:30 PM
New Google Maps tool altyfc Webmaster Discussion 0 13-11-2006 11:13 PM


Sponsored links

Paid On Results


All times are GMT +1. The time now is 04:41 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0