On 13 October 2010 10:18, Dhaunae <dhau...@inthenameofgoth.com> wrote:
> Thank you for your answer, Andrew.
> I don't quite understand what you are saying. I'm not getting any error
> saying PdMarker is not defined. I get the map without the marker, but no
> error displays onscreen.

It's in the Javascript error console in Firefox (on the Tools menu).
Because the script isn't loaded, PdMarker isn't defined, and it can't
be used to create a marker.

> Now, if the script is not in place, it would be interesting to know why it's
> not there (weird...) and what I could do to fix it, and I  haven't got a
> clue.

Presumably you have to put it there. Or, find your createMarker
function in your page, which starts like this
  function createMarker(point, title, html, tab2, s_icon, no_popup) {
    if(s_icon=="") {
      var marker = new PdMarker(point,icondef);
      } else {
      var marker = new PdMarker(point,{icon:s_icon,title:title});
    }
and change PdMarker( into GMarker(

I've no idea what you're using to create your site: all I can do is
say what's happening in the code as delivered to a browser.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to google-maps-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to