Author Topic: Confused about Google maps integration  (Read 2679 times)

0 Members and 1 Guest are viewing this topic.

Offline mfunk

Confused about Google maps integration
« on: 29. May 2008, 15:09:32 »
Hello,

I'm a little confused about the google maps integration for SOBI2. Is it available for the free version as well, or would I have to buy it as an addon ?

Thanks,
Mfunk
Country: United Kingdom United Kingdom |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile


Offline neo

  • Sobi Team
  • Development
  • Sobi Hero
  • *
  • Posts: 8088
  • Reviews:

    What is it?

    • Sobi Team Member
Re: Confused about Google maps integration
« Reply #1 on: 29. May 2008, 15:12:55 »
The Google map in the details view is integrated in the standard version of SOBI2.
More info:
http://www.sigsiu.net/faq/how_to_use_google_maps.html
http://www.sigsiu.net/faq/what_is_the_difference_between_google_maps_and_way_search.html

The Geo Category Overview Module is a commercial add on. With this module, a Google Map with markers of the SOBI2 entries will be shown on each SOBI2 page. In the category views the shown entry markers are dependent on the entries in the categories.

Regards,
Neo
Support SobiPro - Submit a review on JED
If you want ongoing development for SobiPro and new applications being developed we need your review for SobiPro in the Joomla Extensions Directory.
Thank you very much :w00t:
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile 

Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Offline jacobcorral

Re: Confused about Google maps integration
« Reply #2 on: 19. June 2008, 19:18:27 »
I bought , but I can get Fetch coordinates when I wite the code in the custom field ( coordenadas) nothing happen and the custom field don save the text code with this script .

[size=10pt]
Why dont save the system the code?
[/size]



Code: [Select]
<script src="http://maps.google.com/maps?file=api&v=1&key=ABQIAAAA8DDCT3YTCsc_a8JlQF0SPhT8TSV_t77jnP3ga3wEN_3-KDT95hTdvil_z_Kgo2LKbVbWjpJF1yX6LQ" type="text/javascript"></script>
 
<div id="map" style="width: 400px; height: 300px"></div>
 
<script type="text/javascript">
    //<![CDATA[
 
    var start_latitude = "52.4777619318499";
    var start_longitude = "-1.89788818359375";
    var zoomlevel_add = 11;
    var zoomlevel_edit = 3;
 
    var map = new GMap(document.getElementById("map"));
    map.addControl(new GSmallMapControl());
 
  var latitude = document.getElementById('field_latitude').value;
  if (latitude == "")
    latitude = start_latitude;
  var longitude = document.getElementById('field_longitude').value;
  if (longitude == "")
    longitude = start_longitude;
  if (latitude == start_latitude)
     zoomlevel = zoomlevel_add;
  else
     zoomlevel = zoomlevel_edit;
 
    // center and zoom to the lat/long in the form
    map.centerAndZoom(new GPoint(longitude,latitude), zoomlevel);
 
    GEvent.addListener(map, 'click',
        function(overlay, point) {
            if (point) {
                document.getElementById('field_latitude').value = point.y;
                document.getElementById('field_longitude').value = point.x;
            }
        }
    );   
//]]>
</script>
« Last Edit: 20. June 2008, 07:12:02 by neo »
Country: Spain Spain |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline neo

  • Sobi Team
  • Development
  • Sobi Hero
  • *
  • Posts: 8088
  • Reviews:

    What is it?

    • Sobi Team Member
Re: Confused about Google maps integration
« Reply #3 on: 20. June 2008, 07:12:47 »
If You're looking for help:

4 - Provide Your Technical Information
It will make it easier to help you correctly if you include the following information:
  • Attach* the "System Check Logfile" to the report
    Go to the Admin Panel -> Tab "About" -> Menu Point "Perform System Check" -> Click on "Perform System Check" button -> Click on "Download System Check Log file". See also: Creating SysCheck Logfile
  • Used browser - if this is JavaScript/Ajax or HTML problem
  • Error messages from the browser- if this is JavaScript/Ajax or HTML problem. See e.g. Firefox Error console (each good browser has similar tool implemented)
  • Error messages from the server. If You don't know where to find it, read this please: http://www.sigsiu.net/faq/how_to_use_sobi2_debug_mode.html
  • A Link to Your page
*) How to attach an image/file
« Last Edit: 22. June 2008, 13:36:56 by Trinity »
Support SobiPro - Submit a review on JED
If you want ongoing development for SobiPro and new applications being developed we need your review for SobiPro in the Joomla Extensions Directory.
Thank you very much :w00t:
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile 

Offline jacobcorral

Re: Confused about Google maps integration
« Reply #4 on: 20. June 2008, 12:37:39 »
Thanks a lot.

I got it . I wrote the code in the field with your import/export pluging and editing with excel.

So I have another to big problem that it is to locate your SOBI2 Geo Category Overview in the template, I will look for in the forum.

Thanks a lot again.

Jacob
Country: Spain Spain |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Tags: