Max characters in a url for static map

633 views
Skip to first unread message

niepere

unread,
Apr 5, 2010, 7:38:48 AM4/5/10
to Google Maps JavaScript API v3
Hi guys
i need to print many marker to a static MAP (75,150,350,750,1500 or
more!).

(In a normal map i have a KML FILES and manage it wit GGeoXml()

Exist a limit for the characters passed in a url of static map?

http://maps.google.com/maps/api/staticmap?center=37.386052,-122.083851&zoom=13&markers=
[MY 750 OR 1500 MARKERS]

Many thanks.

Best regards.

niepere

unread,
Apr 7, 2010, 6:00:59 PM4/7/10
to Google Maps JavaScript API v3
Suggest? thanks..

On 5 Apr, 13:38, niepere <beds...@gmail.com> wrote:
> Hi guys
> i need to print many marker to a static MAP (75,150,350,750,1500 or
> more!).
>
> (In a normal map i have a KML FILES and manage it wit GGeoXml()
>
> Exist a limit for the characters passed in a url of static map?
>

> http://maps.google.com/maps/api/staticmap?center=37.386052,-122.08385...

Luke Mahé

unread,
Apr 7, 2010, 6:06:44 PM4/7/10
to google-map...@googlegroups.com
Hi,

The Static Map URLs are restricted to 2048 characters in size. In practice, you will probably not have need for URLs longer than this, unless you produce complicated maps with a high number of markers and paths. You can read more on the documentation - http://code.google.com/apis/maps/documentation/staticmaps/

- Luke


--
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 google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.


bratliff

unread,
Apr 8, 2010, 10:14:44 AM4/8/10
to Google Maps JavaScript API v3
On Apr 7, 10:00 pm, niepere <beds...@gmail.com> wrote:
> Suggest? thanks..

For several hundred markers, you will have to add a "skin" over your
static map. It means your user's device will have to be able to
support very basic CSS and/or JavaScript to have overlapping DIVs. It
has several advantages over the static map approach. Your markers can
be "clickable". You can change your "skin" without requesting another
static map which depletes the user's quota.

niepere

unread,
Apr 14, 2010, 9:34:19 AM4/14/10
to Google Maps JavaScript API v3
another solution with static map and NOT CSS and JAVASCRIPT Layer?

Thanks!

Reply all
Reply to author
Forward
0 new messages