Closed (cannot reproduce)
Project:
GMapEZ
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2012 at 10:21 UTC
Updated:
29 Feb 2012 at 02:03 UTC
I'm trying to use multiple addresses for a map, I'm building it like this:
$str='<div class="GMapEZ" style="width: 300px; height: 300px;">';
foreach($lugares as $lugar){
if (strlen($lugar)>1)
{
$lugar=preg_replace('/\s/', '%20', $lugar);
$str.='<a href="http://maps.google.com/maps?q='.$lugar.',Santiago"></a>';
}
}
$str.='</div>';when it's only one address it works fine, but 2 or more and I get the GmapEZ logo, BTW it doesn't matter what address it is , I tried them in the google maps page one by one and they work fine, I'm also putting a png of the result I get in the attachment.
Hope someone can help me.
Regards
| Comment | File | Size | Author |
|---|---|---|---|
| gmapez issue.PNG | 11.85 KB | maynardo |
Comments
Comment #1
berenddeboer commentedCan you please put your output here instead of your code? So your entire gmapez div please.
Comment #2
maynardo commentedNope, sorry I can't anymore, Got tired of waiting and changed the flow of the app so my code would need only 2 maps instead seven and everything went well.
Anyways now I'm trying to append a couple of maps into an email, so far I haven't had any luck, Any advice on how would you append one to the body?
Best Regards
Comment #3
berenddeboer commentedTurn them into images, and send those.