search for: map_typ

Displaying 20 results from an estimated 29 matches for "map_typ".

Did you mean: map_type
2007 Oct 16
3
can''t define custom GIcon
Hi, I am having trouble getting custom GIcons to display. Here is the code in my controller: @map = GMap.new("map_div") @map.control_init(:large_map => true,:map_type => true) @map.icon_global_init(GIcon.new(:image => "images/APBox-20.png "),"ap_none") infoString = "Friendly Name: "+result.friendly_name+ "<br/>MAC: "+result.mac.to_s+ "<br/><br/>...
2005 Nov 17
0
OggPCM2: channel map
...N_MONO:=1; #def MONO_FRONT:=1; #def MAP_STEREO:=2; #def N_STEREO:=2; #def STEREO_L:=1; #def STEREO_R:=2; #def MAP_UHJ:=3; #def N_UHJ:=4; #def UHJ_SIGMA:=1; #def UHJ_DELTA:=2; #def UHJ_T:=3; #def UHJ_Q:=4; header:= (n_chn:=3; // three channels are stored maps:= ( (map_type:=simple; // no matrix, the most preferred choice channel_type:=MAP_UHJ; // implies that the map has N_UHJ==4 entries map[UHJ_SIGMA]:=1; // SIGMA is stored in the first physical channel map[UHJ_DELTA]:=2; map[UHJ_T]:=3; map[UHJ_Q]:=0;), // th...
2006 Jul 25
1
Blank map?
...''m a little frustrated here. The controls for the Google Map show up, but the map itself seems to either never appear or to briefly flicker onto screen, then to disappear. My controller is simply this: @map = GMap.new("map_div") @map.control_init(:large_map => true, :map_type => true) @map.center_zoom_init([0, 0], 6) and my view is this: <head> <%= javascript_include_tag :defaults %> <%= GMap.header %> <%= @map.to_html %> </head> <body> <h2>Map should be below</h2> <%= @map.div %> </body> A...
2006 Aug 03
3
Calling/Executing javascript functions from controller
...licationController before_filter :login_required, :except => [:index, :initialize] def index @session[:mode] = ''view'' @map = GMap.new("map") render :update do |page| page.call("resizeMap") end @map.control_init(:large_map => true, :map_type => true) @map.center_zoom_init([38.539506, -121.757172],13) store_location end end This as expected does not work, it spits of the try{blah blah} catch stuff. Any help is greatly appreciated! Russ -- Posted via http://www.ruby-forum.com/.
2007 Jan 18
1
Clusterer generating javascript syntax error
Hi all, I''m using Ym4r with the Clusterer. The GMaps code in my controller looks something like this: # geo is an array of lon/lat points session[:gmap] = GMap.new(''map_div'') session[:gmap].control_init(:large_map => true,:map_type => true) session[:gmap].center_zoom_init([38.134557,-95.537109],4) markers = Array.new geodata.each do |geo| markers.push(GMarker.new([geo[''lon''], geo[''lat'']], :info_window => "Hello", :title => "HOYOYO"))...
2013 Aug 23
1
[PATCH] VMXNET3: Add support for virtual IOMMU
...vers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c index 55a62ca..7e2788c 100644 --- a/drivers/net/vmxnet3/vmxnet3_drv.c +++ b/drivers/net/vmxnet3/vmxnet3_drv.c @@ -313,10 +313,10 @@ vmxnet3_unmap_tx_buf(struct vmxnet3_tx_buf_info *tbi, struct pci_dev *pdev) { if (tbi->map_type == VMXNET3_MAP_SINGLE) - pci_unmap_single(pdev, tbi->dma_addr, tbi->len, + dma_unmap_single(&pdev->dev, tbi->dma_addr, tbi->len, PCI_DMA_TODEVICE); else if (tbi->map_type == VMXNET3_MAP_PAGE) - pci_unmap_page(pdev, tbi->dma_addr, tbi->len, + dma_unmap_page(&...
2013 Aug 23
1
[PATCH] VMXNET3: Add support for virtual IOMMU
...vers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c index 55a62ca..7e2788c 100644 --- a/drivers/net/vmxnet3/vmxnet3_drv.c +++ b/drivers/net/vmxnet3/vmxnet3_drv.c @@ -313,10 +313,10 @@ vmxnet3_unmap_tx_buf(struct vmxnet3_tx_buf_info *tbi, struct pci_dev *pdev) { if (tbi->map_type == VMXNET3_MAP_SINGLE) - pci_unmap_single(pdev, tbi->dma_addr, tbi->len, + dma_unmap_single(&pdev->dev, tbi->dma_addr, tbi->len, PCI_DMA_TODEVICE); else if (tbi->map_type == VMXNET3_MAP_PAGE) - pci_unmap_page(pdev, tbi->dma_addr, tbi->len, + dma_unmap_page(&...
2005 Nov 17
2
OggPCM2 : chunked vs interleaved data
Sampo Syreeni wrote: > Secondly, I'd like to see the channel map fleshed out in more detail. Sampo, I did flesh out the wiki a **little** more. Is the intent clearer now? > (Beware of the pet peeve...) What is that pet peeve? > IMO the mapping should cover at least the > channel assignments possible in WAVE files, the most common Ambisonic > ones, and perhaps some added
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...// TODO: Add provider code + var c = this.addControlsArgs; + switch (c.zoom) { + case ''large'': + this.addLargeControls(); + break; + case ''small'': + this.addSmallControls(); + break; + } + + if (c.map_type) { + this.addMapTypeControls(); + } + if (c.scale) { + map.addControl(new CM.ScaleControl()); + this.addControlsArgs.scale = true; + } }, addSmallControls: function() { var map = this.maps[this.api]; - // TODO: Add provid...
2009 Sep 21
0
r34 committed - removed deprecated method draggable, all controls off when first creat...
...var map = this.maps[this.api]; var myOptions = { + scrollwheel: false, navigationControl:true, navigationControlOptions: {style:google.maps.NavigationControlStyle.SMALL} }; @@ -85,12 +106,6 @@ this.addControlsArgs.map_type = true; }, - dragging: function(on) { - var map = this.maps[this.api]; - - // TODO: Add provider code - }, - setCenterAndZoom: function(point, zoom) { var map = this.maps[this.api]; var pt = point.toProprietary(this.api);
2007 Mar 04
0
Event listeners
...in an rjs file (called from a form.. whenc changing a location.. ) but I need to setup a first marker from my index action as I initialize the map I wrote def index @code_postal = "75018" @map = GMap.new("map_div") @map.control_init(:large_map => true,:map_type => true) @adresses = [] @adresses = lookup_geocodes(@code_postal << ", france") @adresses.each do |marker| @latitude = marker[:latitude] @longitude = marker[:longitude] @marker1 = GMarker.new([marker[:latitude],marker [:longitude]], :dragga...
2008 Jan 26
0
Error: no such file to load -- geokit (plugin is install)
...ntains: class GeokittestController < ApplicationController require ''geokit'' require ''ym4r_gm'' include ym4r_gm::GoogleMaps include GeoKit::Geocoders def index @map = GMap.new("map_div") @map.control_init(:large_map => true,:map_type => true) @map.center_zoom_init([75.5,-42.56],4) #@map.overlay_init(GMarker.new([75.6,-42.467],:title => "Hello", :info_window => "Info! Info!")) end 75.5,-42.56 should be the data for the map. In the next step I want to initiate a map. For this, so far I get...
2008 Mar 14
0
problem with rjs and marker group
...ilds a bunch of markers to go on a google map. I would like to update them with rjs. Here is what i have so far. def map_main_layout @zoom = params[:zoom].to_i @zoom = 14 if params[:zoom].nil? @map = GMap.new("map_div") # @map.control_init(:large_map => true, :map_type => true) # (inserts map control) # place the map where we want it ( center and zoom level ) @map.center_zoom_init([@group.group_map_stat.lat.to_f, @group.group_map_stat.long.to_f], @zoom) @map.set_map_type_init(GMapType::G_HYBRID_MAP) @sites = @group.sites @sites.e...
2006 Aug 03
0
N00b question...but here it goes
...Controller before_filter :login_required, :except => [:index, :initialize] def index @session[:mode] = ''view'' @map = GMap.new("map") render :update do |page| page.call("resizeMap") end @map.control_init(:large_map => true, :map_type => true) @map.center_zoom_init([38.539506, -121.757172],13) store_location end end This as expected does not work, it spits of the try{blah blah} catch stuff. Any help is greatly appreciated! Russ -- Posted via http://www.ruby-forum.com/.
2008 Aug 12
1
Please help: The process of am-utils map key lookup
...clear. For example, I'd like to access /home/dumbboy/files/deleteme, what is the key to be used, and how the lookup/match happens? and how the mount operations happens? Thanks a lot. I've attached my configuration files below: $ cat /etc/amd.conf ... auto_dir = /.amd_mnt ... map_type = file search_path = /etc ... [ /home ] map_name = amd.home ... $ cat /etc/amd.home /defaults type:=nfs;sublink:=${key};opts:=rw,intr,tcp,nfsvers=3,vers=3,nosuid,nodev,noresvport,rsize=16384,wsize=16384;fs:=${autodir}/${rhost}${rfs} dumbboy rhost:=home111;rfs:=...
2009 Oct 06
1
[PATCH 2.6.32-rc3] net: VMware virtual Ethernet NIC driver: vmxnet3
..."%s: rq error 0x%x\n", + adapter->netdev->name, + adapter->rqd_start->status.error); + } + + schedule_work(&adapter->work); + } +} + + +static void +vmxnet3_unmap_tx_buf(struct vmxnet3_tx_buf_info *tbi, + struct pci_dev *pdev) +{ + if (tbi->map_type == VMXNET3_MAP_SINGLE) + pci_unmap_single(pdev, tbi->dma_addr, tbi->len, + PCI_DMA_TODEVICE); + else if (tbi->map_type == VMXNET3_MAP_PAGE) + pci_unmap_page(pdev, tbi->dma_addr, tbi->len, + PCI_DMA_TODEVICE); + else + BUG_ON(tbi->map_type != VMXNET3_MAP_NONE); + +...
2009 Oct 06
1
[PATCH 2.6.32-rc3] net: VMware virtual Ethernet NIC driver: vmxnet3
..."%s: rq error 0x%x\n", + adapter->netdev->name, + adapter->rqd_start->status.error); + } + + schedule_work(&adapter->work); + } +} + + +static void +vmxnet3_unmap_tx_buf(struct vmxnet3_tx_buf_info *tbi, + struct pci_dev *pdev) +{ + if (tbi->map_type == VMXNET3_MAP_SINGLE) + pci_unmap_single(pdev, tbi->dma_addr, tbi->len, + PCI_DMA_TODEVICE); + else if (tbi->map_type == VMXNET3_MAP_PAGE) + pci_unmap_page(pdev, tbi->dma_addr, tbi->len, + PCI_DMA_TODEVICE); + else + BUG_ON(tbi->map_type != VMXNET3_MAP_NONE); + +...
2009 Oct 12
1
[PATCH 2.6.32-rc4] net: VMware virtual Ethernet NIC driver: vmxnet3
..."%s: rq error 0x%x\n", + adapter->netdev->name, + adapter->rqd_start->status.error); + } + + schedule_work(&adapter->work); + } +} + + +static void +vmxnet3_unmap_tx_buf(struct vmxnet3_tx_buf_info *tbi, + struct pci_dev *pdev) +{ + if (tbi->map_type == VMXNET3_MAP_SINGLE) + pci_unmap_single(pdev, tbi->dma_addr, tbi->len, + PCI_DMA_TODEVICE); + else if (tbi->map_type == VMXNET3_MAP_PAGE) + pci_unmap_page(pdev, tbi->dma_addr, tbi->len, + PCI_DMA_TODEVICE); + else + BUG_ON(tbi->map_type != VMXNET3_MAP_NONE); + +...
2009 Oct 12
1
[PATCH 2.6.32-rc4] net: VMware virtual Ethernet NIC driver: vmxnet3
..."%s: rq error 0x%x\n", + adapter->netdev->name, + adapter->rqd_start->status.error); + } + + schedule_work(&adapter->work); + } +} + + +static void +vmxnet3_unmap_tx_buf(struct vmxnet3_tx_buf_info *tbi, + struct pci_dev *pdev) +{ + if (tbi->map_type == VMXNET3_MAP_SINGLE) + pci_unmap_single(pdev, tbi->dma_addr, tbi->len, + PCI_DMA_TODEVICE); + else if (tbi->map_type == VMXNET3_MAP_PAGE) + pci_unmap_page(pdev, tbi->dma_addr, tbi->len, + PCI_DMA_TODEVICE); + else + BUG_ON(tbi->map_type != VMXNET3_MAP_NONE); + +...
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
...mapTypeControl: true, - mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DEFAULT}, + mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DEFAULT} }; map.setOptions(myOptions); this.addControlsArgs.map_type = true; @@ -150,7 +152,7 @@ setCenter: function(point, options) { var map = this.maps[this.api]; var pt = point.toProprietary(this.api); - if(options && options[''pan'']) { + if(options && options.pan) { // TODO: Add provider code } else {...