Dale,

Does it have anything to do with the encoding of that data within your  
text file?



Sincerely,
Devin



On Nov 17, 2009, at 1:14 PM, Dale Potter <[email protected]> wrote:

>> Yes. There's no problem with that. Just use openInfoWindowHtml() when
>> you have the safe HTML, and openInfoWindow() if you ever display the
>> unsafe text that the user has entered.
>>
>
> This is precisely what is puzzling me - i am already using
> openInfoWindowHtml, yet the html is still not rendering!
>
> Here's the relevant code from what I can see, and I reiterate, I'm
> still very much a beginner to the api so it might be something mighty
> obvious?!!!
>
>      // == creates a "normal" marker
>      function createMarker(point,text) {
>        var marker = new GMarker(point);
>        GEvent.addListener(marker,"click", function() {
>          marker.openInfoWindowHtml(document.createTextNode(text));
>        });
>        map.addOverlay(marker);
>        return marker;
>      }
>
> Rest of the code at http://www.dalepotter.com/map.php
>
> All the best,
>
> Dale
>
> --
>
> 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= 
> .
>
>

--

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