function createMap() {
            // Create the map object
            self._gMap = new google.maps.Map(document.querySelector(self.mapOptions.map), {
                center: self.currentLocation,
                zoom: self.getZoom() || self.mapOptions.zoom,
                mapTypeId: self.mapOptions.mapType,
                draggable: false
            });
            // Create the marker object
            self._marker = new google.maps.Marker({
                position: self.currentLocation,
                map: self._gMap,
                draggable: false
            });
            // Create the geocoder
            self._geocoder = new Geocoder();
            // Create circle around the marker
            addCircle();
            // Setup autocomplete binding
            setupAutocompleteListener();
            // Setup radius input listener
            registerRadiusInputListener();
        }
/**
         * Create the map, geocoder, marker and circle objects
         */
Create the map, geocoder, marker and circle objects
Create the map geocoder marker and circle objects
function createMap() {
            self._gMap = new google.maps.Map(document.querySelector(self.mapOptions.map), {
                center: self.currentLocation,
                zoom: self.getZoom() || self.mapOptions.zoom,
                mapTypeId: self.mapOptions.mapType,
                draggable: false
            });
            self._marker = new google.maps.Marker({
                position: self.currentLocation,
                map: self._gMap,
                draggable: false
            });
            self._geocoder = new Geocoder();
            addCircle();
            setupAutocompleteListener();
            registerRadiusInputListener();
        }
function createMap ( ) { self . _gMap = new google . maps . Map ( document . querySelector ( self . mapOptions . map ) , { center : self . currentLocation , zoom : self . getZoom ( ) || self . mapOptions . zoom , mapTypeId : self . mapOptions . mapType , draggable : false } ) ; self . _marker = new google . maps . Marker ( { position : self . currentLocation , map : self . _gMap , draggable : false } ) ; self . _geocoder = new Geocoder ( ) ; addCircle ( ) ; setupAutocompleteListener ( ) ; registerRadiusInputListener ( ) ; }
Create the map, geocoder, marker and circle objects
Create the map geocoder marker and circle objects
// Create the map object // Create the marker object // Create the geocoder // Create circle around the marker // Setup autocomplete binding // Setup radius input listener