CodeCanyon

Google Maps in Modal Window ! argghhhh

1851 posts
  • Has been a member for 1-2 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • Australia
SportTipsWorld says

This is now doing my head in.

Has anyone got a working version I could look at or some links ?

I have it nearly there ! But the full map isnt being rendered in the modal box

Presently calling static map, and hyperlinking off this into a modal box. With a Map canvas div , and it is nearly there but just not quite.

It seems to be a prevalent issue, and one guy who has this working is: Link here

I am using Soh Tanakas modal popup

But the bloody map isnt rendering correctly.

Any help appreciated, can even email you sample code thus far for you to see whats going on.

Demo of problem in Image below.

Regards

2 years ago
131 posts
  • Has been a member for 2-3 years
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a File in an Envato Bundle
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • Argentina
  • Referred between 200 and 499 users
aeroalquimia says

Have you tried doing something like this?

<div id="map_popup">
  <iframe src="http://maps.google.com/?output=embed&amp;f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=+paris+eiffel&amp;ie=UTF8&amp;hq=eiffel&amp;hnear=Paris,+Ile-de-France,+France&amp;ll=48.855708,2.300434&amp;spn=0.013243,0.042272&amp;z=15" id="IF_1283496117195" frameborder="0" style="width: 610px; height: 360px;"></iframe>
</div>

<a href="#?w=610" class="poplight" rel="map_popup">Open Map</a>

or you can use the evolution :bigevilgrin: :

:P :P

2 years ago
1851 posts
  • Has been a member for 1-2 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • Australia
SportTipsWorld says

I dont want to use iframes

:(

Thanks anyway… still tearing hair out lol

If you figure it out, I will buy evolution as it is very nice.

2 years ago
by
by
by
by
by