2009/4/11 Rossko <[email protected]>

>
> > Understood... but I'm only trying to find a way to show static maps in
> > browser of celullar phones. So, in this way, does anybody know how
> > could I show static maps in microbrowsers?
>
> You put the static maps URL as the 'src' parameter in an <img> tag.


Yes, like this:

function addImg(url, id) {
 var img = document.createElement("img");
 img.src = url;
document.getElementById(id).innerHTML = "";
 document.getElementById(id).appendChild(img);
}

>
> You'd normally construct that server-side using php or asp or
> whatever, as the microbrowser probably can't run the maps API
> javascript client side.


That's what thought, but how? I know that is off-topic to discuss php or asp
ways to do it, but does Google Maps API have another way to obtain static
maps? What could I take as reference to the static map to do what you
recommended?

Thanks in advance!

Luiz


>
>
> cheers, Ross K
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to