search for: gpoint

Displaying 20 results from an estimated 22 matches for "gpoint".

Did you mean: point
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
...yId(element); - if (locDisp != null) { + if (locDisp !== null) { var map = this.maps[this.api]; GEvent.addListener(map, ''mousemove'', function (point) { var loc = point.lat().toFixed(4) + '' / '' + point.lng().toFixed(4); @@ -496,11 +498,10 @@ gpoints.push(this.points[i].toProprietary(''google'')); } if (this.closed || gpoints[0].equals(gpoints[length-1])) { - var gpoly = new GPolygon(gpoints, this.color, this.width, this.opacity, this.fillColor || "#5462E3", this.opacity || "0.3"); + return new...
2007 Mar 09
0
(no subject)
...n this error] map.addOverlay(new GMarker(new GLatLng (47.7377071331,-2.9257965088),{title : "aa... here is the generated script... <script type="text/javascript"> var icon_contact = addOptionsToIcon(new GIcon(),{image : "/images/ gm_contact.png",iconAnchor : new GPoint(10,34),shadow : "/images/ gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new GSize(37,34),iconSize : new GSize(20,34)}); var icon_reference = addOptionsToIcon(new GIcon(),{image : "/images/ gm_reference.png",iconAnchor : new GPoint(10,34),shadow : "/imag...
2007 Mar 09
0
Clusterer
...[@user.user_lat, @user.user_lng],zl) @map.overlay_init(@marker_myself) here is the generated script (with the line numbers) <script type="text/javascript"> 161 var icon_contact = addOptionsToIcon(new GIcon(),{image : "/images/ gm_contact.png",iconAnchor : new GPoint(10,34),shadow : "/images/ gm_shadow.png",infoWindowAnchor : new GPoint(9,2),shadowSize : new GSize(37,34),iconSize : new GSize(20,34)}); 162 var icon_reference = addOptionsToIcon(new GIcon(),{image : "/ images/gm_reference.png",iconAnchor : new GPoint(10,34),shadow : "/...
2006 Jan 07
4
GIS Image coordinates / markers?
Hey everyone, Is there Rails support for something like Google Maps, but using my own images/maps? Basically, I''d like to have my own maps/images, be able to drop markers on them, center on certain attributes etc. - Nic
2007 Mar 08
1
map not displayed after Ajax.updater request
...olid 2px grey; margin:1em auto; width:340px; height:340px;text-align;"> <script type="text/javascript"> var icon_contact = addOptionsToIcon(new GIcon(),{iconSize : new GSize (20,34),shadowSize : new GSize(37 ,34),image : "/images/gm_contact.png",iconAnchor : new GPoint (10,34),shadow : "/images/gm_shadow.png" ,infoWindowAnchor : new GPoint(9,2)}); .......... var map; window.onload = addCodeToFunction(window.onload,function() { if (GBrowserIsCompatible()) { map = new GMap2(document.getElementById("map_div")); map.setCenter(new GLatLng(47.75001...
2017 Apr 27
2
R-3.4.0 and recommended packages
...h KernSmooth: > library(KernSmooth) KernSmooth 2.23 loaded Copyright M. P. Wand 1997-2009 > > example(bkde) bkde> data(geyser, package="MASS") bkde> x <- geyser$duration bkde> est <- bkde(x, bandwidth=0.25) Error in linbin(x, gpoints, truncate) : object 'F_linbin' not found > Maybe this part of NEWS is what matters: * Packages which register native routines for .C or .Fortran need to be re-installed for this version (unless installed with R-devel SVN revision r72375 or later). KernSmooth surel...
2012 Aug 21
1
ncdf - writing variable to a file
...uot; in help Thanks for any help. Mark nc <- open.ncdf(ncname, readunlim=FALSE, write=TRUE ) missing <- 1.e+30 xdim <- nc$dim[["west_east"]] ydim <- nc$dim[["south_north"]] tdim <- nc$dim[["Time"]] lscalevar <- var.def.ncdf(scalenames[ivar], 'gpoints', list(xdim,ydim,tdim), missing ) nc <- var.add.ncdf( nc, lscalevar ) for( i in 1:nt) put.var.ncdf(nc,lscalevar,scale,verbose=TRUE ) #scale is an array dimensioned (nx,ny) [1] "Hint: make SURE the variable was not only defined with a call to def.var.ncdf, but also included in the l...
2008 Mar 04
0
question about updating the map
...in thing i want to update, here is what draws the markers text = "<strong>some text for the marker balloons</strong>" icon = GIcon.new(:image => "/images/tmp/#{site.id}.png", :icon_size => GSize.new((r*2),(r*2)), :icon_anchor => GPoint.new(r,r), :info_window_anchor => GPoint.new(r,r)) marker = GMarker.new([site.map_stat.lat.to_f , site.map_stat.long.to_f], :title => title, :icon => icon, :info_window => text) the #{site.id},png is the image drawn earlier by RMagick. That is the main thing...
2008 Mar 14
0
problem with rjs and marker group
...ite.site_name, (KeyWord.stat_description(site.status_sensor.last_value)[0])] # create the icon image ( the pivot circle ) icon = GIcon.new(:image => "/images/tmp/#{site.id}.png", :icon_size => GSize.new((r*2),(r*2)), :icon_anchor => GPoint.new(r,r), :info_window_anchor => GPoint.new(r,r)) # place the marker on the map marker = GMarker.new([site.map_stat.lat.to_f , site.map_stat.long.to_f], :title => title, :icon => icon, :info_window => text) _all_markers[i] = mark...
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+
2018 Nov 05
0
[PATCH 2/2] p2v: add a Shutdown action (RHBZ#1642044)
...rsion. --- p2v/gui.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/p2v/gui.c b/p2v/gui.c index 10fb2939a..7aea4afd5 100644 --- a/p2v/gui.c +++ b/p2v/gui.c @@ -1615,11 +1615,13 @@ static void activate_action (GSimpleAction *action, GVariant *parameter, gpointe #else static void shutdown_button_clicked (GtkToolButton *w, gpointer data); #endif +static void shutdown_clicked (GtkWidget *w, gpointer data); static void reboot_clicked (GtkWidget *w, gpointer data); static gboolean close_running_dialog (GtkWidget *w, GdkEvent *event, gpointer data); #i...
2018 Nov 06
0
[PATCH v2 2/2] p2v: add a Shutdown action (RHBZ#1642044)
...rsion. --- p2v/gui.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/p2v/gui.c b/p2v/gui.c index 10fb2939a..e78f1186c 100644 --- a/p2v/gui.c +++ b/p2v/gui.c @@ -1615,11 +1615,13 @@ static void activate_action (GSimpleAction *action, GVariant *parameter, gpointe #else static void shutdown_button_clicked (GtkToolButton *w, gpointer data); #endif +static void shutdown_clicked (GtkWidget *w, gpointer data); static void reboot_clicked (GtkWidget *w, gpointer data); static gboolean close_running_dialog (GtkWidget *w, GdkEvent *event, gpointer data); #i...
2017 Apr 27
0
R-3.4.0 and recommended packages
...t; > KernSmooth 2.23 loaded > Copyright M. P. Wand 1997-2009 > > > example(bkde) > > bkde> data(geyser, package="MASS") > > bkde> x <- geyser$duration > > bkde> est <- bkde(x, bandwidth=0.25) > Error in linbin(x, gpoints, truncate) : object 'F_linbin' not found > > > Maybe this part of NEWS is what matters: > > * Packages which register native routines for .C or .Fortran need > to be re-installed for this version (unless installed with > R-devel SVN revision r72375 o...
2017 Apr 27
2
R-3.4.0 and recommended packages
Am Dienstag, 25. April 2017, 11:21:31 schrieb Dirk Eddelbuettel: > On 25 April 2017 at 16:11, Johannes Ranke wrote: > | This looks similar to what I got this morning when I tested my > | (unreleased) > | backport of R 3.4.0 to Debian jessie. My test was > | > | library(MASS) > | example(rlm) > | > | and there was an object that was not found. I am on a train on the way
2007 Apr 05
0
4 commits - libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_stream.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec.c libswfdec/swfdec_codec_ffmpeg.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec.h libswfdec/swfdec_codec_mad.c
...ern const SwfdecAudioCodec swfdec_codec_ffmpeg_audio; +extern const SwfdecVideoCodec swfdec_codec_ffmpeg_video; #endif -extern const SwfdecVideoCodec swfdec_codec_gst_h263; +extern const SwfdecVideoCodec swfdec_codec_gst_video; /*** UNCOMPRESSED SOUND ***/ #define U8_FLAG (0x10000) static gpointer -swfdec_codec_uncompressed_init (gboolean width, SwfdecAudioOut format) +swfdec_codec_uncompressed_init (SwfdecAudioFormat type, gboolean width, SwfdecAudioOut format) { guint ret = format; if (!width) @@ -121,7 +119,7 @@ swfdec_codec_get_audio (SwfdecAudioForma case SWFDEC_AUDIO_FORM...
2018 Nov 06
3
[PATCH v2 0/2] p2v: add Shutdown option
This small series for p2v refactors the Reboot menu of the conversion dialog into something slightly more general, and add the possibility to shut the machine down. Lots of work to deal with old GTK versions ... Changes from v1: - fix shutdown command Pino Toscano (2): p2v: turn Reboot button into a Shutdown popup menu button p2v: add a Shutdown action (RHBZ#1642044) p2v/gui.c |
2017 Apr 27
3
R-3.4.0 and recommended packages
...th 2.23 loaded | > Copyright M. P. Wand 1997-2009 | > | > > example(bkde) | > | > bkde> data(geyser, package="MASS") | > | > bkde> x <- geyser$duration | > | > bkde> est <- bkde(x, bandwidth=0.25) | > Error in linbin(x, gpoints, truncate) : object 'F_linbin' not found | > | > | > Maybe this part of NEWS is what matters: | > | > * Packages which register native routines for .C or .Fortran need | > to be re-installed for this version (unless installed with | > R-devel SVN rev...
2018 Nov 05
4
[PATCH 0/2] p2v: add Shutdown option
This small series for p2v refactors the Reboot menu of the conversion dialog into something slightly more general, and add the possibility to shut the machine down. Lots of work to deal with old GTK versions ... Pino Toscano (2): p2v: turn Reboot button into a Shutdown popup menu button p2v: add a Shutdown action (RHBZ#1642044) p2v/gui.c | 119
2007 Aug 21
0
Branch 'vivi' - 15 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_types.h vivified/core vivified/ui
...ified/ui/main.c +++ b/vivified/ui/main.c @@ -25,7 +25,6 @@ #include <libswfdec-gtk/swfdec-gtk.h> #include "vivified/core/vivified-core.h" #include "vivified/dock/vivified-dock.h" -#include "vivi_commandline.h" static void try_grab_focus (GtkWidget *widget, gpointer unused) @@ -69,7 +68,8 @@ setup (const char *filename, const char vivi_application_set_variables (app, variables); builder = gtk_builder_new (); - if (!gtk_builder_add_from_file (builder, "vivi_player.xml", &error)) + if (!gtk_builder_add_from_file (builder, "vivi_pl...
2007 Apr 06
0
3 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_codec.c libswfdec/swfdec_codec_ffmpeg.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_codec_video.c
...decAudioFormat; -typedef enum { - SWFDEC_VIDEO_FORMAT_UNDEFINED = 0, - SWFDEC_VIDEO_FORMAT_H263 = 2, - SWFDEC_VIDEO_FORMAT_SCREEN = 3, - SWFDEC_VIDEO_FORMAT_VP6 = 4, - SWFDEC_VIDEO_FORMAT_VP6_ALPHA = 5, - SWFDEC_VIDEO_FORMAT_SCREEN2 = 6 -} SwfdecVideoFormat; - struct _SwfdecAudioCodec { gpointer (* init) (SwfdecAudioFormat type, gboolean width, @@ -56,29 +46,13 @@ struct _SwfdecAudioCodec { SwfdecBuffer * (* finish) (gpointer codec_data); }; -struct _SwfdecVideoCodec { - gpointer (* init) (SwfdecVideoFormat type); - gboolean (* get_size) (gpointer codec_data, -...