Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/components/Marker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { PropTypes as T } from 'react'

import { camelize } from '../lib/String'
const evtNames = ['click', 'mouseover', 'recenter'];
const evtNames = ['click', 'mouseover', 'recenter', 'dragend'];

const wrappedPromise = function() {
var wrappedPromise = {},
Expand Down Expand Up @@ -41,7 +41,7 @@ export class Marker extends React.Component {

renderMarker() {
let {
map, google, position, mapCenter, icon, label
map, google, position, mapCenter, icon, label, draggable
} = this.props;
if (!google) {
return null
Expand All @@ -56,7 +56,8 @@ export class Marker extends React.Component {
map: map,
position: position,
icon: icon,
label: label
label: label,
draggable: draggable
};
this.marker = new google.maps.Marker(pref);

Expand Down