apneadiving/Google-Maps-for-Rails — pull request #186 by denispeplin (2012-04-16 11:16:54+00:00)
Title: Add replaceMarkerSet function which replaces markers subset

Replacing one marker:

```$ ->
$('#replace_marker1').click ->
$.getJSON(
"/points/1.json",
(data) ->
Gmaps.map.replaceMarkerSet(data)
```

The subset of markers can be replaced exactly the same way, by submitting subset of markers via json.

Note: the issue #182 is not solved in this commit.