> This is the URL to the > map:http://www.houdstadsweidengroen.nl/maps/map_v3nw14.html
My browser reports a javascript error when I click the 'add marker' button, doesn't yours? Inside placeMarker(), it calls itself at placeMarker(event.latLng), but you haven't defined what 'event' is. I'm not sure what you are trying to do here ; why would you want the code that runs on a button click to call itself? Later, placeMarker() would go on to put a marker on the map ... but where is that to go? The user has just clicked the button. I think you'd want to move the marker create/place code inside the map-click listener. > And this is the code: No thanks. Anyone who wants to look can see your code at the link you gave, without it being reformatted by the group messaging. -- 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.
