CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Openstreetmap
Pages: [1]

Author Topic: Openstreetmap  (Read 2536 times)

h4ck3rm1k3

  • Guest
Openstreetmap
May 03, 2010, 03:56:11 am
Hi all,
can you please tell me what i have to do to add in openstreetmap support?

CiviCRM has no obvious support for OSM as a map provider:
http://wiki.civicrm.org/confluence/display/CRMDOC/Mapping+and+Geocoding

please advise,

mike

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Openstreetmap
May 03, 2010, 07:10:12 am

hey mike:

1. check

templates/CRM/Contact/Form/Task/Map/

2. write the OpenStreetMap.tpl and modify: templates/CRM/Contact/Form/Task/Map.tpl

3. modify: CRM/Core/SelectValues.php, function &mapProvider() to add OSM

4. add CRM/Utils/GeoCode/OpenStreetMap.php to provide geocoding services

 lets chat on IRC: http://webchat.freenode.net/?channels=#civicrm if u need any help

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

omarbautistag

  • Guest
Re: Openstreetmap
September 20, 2010, 05:44:47 pm
Quote from: Donald Lobo on May 03, 2010, 07:10:12 am

hey mike:

1. check

templates/CRM/Contact/Form/Task/Map/

2. write the OpenStreetMap.tpl and modify: templates/CRM/Contact/Form/Task/Map.tpl

3. modify: CRM/Core/SelectValues.php, function &mapProvider() to add OSM

4. add CRM/Utils/GeoCode/OpenStreetMap.php to provide geocoding services

 lets chat on IRC: http://webchat.freenode.net/?channels=#civicrm if u need any help

lobo


Thanks Donald Lobo: Can you help me trying to use OSM with CiviCRM, also. I'm connected on the IRC channel now. But maybe it would be better to post the details of the solution here. I'm trying to solve the problem with your latest post, but I'm needing more details.

Regards,

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Openstreetmap

This forum was archived on 2017-11-26.