Sha256: 3bc8b532ec100729abf4aaf21e3a7709a20ac4ba43afa8031c67bbe6965e73b9

Contents?: true

Size: 455 Bytes

Versions: 1

Compression:

Stored size: 455 Bytes

Contents

Gmaps4Rails.Bing = {}

Gmaps4Rails.Bing.Shared = 

  createPoint: (lat, lng) ->
    new Microsoft.Maps.Point(lat, lng)

  createLatLng:(lat, lng) ->
    new Microsoft.Maps.Location(lat, lng)
  
  createLatLngBounds: ->

  createSize: (width, height) ->
    new google.maps.Size(width, height)

  _addToMap: (object)->
    @controller.getMapObject().entities.push(object)

  _removeFromMap: (object)->
    @controller.getMapObject().entities.remove(object)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gmaps4rails-2.0.0.pre vendor/assets/javascripts/gmaps4rails/bing/shared.coffee