similar to: API Google MAPS

Displaying 20 results from an estimated 400 matches similar to: "API Google MAPS"

2011 Feb 08
0
favorite pattern for adding functionality to an AR?
Do you have a preferred programming pattern for adding functionality to an ActiveRecord? As an example, say I have some gnarly trig functions for distance and bearing between pairs of latitude and longitude: === file: latlng.rb module LatLng def haversine_distance(lat1, lng1, lat2, lng2) ... end def bearing(lat1, lng1, lat2, lng2) ... end === EOF ... and I want to mix in
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
Revision: 30 Author: freyfogle Date: Sun Sep 20 06:26:44 2009 Log: jslint now passing for google and googlev3 http://code.google.com/p/mapstraction/source/detail?r=30 Modified: /trunk/build.xml /trunk/source/mxn.google.core.js /trunk/source/mxn.googlev3.core.js ======================================= --- /trunk/build.xml Sun Sep 20 06:13:41 2009 +++ /trunk/build.xml Sun Sep 20 06:26:44
2009 Sep 21
0
r34 committed - removed deprecated method draggable, all controls off when first creat...
Revision: 34 Author: freyfogle Date: Mon Sep 21 00:21:06 2009 Log: removed deprecated method draggable, all controls off when first creating the map, bit of work on adding controls, though still doesnt seem to be working correctly http://code.google.com/p/mapstraction/source/detail?r=34 Modified: /trunk/source/mxn.googlev3.core.js ======================================= ---
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
Author: duvander Date: Sun May 31 17:34:27 2009 New Revision: 12 Modified: trunk/source/mxn.cloudmade.core.js Log: Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays Modified: trunk/source/mxn.cloudmade.core.js ============================================================================== --- trunk/source/mxn.cloudmade.core.js (original) +++
2008 Mar 03
0
Routing through LatLng points and other stuff
Hi to all! Well, I''ve been trying to find a solution to route using known LatLng points - I already have the location position, all I needed was the actual route, so I''ve put together an addition to the "mapstraction-route.js". I''ve listed it below, so maybe it would not be a bad idea to merge it to the trunk... Also, I have a few other questions regarding
2018 Jan 19
1
Leaflet maps. Nudging co-incident markers
I have a dataset showing points, with a category for each point and its location. I simply want to display my points, in a way that users can toggle the points on and off by category. Where I have two objects in the same category I'd like to display them nudged to appear as two distinct, but very close points. I have made reproduceable example (the places are not real), which is loosely
2009 Feb 23
2
geokit - using :through to connect models
hello.. i am currently trying to use :through to attach two of my models together using geokit. for some reason, i am running into a problem: ArgumentError: Unknown key(s): as i have two models, one that is geocoded, and one that belongs to that model. the models look like: ,----[ employer.rb ] | class Employer < ActiveRecord::Base | acts_as_mappable | before_validation_on_create
2007 Nov 05
1
marker event listeners
I''d like to add an event listener for dragging markers, but it looks like YM4R GM (and Mapstraction) doesn''t support this. I need an init like: marker = new GMarker(... GEvent.addListener(marker, "dragend", function() { }) but the current setup makes "anonymous" markers - never creates variable that can be used to access them. Has anyone thought about
2010 May 10
1
Rails/mongrel/httpd issue - F13, rails 2.3.5
Hi, I have an issue with mongrel and rails. I add -B option(debug) to mongrel_rails in /etc/init.d/mongrel-rails but it didn't display more logs : http://ovirt.pastebin.com/N5v94cTu This is the page I get when I try to reach the ovirt web interface, I see the html tags (kerberos auth is working) : <html><body>You are being <a
2000 Mar 06
4
Microsoft Knowledge Base Q168821
I havent noticed this one mentioned on the list... http://support.microsoft.com/support/kb/articles/Q168/8/21.ASP?LNG=ENG&SA=AL&SA=AL >NOTE: The information contained in this article is provided for informational purposes only. Microsoft cannot >guarantee Microsoft Networking functions Server Message Block (SMB) will work as expected when servers >running SAMBA are present
2006 Aug 18
1
customization of ActiveRecord models
I''m trying to determine how/if I can use MySql''s spatial extensions with ActiveRecord. The spatial extensions usually require inserts in the following format: INSERT INTO `locations` (name, point) VALUES ("location name",GeomFromText(''POINT(<lng> <lat>'')); And reads as SELECT name, AsText(point) AS point FROM locations; While I
2006 Aug 03
6
evt_scrollwin_thumbtrack/GetPosition?
I am attempting to create a scrollable panel. This works fine for using the scroll arrows, as I am capturing the event and then incrementing the scroll pos by the desired amount. However, it is not working on thumbtracking. I capture the event successfully, but I am unable to capture the position of the thumb tracker. I have looked at the poor man''s doc and have been unable to figure
2006 Sep 12
1
Patch to wxMouseEvent.h
This patch just applies some const tags that were missing (does this affect anything at all?) and removes a definition that was causing a conflict. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2010 Apr 01
3
Using GIS data in R
I have a simple problem: I need to load a ERSI shapefile of US states and check whether or not a set of points are within the boundary of these states. I have the shapefile, I have the coordinates but I'm having a great deal of difficulty bringing the two together. The problem is the various GIS packages for R do not play well with each other. sp, shapefiles, maptools, etc all use different
2008 Jan 21
1
Mysql collations error
Hello, I am having this mysql error in my ruby on rails application. ActiveRecord::StatementInvalid occurred in > event#lg: > Mysql::Error: Illegal mix of collations > (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for > operation ''='': select * from locations where country = ''HU'' and > geo_state = ''08'' and city
2010 May 05
1
[PATCH server] Upgrade rails gem version for F13
From: root <root at ovirt.admin.virt.par.lng> Signed-off-by: Arthur Cl?ment <aclement at linagora.com> --- src/config/environment.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/config/environment.rb b/src/config/environment.rb index 9c1a9fa..ca6ed03 100644 --- a/src/config/environment.rb +++ b/src/config/environment.rb @@ -20,7 +20,7 @@ # Be sure
2012 Aug 03
1
Mock_model not recognizing act_as_mappable
I am using mock_model in my tests, and I encountered a situation where my stub is failing. Here''s the scenario: Controller: @locations = Location.al(:bounds=>bounds)l @locations.sort_by_distance_from([bounds.center.lat,bounds.center.lng]) Rspec: @location = mock_model(Location) Location.stub(:all).and_return([@location])
2014 Oct 16
2
RCharts+Leaflet+Shiny
Daniel, muchas gracias por contestar y tan rápido. Pues puede ser la solución, he hecho el cambio y sigue sin pintarme los puntos -> data_ <- toJSONArray(data_, json = F) map$geoJson( # leafletR::toGeoJSON(data_, # # lat.lon = c('Lat', 'Long'), # dest=output_geofile), data_, onEachFeature =
2018 May 06
2
How to log querystring values?
Dear Philipp, Thanks for you reply. My goal is to show in our analytics page segmented data (official apps, partner apps, third-party apps, demographic and geo). To do so each app pass some values in the query string (ie: app id, user id, lat, lng). And I need to know those values in order to do that. Today we are using nginx as a reverse proxy to Icecast to get those data but it
2008 Jul 06
1
GeoKit / Form Validation
I am new to rails and have been scouring the web for the past two days trying to figure out 2 things. 1) I am currently using a form with 2 models. The first is person, the second is address. I attempted to duplicate the two models on one form as seen in Advanced Rails Recipes and Railscasts, and they work fine - except when there are validation issues on the address piece it just returns saying