September 2015
Intermediate to advanced
268 pages
5h 35m
English
The fourth feature is about placing markers on the map for the selected addresses. To implement this feature, we will:
address model to hold the markerLet's get started by updating the address model. Open the MapsApplication module and locate the
AddressModel variable. Add an observable to this model to hold the marker:
/* generic model for address */
var AddressModel = function() {
this.marker = ko.observable(); this.location = ko.observable(); this.streetNumber = ko.observable(); this.streetName ...Read now
Unlock full access