Sha256: fa9515baf955acfa34e58d6550726ec71460a955ab8b66508bfcb092e661fbb7
Contents?: true
Size: 653 Bytes
Versions: 9
Compression:
Stored size: 653 Bytes
Contents
class @Gmaps.Google.Builders.Polyline extends Gmaps.Objects.BaseBuilder # args: # [ # { lat, lng} # ] # provider options: # https://developers.google.com/maps/documentation/javascript/reference?hl=fr#PolylineOptions constructor: (@args, @provider_options = {})-> @before_init() @serviceObject = @create_polyline() @after_init() create_polyline: -> new(@primitives().polyline)(@polyline_options()) polyline_options: -> base_options = path: @_build_path() _.defaults base_options, @provider_options _build_path: -> _.map @args, (arg)=> new(@primitives().latLng)(arg.lat, arg.lng)
Version data entries
9 entries across 9 versions & 1 rubygems