Thanks Larry

I just tried geoxml3, but this js must read the kml from a file, I
need parse a string var. Are you able to do this ?. can you send me an
example?

Thank a lot.

On 29 abr, 18:33, "[email protected]" <[email protected]> wrote:
> On Apr 29, 8:19 am, Satan <[email protected]> wrote:
>
>
>
>
>
> > Hi,
>
> > is possible parse a kml in var string and show with javascript in a
> > google maps ?. I found a method in ge (google earth) to parse the kml,
> > but don't found in google Masp.
>
> > The GE's code is:
>
> > addKmlFromString(   '<?xml version="1.0" encoding="UTF-8"?>' +   '<kml
> > xmlns="http://www.opengis.net/kml/2.2";>' +   '  <Placemark>' +   '
> > <name>Test Placemark</name>' +   '    <Point>' +   '
> > <coordinates>' +   '        -122,37' +   '      </coordinates>' +
> > '    </Point>' +   '  </Placemark>' +   '</kml>');
>
> > var kmlObject = ge.parseKml(kmlString);
> > ge.getFeatures().appendChild(kmlObject);
>
> > I need the same to google Maps.
>
> I can use a modified version of geoxml3 to do that in the Google Maps
> Javascript API v3. Not sure if that helps you or not.
>
>   -- Larry
>
>
>
>
>
> > Thanks- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

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