ukweb Posted September 10, 2009 Share Posted September 10, 2009 Hi all. I dont know whats going on, the Google API has crap support for embedded maps by address, they only seem to want to help you out if you know the longitude and latitude, which is really annoying. Basically, I have a page which displays the map by address and on its own works fine. The moment I use an iframe to display the map the marker appears in the top left of the iframe and not in the middle. For example, this is the page with the map on it: http://www.conwyrentals.com/map.html And as you can see it works fine, marker in the middle, works nicely. however this page has an iframe which displays the above link, but as you can see the marker is in the top left, I dont know why, and im getting seriously pissed off with it. http://www.conwyrentals.com/?file=property_detail&property_id=0da93c8904bb64cd086e4f1b4e62e938 (Click on location) WHY IS THIS DOING THIS?? anyone know of any decent tutorials for embedding a google map based on an address thats pulled from a database rather than co-ordinates?? Quote Link to comment https://forums.phpfreaks.com/topic/173807-google-maps-getting-really-pissed-off-here/ Share on other sites More sharing options...
sKunKbad Posted September 13, 2009 Share Posted September 13, 2009 map.setCenter() ? You are setting up your map a lot differently than I did for my store. Take a look and see what I did, and maybe it can help you. www.tv-sewingcenter.com/bigmap.php Quote Link to comment https://forums.phpfreaks.com/topic/173807-google-maps-getting-really-pissed-off-here/#findComment-917507 Share on other sites More sharing options...
cbolson Posted September 13, 2009 Share Posted September 13, 2009 Hi, Have you changed your code? I can't see the "location" link in that url that you posted Or are you refferring to the "our location" at the top? (I was looking for a property location map) Chris Quote Link to comment https://forums.phpfreaks.com/topic/173807-google-maps-getting-really-pissed-off-here/#findComment-917529 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.