[Google Maps API v2] Re: Example doesn't work locally - generating a kml layer at runtime
Hi Larry,
thank you for your answer and sorry for asking on the wrong place.
Actually, that's exactly my qestion. So in order to make this example
work I'd have to create a kml file first and save it to
http://kiechle.e8u.de/linkedService/markers.kml? What's the meaning of
parsing this json object then?
And that's exactly what I need to avoid. I'll be working "in the
cloud" (on google app engine) later, so I cannot generate a static url
to a kml file since my whole application is spread over the web. Hence
I'm searching for a possibility to generate a map with many markers
out of a json object or a string (containing the kml information).
Best wishes
Felix Kiechle
On Nov 26, 12:59 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:
> On Nov 26, 1:55 am, Andrew C Leach <andrew.le...@bcs.org> wrote:
>
> > On 26 November 2011 03:01, Felix Kiechle <felix.kiec...@googlemail.com> wrote:
>
> > > Hi,
>
> > > I'm trying to run the "Too Many Markers" Example by Miguel Ángel
> > > Vilela [1] on my server [2] but the kml layer won't work. I guess the
> > > problem is here [3] in the toggleKmlLayer() function.
>
> > It's a Version 3 map, so I suggest posting to the Version 3 Grouphttp://groups.google.com/group/google-maps-js-api-v3/
>
> > However, KmlLayer data must reside on a public server. It's in the
> > docs. I'm not convinced that you are creating a public URL to your
> > data.
>
> Or there is no file there or his server doesn't understand .kml files.
>
> http://kiechle.e8u.de/linkedService/markers.kml
>
> -- Larry
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home