Andrew

Thanks for spotting that - it was the backslashes - although also  
needed to change latlngs to points so docs seem to be wrong.

Regards
Mark

On Aug 29, 2008, at 11:44 PM, warden [Andrew Leach - Maps API Guru]  
wrote:

>
> On Aug 29, 10:43 pm, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
>>
>> in Firefox error console when viewing the page. I've tried setting  
>> the
>> ver param of the maps script to 2, and 2.s with no change in
>> behaviour. I notice that the encoded string param in the online docs
>> is latlngs and in the online examples points. Which is correct? I've
>> tried both with no difference...
>
> I reckon it's points, but if the docs say it's latlngs then that
> should work.
>
> What I do notice is that your literal string contains backslashes.
> They have a special meaning within literal strings and they need to be
> doubled. They don't need to be doubled in the online encoding tools
> because HTML textboxes behave differently to Javascript strings.
>
> It's possible that if you don't have enough backslashes, your points
> string won't match your levels string and the API will run out of
> points to plot.
>
> Andrew
> >


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