Web Tutorials

Interview Q & A

Code Examples

Utility Tools

OnClick Add Marker in Maps

In this example you will learn how to add a marker on a click in google map.

Here you can view the output of the example and you can also "try it yourself" by clicking on "Live Demo" button given at the bottom.

Syntax

OnClick Add Marker in Maps Example

Above example will produce following output