Solved

Google Maps not displaying map

Posted on 2012-04-05
5
272 Views
Last Modified: 2012-04-06
Hello Experts!

I have a page that should be displaying a google map:

http://gorgeous-villas.com/search-results.asp?lng=7.00241&lat=43.64701&location=Valbonne

I copied the code from another page I was using for development, where the code works, but when I drop the code into this page, the map doesn't show...  I have made sure that the script code is in he header etc., so don't think there should be anything wrong, but there is...!

HELP greatly appreciated - thank you!
0
Comment
Question by:Nico2011
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:Anuradha Goli
ID: 37812420
Search valbonne in google maps
copy the iframe code to use in your website .
please find the attached image for reference.
Capture.PNG
0
 

Author Comment

by:Nico2011
ID: 37812533
Thanks, but the site is an active SQL DB driven site - this is simply a static example of the results from a search.

Here is the page that works, using a larger map, the same search etc.

http://gorgeous-villas.com/results.asp?lng=7.00241&lat=43.64701&location=Valbonne
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 250 total points
ID: 37814969
replace :
<div id="map_canvas"></div>

Open in new window

by :
<div id="map_canvas" style="height:120px"></div>

Open in new window


because currently the height of your div is 0px so you can't see the map
Clipboard02.jpg
0
 
LVL 12

Assisted Solution

by:Anuradha Goli
Anuradha Goli earned 250 total points
ID: 37815290
<div id="map_canvas" style="HEIGHT:150PX;position: relative; background-color: rgb(229, 227, 223); overflow-x: hidden; overflow-y: hidden; ">

TRY HEIGHT IN DIV MAP
0
 

Author Closing Comment

by:Nico2011
ID: 37815353
Thank you both - yo were both correct - I didn't have the 'px' after the size!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now