lib/assets/javascripts/socmap_adf/modules/map/views/main.js.coffee in socmap_adf-0.0.1 vs lib/assets/javascripts/socmap_adf/modules/map/views/main.js.coffee in socmap_adf-0.0.2
- old
+ new
@@ -48,9 +48,12 @@
setCenter: (latLng) ->
@model.setCenter(latLng)
setZoom: (zoom) ->
@getGMap().setZoom(zoom)
+
+ setMapTypeId: (mapTypeId) ->
+ @model.setMapTypeId(mapTypeId)
setCenterWithOffset: (position, offsetx, offsety) ->
@model.setCenter(position)
zoomLevel = @model.getGMap().getZoom()
max = Math.pow(2,zoomLevel) * 256;
\ No newline at end of file