On Feb 14, 7:04 am, v2sms <[email protected]> wrote:
> Hi there. I can't figure out what am i doing wrong with configuring a
> URL with just 1 marker for my Google Map API for the location 46.78,
> 23.68. I'm getting the map but without the marker. I'm using J2ME on
> Sun Wireless ToolKit emulator CLDC 2.5.2.

Are you really writing a web browser? (That is, an application which
can accept an arbitrary URL from the user and display the result in
some usable form)
http://code.google.com/apis/maps/terms.html Paragraph 10.8

> "http://maps.google.com/staticmap?center="; + latitude + "," +
> longitude + "&format="
>                         + format + 
> "&markers=color:blue|label:R|46.78333333,23.68333333"
> +   "&zoom=" + zoom + "&size=" + width + "x" + height + "&sensor=true"
> + "&key=" + apiKey;

There's no way that anyone can see what's going wrong unless you
provide the URL you are *actually* using instead of the code by which
you create the URL. I take it you have analysed what that URL should
be and attempted to access it directly, just to eliminate any coding
errors; AND that you have consulted the documentation to ensure that
the format of your URL is correct? (It isn't, it's a mixture of
version 1 and version 2).

-- 
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