On May 26, 12:06 pm, "[email protected]"
<[email protected]> wrote:
> ok, I have uploaded my latest page, "icontype" may still not be
> defined, I am not very sure of how to define it as I cannot see the
> function: createMarker

No, you appear to have got rid of it. Unfortunately the previous
version of the page was better and far more easily fixed than the
current version.

Repetitive actions, like creating and adding a marker, should use a
function. This makes code far more efficient and maintainable. You do
need a createMarker function like Mike has here: 
http://econym.org.uk/gmap/basic1.htm

I suggest getting that working first with an ordinary marker icon, and
then changing the one line which will be necessary to use your custom
marker.

-- 
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=en.

Reply via email to