[No Subject]

Objet:   [No Subject] (trouver plus)
De:    
Date:   Dec 07, 2005 19:48

Return-Path: <caché>
Received: by 10.54.133.5 with HTTP; Wed, 7 Dec 2005 10:48:30 -0800 (PST)
Message-ID: <caché>
Date: Wed, 7 Dec 2005 10:48:30 -0800
From: Dave Greenberg <caché>
Reply-To: "CiviCRM: General discussion around development" <caché>
Sender: caché
To: CiviCRM Developer Community <caché>
Subject: Re: [Crm-dev] Non-US Geocoding + Import of Coordinates
Errors-To: caché
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Delivery-Date: Wed, 07 Dec 2005 13:50:29 -0500
X-Forwarded-To: caché
X-Forwarded-For: caché caché
X-Gmail-Received: bc8c2945f77fb011e0081f809e0e04623a71ed8c
Delivered-To: caché
Received-SPF: neutral (gmail.com: 80.72.33.166 is neither permitted nor denied by best guess record for domain of caché)
DomainKey-Status: bad (test mode)
Old-Return-Path: <caché>
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
 h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
 b=OcpaC3c5xK0FJjG4KUx9PV5nX4YWH2i9g1Fj+VvoDdfz4G5S1lTl+JL+6JtSBO0BvNpE327kRseGRIRSbwNSGJ9z74EFs1DXeeSq/ucMWRTynyabr+NBm65lyPGhikNf9J1cZJyotZX6D9Kgj+c0xOD1/gTOM+ZFCXCp8N1TFaA=
Content-Disposition: inline
X-BeenThere: caché
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "CiviCRM: General discussion around development"
 <crm-dev.lists.objectledge.net>
List-Unsubscribe: <http://lists.objectledge.net/mailman/listinfo/crm-dev&gt;,
 <mailto:caché?subject=unsubscribe>
List-Archive: <http://lists.caltha.pl/pipermail/crm-dev>
List-Post: <mailto:caché>
List-Help: <mailto:caché?subject=help>
List-Subscribe: <http://lists.objectledge.net/mailman/listinfo/crm-dev&gt;,
 <mailto:caché?subject=subscribe>
Envelope-To: caché

V - Getting geo-code data for non-US addresses is not a 'solved
problem' (altho I think some others on this list have identified some
sources for certain countries).

At this time, we also don't support import of lat/long data thru our
UI. However, you could use our API's to add this data if you find a
source.

...dave

On 12/6/05, vrao <caché> wrote:
> or, is there a way to import a whole bunch of co-ordinates for a specific
> contact and generate a map with all the co-ordinates displayed?
>
> -v
>
> ----- Original Message -----
> From: "vrao" <caché>
> To: "CiviCRM: General discussion around development"
> <caché>
> Sent: Tuesday, December 06, 2005 3:43 AM
> Subject: Re: [Crm-dev] map issue
>
>
> > how do I deal with non u.s addresses? I can manually type the co-ordinates
> > but is there a way to get the co-ordinates from the address?
> >
> > will I need to configure my own table for that?
> >
> > Thanks,
> >
> > V
> >
> >
> >
> > ----- Original Message -----
> > From: "vrao" <caché>
> > To: "CiviCRM: General discussion around development"
> > <caché>
> > Sent: Monday, December 05, 2005 9:35 PM
> > Subject: Re: [Crm-dev] map issue
> >
> >
> >> Hi,
> >>
> >> Problem was that I had also installed drupal's gmap module. I disabled it
> >> and it started to work
> >>
> >> Thanks,
> >>
> >> V
> >>
> >>
> >> ----- Original Message -----
> >> From: "Dave Greenberg" <caché>
> >> To: "CiviCRM Developer Community" <caché>
> >> Sent: Monday, December 05, 2005 9:02 PM
> >> Subject: Re: [Crm-dev] map issue
> >>
> >>
> >>> Hi,
> >>> The fact that you're getting the warning on a contact w/o latitude and
> >>> longitude info doesn't necessarily mean your configuration is correct.
> >>>
> >>> When you 'view source' on the page where the map is supposed to be
> >>> displayed - you should see something like the code below. If not, it's
> >>> a configuration issue or possibly network issue ? - check your
> >>> CIVICRM_GOOGLE_MAP_API_KEY setting in modules/config.inc.php (or
> >>> civicrm.php).
> >>>
> >>> If you see similar script code - perhaps your browser has Jscript
> >>> disabled or ??
> >>> ...dave
> >>>
> >>> ---- view source snippet on 'map' page --
> >>> <script src="http://maps.google.com/maps?file=api&v=1&key=(your api
> >>> key here)" type="text/javascript"></script>
> >>>
> >>>  <script type="text/javascript">
> >>>    function onLoad() {
> >>>
> >>>      //<![CDATA[
> >>>      var map    = new GMap(document.getElementById("map"));
> >>>      var spec   = map.spec;
> >>>      var span   = new GSize(0,0);
> >>>      var center = new GPoint(-122.516,37.9242);
> >>>      var zoom   = spec.getLowestZoomLevel(center, span, map.viewSize);
> >>>
> >>>      map.addControl(new GLargeMapControl());
> >>>      map.addControl(new GMapTypeControl());
> >>>      map.centerAndZoom(center, zoom);
> >>>
> >>>      // Creates a marker whose info window displays the given number
> >>>      function createMarker(point, data) {
> >>>        var marker = new GMarker(point);
> >>>
> >>>        GEvent.addListener(marker, "click", function() {
> >>>          marker.openInfoWindowHtml(data);
> >>>        });
> >>>
> >>>        return marker;
> >>>      }
> >>>
> >>>         var point = new GPoint(-122.516,37.9242);
> >>>
> >>> var data = "<a
> >>> href=http://demo.openngo.org/civicrm/drupal-php5/civicrm/contact/view?reset=1&amp;cid=19&gt;Ms
> >>> Andrew D Adams Jr</a><br>Home<br>Corte Madera, CA, 94925, United
> >>> States";
> >>>
> >>>         var marker = createMarker(point, data);
> >>>         map.addOverlay(marker);
> >>>
> >>>     //]]>
> >>>   }
> >>>  </script>
> >>>
> >>> On 12/5/05, vrao <caché> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> clicking on 'map' or 'map this address' doesnt display the map. I just
> >>>> get a
> >>>> submit button that says 'done'. when I do a view source, all the
> >>>> javascript
> >>>> functions and <script src> seem to load correctly..
> >>>>
> >>>> If I try to map an user who doesnt have an address, I get " The
> >>>> location did
> >>>> not have any latitude / longitude information." which seems to suggest
> >>>> that
> >>>> the config should be right...
> >>>>
> >>>> has such an issue been reported before? if so, can you point me there?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> V
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> Crm-dev mailing list
> >>>> caché
> >>>> http://lists.objectledge.net/mailman/listinfo/crm-dev
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Best regards,
> >>> Dave Greenberg
> >>> CiviCRM Team
> >>> ---------------------
> >>> Try CiviCRM - http://www.openngo.org
> >>> _______________________________________________
> >>> Crm-dev mailing list
> >>> caché
> >>> http://lists.objectledge.net/mailman/listinfo/crm-dev
> >>>
> >>
> >>
> >> _______________________________________________
> >> Crm-dev mailing list
> >> caché
> >> http://lists.objectledge.net/mailman/listinfo/crm-dev
> >>
> >
> >
> > _______________________________________________
> > Crm-dev mailing list
> > caché
> > http://lists.objectledge.net/mailman/listinfo/crm-dev
> >
>
>
> _______________________________________________
> Crm-dev mailing list
> caché
> http://lists.objectledge.net/mailman/listinfo/crm-dev
>


--
Best regards,
Dave Greenberg
CiviCRM Team
---------------------
Try CiviCRM - http://www.openngo.org
_______________________________________________
Crm-dev mailing list
caché
http://lists.objectledge.net/mailman/listinfo/crm-dev

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.