createMarker(options = {}, addToMap = true) {
        return this._map.then((map) => {
            if (addToMap) {
                options.map = map;
            }
            return new google.maps.Marker(options);
        });
    }
/**
     * Creates a google map marker with the map context
     */
Creates a google map marker with the map context
Creates a google map marker with the map context
createMarker(options = {}, addToMap = true) {
        return this._map.then((map) => {
            if (addToMap) {
                options.map = map;
            }
            return new google.maps.Marker(options);
        });
    }
createMarker ( options = { } , addToMap = true ) { return this . _map . then ( ( map ) => { if ( addToMap ) { options . map = map ; } return new google . maps . Marker ( options ) ; } ) ; }
Creates a google map marker with the map context
Creates a google map marker with the map context