Hi guys, I am new to this and wa hoping in some little help, please.
I have a problem inserting my own icon on to the map. I have a series
of icons (such as hotel.png, restaurant.png and so on) located in a
folder inside the root of my website

All the in information is passed with an xml file created using php.
the file xml retrieves the icon name, ie hotel.png, form mysql
database correctly.

Still I cannot make it work inside my .js file. A read all there is to
read about it in the API, but still stucked here.

My .js work using a "side-bar" (using the element "li")  that opens
and closes windows on to the map when clicked.

I have the following function:

function initializePoint(pointData) {
var point = new GLatLng(pointData.latitude, pointData.longitude);
var marker = new Gmarker(point);
var listItem = doument.createElement('li');
var listItemLink = listItem.appendChild(document.createElement('a'));
...

I am not sure how to insert the GIcon into this code. Or maybe I am
completely wrong.
Apologies but I am new, please help.
Francesco




-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api?hl=en.

Reply via email to