             @latitude
             @longitude
           ]
-          zoom: 13
+          zoom: options.zoom or 13
           mapTypeId: google.maps.MapTypeId.ROADMAP
           mapTypeControl: false
           mapTypeControlOptions:
             style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
 
           navigationControl: false
-          scrollwheel: true
+          scrollwheel: options.scrollwheel or true
           streetViewControl: false
           zoomControl: true
           zoomControlOptions:





  buttonToGetLocation: ->
    $('.btn-geocoder-address-for-map').click ->
      address = $('.input-address-search').val()
      Gmaps.getLocationFrom(address)
      return
    return


  inputToGetLocationOnKeyup: ->
    $('#address').keyup ->
      address = this.value
      if address.length > 5
        delay( ->
          Gmaps.getLocationFrom(address)
          return
        , 900)


        clearTimeout timer
        timer = setTimeout(callback, ms)
        return
    )()

    return



  @getAddressOfMarker: (map, marker) ->
    $(map).gmap3 getaddress:
      latLng: marker.getPosition()
      callback: (results) ->

        $map              = $(this).gmap3("get")
        infowindow        = $(this).gmap3(get: "infowindow")
        latLng            = results[0].geometry.location
        infowindowMessage = (if results and results[0] then "Endereço encontrado!" else "Endereço não encontrado")
        address           = (if results and results[0] then results and results[0].formatted_address else "no address")

        $("#address").val address

        if infowindow
          infowindow.open $map, marker
          infowindow.setContent infowindowMessage
        else
          $(map).gmap3 infowindow:
            anchor: marker
            options:
              content: infowindowMessage

        $map.panTo latLng

        return
    return



  @setInitialAttributes: (options) ->
    Gmaps.activeSearch() if options.activeSearch is true
    Gmaps.setCanvasSize(options.canvasSize.width, options.canvasSize.height) if options.canvasSize isnt undefined