CopyPastor

Detecting plagiarism made easy.

Score: 0.8364192022823952; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2017-02-17
by amit 1984

Original Post

Original - Posted on 2010-12-22
by dsas



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Every time `placemarker()` is ran, it creates a new marker. You need to create the marker once outside of the placemarker function and after that, inside placemarker, use `marker.setPosition()`.
Every time `placemarker()` is ran, it creates a new marker.
You need to create the marker once outside of the placemarker function and after that, inside placemarker, use [`marker.setPosition()`](https://developers.google.com/maps/documentation/javascript/reference#Marker).

        
Present in both answers; Present only in the new answer; Present only in the old answer;