It is based on the Martha's Vineyard mysteries books by Philip R. Craig, there are 22 books in total in the series. The movie was filmed in and around Victoria, British Columbia.
The waterfront scene with the blue building on the dock is filmed in Sidney, BC, a small town just north of Victoria, BC.