Oh I finally see some markers from the test links Larry sent. Thanks a lot.
There must be something with the client code. I fixed the javascript but
and still: Not working. But I have hopes since the KML output is correct
now that we see that it can place markers on the others pages so I really
need to know what is wrong with my view???

I supposse I should put in debugging statements to the javascript which
will be very painful to debug one line at the time with alert statements.

If you have any idea then please let me know.

Thank you
Niklas

On Thu, Nov 10, 2011 at 3:19 PM, [email protected]
<[email protected]>wrote:

> On Nov 10, 7:06 am, Niklas Rosencrantz <[email protected]> wrote:
> > Thank you for the help. THing is it used to work without the icon tags
> so I
> > suspect it's something else.
>
> Maybe google changed their kml parser.
>
> It does seem to work now with google maps:
>
>
> http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=http:%2F%2Fwww.koolbusiness.com%2Flist.kml
>
> And in the api with both geoxml3 and KmlLayer:
>
> http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.html?filename=http://www.geocodezip.com/xmlproxy060215.asp?http:%2F%2Fwww.koolbusiness.com%2Flist.kml
>
> Perhaps you should investigate the javascript errors on your page:
> =============================================================
> Error: syntax error
> Source File: http://www.koolbusiness.com/static/js/home.js
> Line: 231
> Source Code:
> )
> =============================================================
> Error: initialize is not defined
> Source File: http://www.koolbusiness.com/
> Line: 1
> =============================================================
>
>  -- Larry
>
> > And I added the icon part and it still won't
> > work:
> >
> > <?xml version="1.0" encoding="UTF-8"?><kml xmlns="
> http://www.opengis.net/kml/2.2"; xmlns:gx="
> http://www.google.com/kml/ext/2.2";
> > xmlns:kml="http://www.opengis.net/kml/2.2"; xmlns:atom="
> http://www.w3.org/2005/Atom";><Document><Placemark><name></name><Style
> > id="blue">
> > <IconStyle>
> > <Icon>
> > <href>http://maps.gstatic.com/mapfiles/ms/icons/blue-dot.png</href>
> > </Icon>
> > </IconStyle>
> > </Style><description><![CDATA[<img src="
> http://lh5.ggpht.com/uGkZDiofn7J1qMTcnhNG--T7NmYddDrEiEYcLwRvXCvIy_dV..
> ."><a
> > href="http://www.koolbusiness.com/vi/4394184";> Samsung NP-N310
> > </a><br/>Samsung NP-N310 is a 15.6 inch laptop comes with attractive
> price
> > and outstanding features. Samsung NP-N310 featuring with Intel Atom
> >
> ...]]></description><styleUrl>#blue</styleUrl><Point><coordinates>77.58,12.98</coordinates></Point></Placemark><Placemark><name></name><Style
> > id="blue">
> > <IconStyle>
> > <Icon>
> > <href>http://maps.gstatic.com/mapfiles/ms/icons/blue-dot.png</href>
> > </Icon>
> > </IconStyle>
> > </Style><description><![CDATA[<img src="
> http://lh4.ggpht.com/fG6X2fXec7a98S-R6QDufwAfYtPOI_BTSwY-6QJQCrUGndeT..
> ."><a
> > href="http://www.koolbusiness.com/vi/4395183";> Part Time Job or Data
> Entry
> > Job or Work At Home </a><br/>Take the Franchisee of Amit Info Service at
> > free of cost &amp; easily earn Rs.40000+ Per Month &amp; get Hero
> >
> ...]]></description><styleUrl>#blue</styleUrl><Point><coordinates>77.22,28.67</coordinates></Point></Placemark>
> >
> >
> >
> >
> >
> >
> >
> > On Thu, Nov 10, 2011 at 1:41 PM, Pil <[email protected]> wrote:
> > > Now you have the same reference with the same id to one and the same
> > > icon many times. An id - as in HTML - should always be unique,
> > > otherwise its invalid.
> >
> > > If there is a style definition like
> >
> > > <Style id="blue">
> > > <IconStyle>
> > > <Icon>
> > > <href>http://whatever.com/bluedoth.png</href>
> > > </Icon>
> > > </IconStyle>
> > > </Style>
> >
> > > you can refer to this style like
> >
> > > <Placemark>
> > > <name>Whatever</name>
> > > <description><![CDATA[
> > > Whatever]]></description>
> >
> > > <styleUrl>#blue</styleUrl>
> > > <Point>
> > > <coordinates>-121.434599,37.740223</coordinates>
> > > </Point>
> > > </Placemark>
> >
> > > --
> > > 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.
>
> --
> 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.
>
>

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