On Nov 12, 8:50 pm, samith <[email protected]> wrote:
> I am currently working on a Google maps API project. Since I am a
> newbie to this, I don't understand how to do this.

Have you read this?
http://groups.google.com/group/google-maps-api/web/suggested-posting-guidelines

> I draw path on the
> map using Polyline encoder library and I save the points and levels
> parameters in the database. Next time I try to show the saved path  on
> the map, path is totally different and sometimes weird. I use the same
> parameter values when drawing the path like zoom level, opacity and
> numLevels. When I tried this without saving encoding points to the
> database, it shows the same path correctly. This happens only when I
> draw the path of a large area (thus long encoding string) and try to
> show it on the map after saving it to the database. The problem I
> think is with encoding string and levels string after retrieved from
> the database. Is there a way to get around this problem with
> Javasctipt or with server side language(I am using Ruby on Rails) ?
>
> Sorry for this lengthy question and Thanks in advance.

Hard to tell, but a guess would be that there are "\" characters in
the string that need to be encoded as "\\".

  -- Larry

--

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


Reply via email to