Hi Arjan,

As you found, the Static Maps API is subject to restrictions in the
*browser* regarding URL length. This does limit the complexity of maps you
can generate.

See here:
http://code.google.com/apis/maps/documentation/staticmaps/#Limits
"Static Map URLs are restricted to 2048 characters in size."

If you need more complex maps I'd start looking at the V3 API:
http://code.google.com/apis/maps/documentation/javascript/

Read the basics:
http://code.google.com/apis/maps/documentation/javascript/basics.html

And go through the tutorial:
http://code.google.com/apis/maps/documentation/javascript/tutorial.html

... and then post back here when you get stuck!

Cheers
Chris

--
http://twitter.com/broady



On Sun, Aug 21, 2011 at 5:55 AM, Arjan <[email protected]> wrote:

> Hi!
>
> Yesterday, I found out that Google Static Maps allows me to construct
> a very basic map with a few lines on it. It was very convenient that I
> could get instant result. Today, I tried an example with 8 lines and
> my webbrowser gave an error: to long URL! It appeared that I had used
> too many characters. Reducing the representation of the numbers
> helped.
>
> --> question: where can I find the possibilities/features and
> limitations of static map production?
>
> --> next question: If I want to construct slightly more intricate maps
> than possible with static maps: where can I find examples to use as a
> first test to start my own application?
>
> Background: I just want to be able to enter a location and then add
> "sector plots": for a given radius add octants around it in
> transparent colours. Maybe add a simple legend.
>
> Thanks!
>
>
> Arjan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to