Sha256: 19b8bec1c4df3407fb0f91f1e696def02a72e5784da37c3e88ee1c4ae6c7276e

Contents?: true

Size: 521 Bytes

Versions: 4

Compression:

Stored size: 521 Bytes

Contents

class @Gmaps4Rails.Google.Kml extends Gmaps4Rails.Common

  @include Gmaps4Rails.Interfaces.Basic

  @include Gmaps4Rails.Google.Shared
  @include Gmaps4Rails.Kml.Instance

 #creates a single polyline, triggered by create_polylines
  constructor : (kmlData, controller) ->
    @controller = controller

    @options = kmlData.options || {}
    @options = @mergeObjects(@options, @DEFAULT_CONF)
    kml =  new google.maps.KmlLayer( kmlData.url, @options)
    kml.setMap @controller.getMapObject()
    @serviceObject = kml

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
your_platform-1.0.1 vendor/assets/javascripts/gmaps4rails/google/objects/kml.coffee
your_platform-1.0.0 vendor/assets/javascripts/gmaps4rails/google/objects/kml.coffee
your_platform-0.0.2 vendor/assets/javascripts/gmaps4rails/google/objects/kml.coffee
gmaps4rails-2.0.0.pre vendor/assets/javascripts/gmaps4rails/google/objects/kml.coffee