Sha256: d2664a2223dd3acf003756884a6a5519361190f168b0f735cf65a8eb9ae5e37f

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

@Gmaps.Google.Objects.Common =

  getServiceObject: ->
    @serviceObject

  setMap: (map)->
    @getServiceObject().setMap map

  clear: ->
    @serviceObject.setMap(null)
    @serviceObject = null

  show: ->
    @serviceObject.setVisible(true)

  hide: ->
    @serviceObject.setVisible(false)

  isVisible: ->
    @serviceObject.getVisible()

  primitives: ->
    @constructor.PRIMITIVES

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gmaps4rails-2.0.3 vendor/assets/javascripts/gmaps/google/objects/common.coffee
gmaps4rails-2.0.2 vendor/assets/javascripts/gmaps/google/objects/common.coffee
gmaps4rails-2.0.1 vendor/assets/javascripts/gmaps/google/objects/common.coffee
gmaps4rails-2.0.0 vendor/assets/javascripts/gmaps/google/objects/common.coffee